Class JTestType
A data type for a test administered by a person or organization.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JTestType : NcActivityType, IEquatable<NcActivityType>, IEquatable<JTestType>
Properties
Context
jTestType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JTestType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JTestType.ContextEnum> | jTestType JSON-LD context |
Method
A method used to test. NIEM reference is j:TestMethodText
Declaration
[DataMember(Name = "method")]
public List<NcTextType> Method { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A method used to test. NIEM reference is j:TestMethodText |
Narrative
An account as reported by an observer. NIEM reference is j:Narrative
Declaration
[DataMember(Name = "narrative")]
public List<NcCommentType> Narrative { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcCommentType> | An account as reported by an observer. NIEM reference is j:Narrative |
NextDate
A date of the next testing. NIEM reference is j:TestNextDate
Declaration
[DataMember(Name = "nextDate")]
public List<NcDateType> NextDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date of the next testing. NIEM reference is j:TestNextDate |
Recommendation
A recommendation that results from an analysis. NIEM reference is j:Recommendation
Declaration
[DataMember(Name = "recommendation")]
public List<NcCommentType> Recommendation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcCommentType> | A recommendation that results from an analysis. NIEM reference is j:Recommendation |
Result
A data type for a calculation or score of a test. NIEM reference is j:TestResult
Declaration
[DataMember(Name = "result")]
public List<JTestResultType> Result { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JTestResultType> | A data type for a calculation or score of a test. NIEM reference is j:TestResult |
Methods
Equals(JTestType)
Returns true if JTestType instances are equal
Declaration
public bool Equals(JTestType other)
Parameters
Type | Name | Description |
---|---|---|
JTestType | other | Instance of JTestType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(JTestType, JTestType)
Declaration
public static bool operator ==(JTestType left, JTestType right)
Parameters
Type | Name | Description |
---|---|---|
JTestType | left | |
JTestType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JTestType, JTestType)
Declaration
public static bool operator !=(JTestType left, JTestType right)
Parameters
Type | Name | Description |
---|---|---|
JTestType | left | |
JTestType | right |
Returns
Type | Description |
---|---|
System.Boolean |