Class JSentenceType
A data type for a punishment resulting from conviction of charges in a court case.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JSentenceType : NcActivityType, IEquatable<NcActivityType>, IEquatable<JSentenceType>
Properties
Charge
A specific charge in a court case resulting in a sentence. NIEM reference is j:SentenceCharge
Declaration
[DataMember(Name = "charge")]
public List<JChargeType> Charge { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JChargeType> | A specific charge in a court case resulting in a sentence. NIEM reference is j:SentenceCharge |
Condition
A description and duration of a sentence component. NIEM reference is j:SentenceCondition
Declaration
[DataMember(Name = "condition")]
public List<NcConditionType> Condition { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcConditionType> | A description and duration of a sentence component. NIEM reference is j:SentenceCondition |
ConfinementCreditDayQuantity
A total number of presentencing days served credited towards sentence term. NIEM reference is j:SentenceConfinementCreditDayQuantity
Declaration
[DataMember(Name = "confinementCreditDayQuantity")]
public List<NcQuantityType> ConfinementCreditDayQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcQuantityType> | A total number of presentencing days served credited towards sentence term. NIEM reference is j:SentenceConfinementCreditDayQuantity |
Context
jSentenceType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JSentenceType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JSentenceType.ContextEnum> | jSentenceType JSON-LD context |
CourtCostAmount
An amount of expenses of prosecuting the case that a convicted subject may be ordered to pay as reimbursement. NIEM reference is j:CourtCostAmount
Declaration
[DataMember(Name = "courtCostAmount")]
public List<NcAmountType> CourtCostAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcAmountType> | An amount of expenses of prosecuting the case that a convicted subject may be ordered to pay as reimbursement. NIEM reference is j:CourtCostAmount |
DeferredTerm
A deferred term. NIEM reference is j:SentenceDeferredTerm
Declaration
[DataMember(Name = "deferredTerm")]
public List<JTermType> DeferredTerm { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JTermType> | A deferred term. NIEM reference is j:SentenceDeferredTerm |
Description
A description of the sentence being imposed. NIEM reference is j:SentenceDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the sentence being imposed. NIEM reference is j:SentenceDescriptionText |
ExpirationDate
A date the sentence expires. NIEM reference is j:SentenceExpirationDate
Declaration
[DataMember(Name = "expirationDate")]
public List<NcDateType> ExpirationDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date the sentence expires. NIEM reference is j:SentenceExpirationDate |
Grouping
An order to how a sentence must be served. NIEM reference is j:SentenceGroupingText
Declaration
[DataMember(Name = "grouping")]
public List<NcTextType> Grouping { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | An order to how a sentence must be served. NIEM reference is j:SentenceGroupingText |
Imposed
A description of the sentence imposed. NIEM reference is j:SentenceImposedText
Declaration
[DataMember(Name = "imposed")]
public List<NcTextType> Imposed { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the sentence imposed. NIEM reference is j:SentenceImposedText |
IsAggravated
True if aggravating factors were considered during sentencing; false otherwise. NIEM reference is j:SentenceAggravatedIndicator
Declaration
[DataMember(Name = "isAggravated")]
public List<NiemXsboolean> IsAggravated { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if aggravating factors were considered during sentencing; false otherwise. NIEM reference is j:SentenceAggravatedIndicator |
IsConfinementCredit
True if any days served preceding the sentence will be applied to the sentence duration; false otherwise. NIEM reference is j:SentenceConfinementCreditIndicator
Declaration
[DataMember(Name = "isConfinementCredit")]
public List<NiemXsboolean> IsConfinementCredit { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if any days served preceding the sentence will be applied to the sentence duration; false otherwise. NIEM reference is j:SentenceConfinementCreditIndicator |
IsDeferred
True if the sentence has been deferred; false otherwise. NIEM reference is j:SentenceDeferredIndicator
Declaration
[DataMember(Name = "isDeferred")]
public List<NiemXsboolean> IsDeferred { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if the sentence has been deferred; false otherwise. NIEM reference is j:SentenceDeferredIndicator |
IsRegisterSexOffender
True if sex offender registration is required; false otherwise. NIEM reference is j:SentenceRegisterSexOffenderIndicator
Declaration
[DataMember(Name = "isRegisterSexOffender")]
public List<NiemXsboolean> IsRegisterSexOffender { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if sex offender registration is required; false otherwise. NIEM reference is j:SentenceRegisterSexOffenderIndicator |
IssuerEntity
An entity which issued a sentence. NIEM reference is j:SentenceIssuerEntity
Declaration
[DataMember(Name = "issuerEntity")]
public List<NcEntityType> IssuerEntity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | An entity which issued a sentence. NIEM reference is j:SentenceIssuerEntity |
IsSuspended
True if the sentence has been suspended; false otherwise. NIEM reference is j:SentenceSuspendedIndicator
Declaration
[DataMember(Name = "isSuspended")]
public List<NiemXsboolean> IsSuspended { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if the sentence has been suspended; false otherwise. NIEM reference is j:SentenceSuspendedIndicator |
Subject
A person who is being sentenced. NIEM reference is j:SentenceSubject
Declaration
[DataMember(Name = "subject")]
public List<JSubjectType> Subject { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JSubjectType> | A person who is being sentenced. NIEM reference is j:SentenceSubject |
SupervisionFineAmount
A pecuniary criminal punishment or penalty payable to the public treasury NIEM reference is j:SupervisionFineAmount
Declaration
[DataMember(Name = "supervisionFineAmount")]
public List<NcAmountType> SupervisionFineAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcAmountType> | A pecuniary criminal punishment or penalty payable to the public treasury NIEM reference is j:SupervisionFineAmount |
SuspendedTerm
A suspended term. NIEM reference is j:SentenceSuspendedTerm
Declaration
[DataMember(Name = "suspendedTerm")]
public List<JTermType> SuspendedTerm { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JTermType> | A suspended term. NIEM reference is j:SentenceSuspendedTerm |
Term
A duration of a sentence. Specified as either a specific term in days-months-years or as a minimum - maximum range. NIEM reference is j:SentenceTerm
Declaration
[DataMember(Name = "term")]
public List<JTermType> Term { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JTermType> | A duration of a sentence. Specified as either a specific term in days-months-years or as a minimum - maximum range. NIEM reference is j:SentenceTerm |
Methods
Equals(JSentenceType)
Returns true if JSentenceType instances are equal
Declaration
public bool Equals(JSentenceType other)
Parameters
Type | Name | Description |
---|---|---|
JSentenceType | other | Instance of JSentenceType 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(JSentenceType, JSentenceType)
Declaration
public static bool operator ==(JSentenceType left, JSentenceType right)
Parameters
Type | Name | Description |
---|---|---|
JSentenceType | left | |
JSentenceType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JSentenceType, JSentenceType)
Declaration
public static bool operator !=(JSentenceType left, JSentenceType right)
Parameters
Type | Name | Description |
---|---|---|
JSentenceType | left | |
JSentenceType | right |
Returns
Type | Description |
---|---|
System.Boolean |