Class JConvictionType
A data type for a judgement that a defendant is guilty.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JConvictionType : NcActivityType, IEquatable<NcActivityType>, IEquatable<JConvictionType>
Properties
Charge
A charge for which a person was convicted. NIEM reference is j:ConvictionCharge
Declaration
[DataMember(Name = "charge")]
public List<JChargeType> Charge { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JChargeType> | A charge for which a person was convicted. NIEM reference is j:ConvictionCharge |
ChargeCountQuantity
A total number of charges a person has been found guilty of with reference to charging document. NIEM reference is j:ConvictionChargeCountQuantity
Declaration
[DataMember(Name = "chargeCountQuantity")]
public List<NiemXsnonNegativeInteger> ChargeCountQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsnonNegativeInteger> | A total number of charges a person has been found guilty of with reference to charging document. NIEM reference is j:ConvictionChargeCountQuantity |
Context
jConvictionType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JConvictionType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JConvictionType.ContextEnum> | jConvictionType JSON-LD context |
Court
A court in which a conviction was issued. NIEM reference is j:ConvictionCourt
Declaration
[DataMember(Name = "court")]
public List<JCourtType> Court { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JCourtType> | A court in which a conviction was issued. NIEM reference is j:ConvictionCourt |
IsConvictedByJury
True if a conviction was delivered by a jury; false otherwise. NIEM reference is j:ConvictionConvictedByJuryIndicator
Declaration
[DataMember(Name = "isConvictedByJury")]
public List<NiemXsboolean> IsConvictedByJury { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a conviction was delivered by a jury; false otherwise. NIEM reference is j:ConvictionConvictedByJuryIndicator |
LocatorReferenceIdentification
A reference identification number for the organization that keeps the conviction records. NIEM reference is j:ConvictionLocatorReferenceIdentification
Declaration
[DataMember(Name = "locatorReferenceIdentification")]
public List<NcIdentificationType> LocatorReferenceIdentification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcIdentificationType> | A reference identification number for the organization that keeps the conviction records. NIEM reference is j:ConvictionLocatorReferenceIdentification |
Offense
An offense that a person has been found guilty of committing. NIEM reference is j:ConvictionOffense
Declaration
[DataMember(Name = "offense")]
public List<JOffenseType> Offense { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JOffenseType> | An offense that a person has been found guilty of committing. NIEM reference is j:ConvictionOffense |
Plea
A final plea a person offered in response to the charges filed. NIEM reference is j:ConvictionPlea
Declaration
[DataMember(Name = "plea")]
public List<JPleaType> Plea { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JPleaType> | A final plea a person offered in response to the charges filed. NIEM reference is j:ConvictionPlea |
Sanction
A penalty imposed upon a person having been found guilty of a crime. NIEM reference is j:ConvictionSanction
Declaration
[DataMember(Name = "sanction")]
public List<JSanctionType> Sanction { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JSanctionType> | A penalty imposed upon a person having been found guilty of a crime. NIEM reference is j:ConvictionSanction |
Sentence
A sentence imposed upon a person having been found guilty of a crime. NIEM reference is j:ConvictionSentence
Declaration
[DataMember(Name = "sentence")]
public List<JSentenceType> Sentence { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JSentenceType> | A sentence imposed upon a person having been found guilty of a crime. NIEM reference is j:ConvictionSentence |
StayedCountQuantity
A number of counts that were stayed. NIEM reference is j:ConvictionStayedCountQuantity
Declaration
[DataMember(Name = "stayedCountQuantity")]
public List<NcQuantityType> StayedCountQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcQuantityType> | A number of counts that were stayed. NIEM reference is j:ConvictionStayedCountQuantity |
Subject
A person who was found guilty of a crime. NIEM reference is j:ConvictionSubject
Declaration
[DataMember(Name = "subject")]
public List<JSubjectType> Subject { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JSubjectType> | A person who was found guilty of a crime. NIEM reference is j:ConvictionSubject |
Verdict
A guilty verdict of a judge or jury. NIEM reference is j:ConvictionVerdict
Declaration
[DataMember(Name = "verdict")]
public List<JVerdictType> Verdict { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JVerdictType> | A guilty verdict of a judge or jury. NIEM reference is j:ConvictionVerdict |
Methods
Equals(JConvictionType)
Returns true if JConvictionType instances are equal
Declaration
public bool Equals(JConvictionType other)
Parameters
Type | Name | Description |
---|---|---|
JConvictionType | other | Instance of JConvictionType 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(JConvictionType, JConvictionType)
Declaration
public static bool operator ==(JConvictionType left, JConvictionType right)
Parameters
Type | Name | Description |
---|---|---|
JConvictionType | left | |
JConvictionType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JConvictionType, JConvictionType)
Declaration
public static bool operator !=(JConvictionType left, JConvictionType right)
Parameters
Type | Name | Description |
---|---|---|
JConvictionType | left | |
JConvictionType | right |
Returns
Type | Description |
---|---|
System.Boolean |