Class JAssignmentType
A data type for a location and environment into which a person is placed, such as an office, dormitory, barracks, etc.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JAssignmentType : NcActivityType, IEquatable<NcActivityType>, IEquatable<JAssignmentType>
Properties
Context
jAssignmentType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JAssignmentType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JAssignmentType.ContextEnum> | jAssignmentType JSON-LD context |
IsSelfHarm
True if subject assignment was based in whole/part upon belief he/she was a hazard to self, includes suicidal; false otherwise. NIEM reference is j:SelfHarmIndicator
Declaration
[DataMember(Name = "isSelfHarm")]
public List<NiemXsboolean> IsSelfHarm { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if subject assignment was based in whole/part upon belief he/she was a hazard to self, includes suicidal; false otherwise. NIEM reference is j:SelfHarmIndicator |
LocationDetail
A specific location into which a person is placed, such as an office, dormitory, barracks, etc. NIEM reference is j:AssignmentLocationDetail
Declaration
[DataMember(Name = "locationDetail")]
public List<JAssignmentLocationDetailType> LocationDetail { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JAssignmentLocationDetailType> | A specific location into which a person is placed, such as an office, dormitory, barracks, etc. NIEM reference is j:AssignmentLocationDetail |
Reason
A reason for an assignment. NIEM reference is j:AssignmentReasonText
Declaration
[DataMember(Name = "reason")]
public List<NcTextType> Reason { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A reason for an assignment. NIEM reference is j:AssignmentReasonText |
Remark
An informal comment or observation. NIEM reference is j:Remark
Declaration
[DataMember(Name = "remark")]
public List<NcCommentType> Remark { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcCommentType> | An informal comment or observation. NIEM reference is j:Remark |
SecurityClassificationDescription
A description of a security classification given to a location and/or environment into which a subject is placed. NIEM reference is j:AssignmentSecurityClassificationDescriptionText
Declaration
[DataMember(Name = "securityClassificationDescription")]
public List<NcTextType> SecurityClassificationDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of a security classification given to a location and/or environment into which a subject is placed. NIEM reference is j:AssignmentSecurityClassificationDescriptionText |
Methods
Equals(JAssignmentType)
Returns true if JAssignmentType instances are equal
Declaration
public bool Equals(JAssignmentType other)
Parameters
Type | Name | Description |
---|---|---|
JAssignmentType | other | Instance of JAssignmentType 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(JAssignmentType, JAssignmentType)
Declaration
public static bool operator ==(JAssignmentType left, JAssignmentType right)
Parameters
Type | Name | Description |
---|---|---|
JAssignmentType | left | |
JAssignmentType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JAssignmentType, JAssignmentType)
Declaration
public static bool operator !=(JAssignmentType left, JAssignmentType right)
Parameters
Type | Name | Description |
---|---|---|
JAssignmentType | left | |
JAssignmentType | right |
Returns
Type | Description |
---|---|
System.Boolean |