Class JSubjectAssignmentType
A data type for an event or activity involving the assignment of a corrections subject.
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JSubjectAssignmentType : JAssignmentType, IEquatable<NcActivityType>, IEquatable<JAssignmentType>, IEquatable<JSubjectAssignmentType>
Properties
ApprovalDate
A date that a subject's placement was approved. NIEM reference is j:SubjectAssignmentApprovalDate
Declaration
[DataMember(Name = "approvalDate")]
public List<NcDateType> ApprovalDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date that a subject's placement was approved. NIEM reference is j:SubjectAssignmentApprovalDate |
Approver
A staff member who approves a subject's assignment. NIEM reference is j:SubjectAssignmentApprover
Declaration
[DataMember(Name = "approver")]
public List<NcEntityType> Approver { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | A staff member who approves a subject's assignment. NIEM reference is j:SubjectAssignmentApprover |
Category
A kind of assignment. NIEM reference is j:SubjectAssignmentCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of assignment. NIEM reference is j:SubjectAssignmentCategoryText |
CategoryCode
A kind of assignment. NIEM reference is j:SubjectAssignmentCategoryCode
Declaration
[DataMember(Name = "categoryCode")]
public List<NdexAssignmentCategoryCodeType> CategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexAssignmentCategoryCodeType> | A kind of assignment. NIEM reference is j:SubjectAssignmentCategoryCode |
Context
jSubjectAssignmentType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JSubjectAssignmentType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JSubjectAssignmentType.ContextEnum> | jSubjectAssignmentType JSON-LD context |
Document
A document detailing the assessment and assignment of a subject. NIEM reference is j:SubjectAssignmentDocument
Declaration
[DataMember(Name = "document")]
public List<NcDocumentType> Document { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDocumentType> | A document detailing the assessment and assignment of a subject. NIEM reference is j:SubjectAssignmentDocument |
ProgramViolation
A set of details describing activities and infractions of a subject in a program. NIEM reference is j:ProgramViolation
Declaration
[DataMember(Name = "programViolation")]
public List<JOffenseType> ProgramViolation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JOffenseType> | A set of details describing activities and infractions of a subject in a program. NIEM reference is j:ProgramViolation |
SegregationReason
A comment indicating the reason(s) for segregation assignment of a subject. NIEM reference is j:SubjectAssignmentSegregationReasonText
Declaration
[DataMember(Name = "segregationReason")]
public List<NcTextType> SegregationReason { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A comment indicating the reason(s) for segregation assignment of a subject. NIEM reference is j:SubjectAssignmentSegregationReasonText |
ServiceDeliveryProgram
A program that exists as part of a rehabilitation program and constitutes a significant scope of work most often defined as evidence-based, such as: Substance Abuse Training, Education, etc. NIEM reference is j:ServiceDeliveryProgram
Declaration
[DataMember(Name = "serviceDeliveryProgram")]
public List<NcProgramType> ServiceDeliveryProgram { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcProgramType> | A program that exists as part of a rehabilitation program and constitutes a significant scope of work most often defined as evidence-based, such as: Substance Abuse Training, Education, etc. NIEM reference is j:ServiceDeliveryProgram |
SingleCellApprovalReason
A comment indicating the reason for approving a subject's single cell assignment. NIEM reference is j:SubjectAssignmentSingleCellApprovalReasonText
Declaration
[DataMember(Name = "singleCellApprovalReason")]
public List<NcTextType> SingleCellApprovalReason { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A comment indicating the reason for approving a subject's single cell assignment. NIEM reference is j:SubjectAssignmentSingleCellApprovalReasonText |
SingleCellApprovalStatus
A comment regarding the current condition of the approval of a subject's single cell assignment. NIEM reference is j:SubjectAssignmentSingleCellApprovalStatusText
Declaration
[DataMember(Name = "singleCellApprovalStatus")]
public List<NcTextType> SingleCellApprovalStatus { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A comment regarding the current condition of the approval of a subject's single cell assignment. NIEM reference is j:SubjectAssignmentSingleCellApprovalStatusText |
SingleCellRequestsTemporaryStatus
A comment indicating a temporary status for a single cell request for a subject. NIEM reference is j:SubjectAssignmentSingleCellRequestsTemporaryStatusText
Declaration
[DataMember(Name = "singleCellRequestsTemporaryStatus")]
public List<NcTextType> SingleCellRequestsTemporaryStatus { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A comment indicating a temporary status for a single cell request for a subject. NIEM reference is j:SubjectAssignmentSingleCellRequestsTemporaryStatusText |
Methods
Equals(JSubjectAssignmentType)
Returns true if JSubjectAssignmentType instances are equal
Declaration
public bool Equals(JSubjectAssignmentType other)
Parameters
Type | Name | Description |
---|---|---|
JSubjectAssignmentType | other | Instance of JSubjectAssignmentType 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(JSubjectAssignmentType, JSubjectAssignmentType)
Declaration
public static bool operator ==(JSubjectAssignmentType left, JSubjectAssignmentType right)
Parameters
Type | Name | Description |
---|---|---|
JSubjectAssignmentType | left | |
JSubjectAssignmentType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JSubjectAssignmentType, JSubjectAssignmentType)
Declaration
public static bool operator !=(JSubjectAssignmentType left, JSubjectAssignmentType right)
Parameters
Type | Name | Description |
---|---|---|
JSubjectAssignmentType | left | |
JSubjectAssignmentType | right |
Returns
Type | Description |
---|---|
System.Boolean |