Class JCaseOfficialType
A data type for an official's involvement in a case.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JCaseOfficialType : JJudicialOfficialType, IEquatable<JJudicialOfficialType>, IEquatable<JCaseOfficialType>
Properties
CaseIdentification
A unique identification a justice official uses to identify a case. NIEM reference is j:CaseOfficialCaseIdentification
Declaration
[DataMember(Name = "caseIdentification")]
public List<NcIdentificationType> CaseIdentification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcIdentificationType> | A unique identification a justice official uses to identify a case. NIEM reference is j:CaseOfficialCaseIdentification |
CaseStatus
A status of a justice official's case. NIEM reference is j:CaseOfficialCaseStatusText
Declaration
[DataMember(Name = "caseStatus")]
public List<NcTextType> CaseStatus { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A status of a justice official's case. NIEM reference is j:CaseOfficialCaseStatusText |
Context
jCaseOfficialType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JCaseOfficialType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JCaseOfficialType.ContextEnum> | jCaseOfficialType JSON-LD context |
EndDate
A date a justice official left a case or a date a case ended. NIEM reference is j:CaseOfficialEndDate
Declaration
[DataMember(Name = "endDate")]
public List<NcDateType> EndDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date a justice official left a case or a date a case ended. NIEM reference is j:CaseOfficialEndDate |
IsTermination
True if a justice official left a case before its conclusion, either by choice or for official reasons; false otherwise. NIEM reference is j:CaseOfficialTerminationIndicator
Declaration
[DataMember(Name = "isTermination")]
public List<NiemXsboolean> IsTermination { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a justice official left a case before its conclusion, either by choice or for official reasons; false otherwise. NIEM reference is j:CaseOfficialTerminationIndicator |
Role
A role a justice official played in a court case. NIEM reference is j:CaseOfficialRoleText
Declaration
[DataMember(Name = "role")]
public List<NcTextType> Role { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A role a justice official played in a court case. NIEM reference is j:CaseOfficialRoleText |
RoleDescription
A description of the role a justice official played in a court case. NIEM reference is j:CaseOfficialRoleDescriptionText
Declaration
[DataMember(Name = "roleDescription")]
public List<NcTextType> RoleDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the role a justice official played in a court case. NIEM reference is j:CaseOfficialRoleDescriptionText |
StartDate
A date a justice official became involved in a case. NIEM reference is j:CaseOfficialStartDate
Declaration
[DataMember(Name = "startDate")]
public List<NcDateType> StartDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date a justice official became involved in a case. NIEM reference is j:CaseOfficialStartDate |
TerminationReason
A reason a justice official left a case before its conclusion. NIEM reference is j:CaseOfficialTerminationReasonText
Declaration
[DataMember(Name = "terminationReason")]
public List<NcTextType> TerminationReason { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A reason a justice official left a case before its conclusion. NIEM reference is j:CaseOfficialTerminationReasonText |
Methods
Equals(JCaseOfficialType)
Returns true if JCaseOfficialType instances are equal
Declaration
public bool Equals(JCaseOfficialType other)
Parameters
Type | Name | Description |
---|---|---|
JCaseOfficialType | other | Instance of JCaseOfficialType 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(JCaseOfficialType, JCaseOfficialType)
Declaration
public static bool operator ==(JCaseOfficialType left, JCaseOfficialType right)
Parameters
Type | Name | Description |
---|---|---|
JCaseOfficialType | left | |
JCaseOfficialType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JCaseOfficialType, JCaseOfficialType)
Declaration
public static bool operator !=(JCaseOfficialType left, JCaseOfficialType right)
Parameters
Type | Name | Description |
---|---|---|
JCaseOfficialType | left | |
JCaseOfficialType | right |
Returns
Type | Description |
---|---|
System.Boolean |