Class JPleaType
A data type for an answer which a defendant in an action at law makes to charges.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JPleaType : NcActivityType, IEquatable<NcActivityType>, IEquatable<JPleaType>
Properties
CategoryCode
A kind of plea. NIEM reference is j:PleaCategoryCode
Declaration
[DataMember(Name = "categoryCode")]
public List<NcPleaCategoryCodeType> CategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPleaCategoryCodeType> | A kind of plea. NIEM reference is j:PleaCategoryCode |
Context
jPleaType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JPleaType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JPleaType.ContextEnum> | jPleaType JSON-LD context |
Description
A description of a plea. NIEM reference is j:PleaDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of a plea. NIEM reference is j:PleaDescriptionText |
IsGuilty
True if a person admits guilt in relation to a charge; false otherwise. NIEM reference is j:PleaGuiltyIndicator
Declaration
[DataMember(Name = "isGuilty")]
public List<NiemXsboolean> IsGuilty { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a person admits guilt in relation to a charge; false otherwise. NIEM reference is j:PleaGuiltyIndicator |
IsNegotiated
True if a plea is negotiated with the prosecution; false otherwise. NIEM reference is j:PleaNegotiatedIndicator
Declaration
[DataMember(Name = "isNegotiated")]
public List<NiemXsboolean> IsNegotiated { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a plea is negotiated with the prosecution; false otherwise. NIEM reference is j:PleaNegotiatedIndicator |
IsNoContest
True if a person is willing to accept the consequences of a charge without admitting guilt or innocence; false otherwise. NIEM reference is j:PleaNoContestIndicator
Declaration
[DataMember(Name = "isNoContest")]
public List<NiemXsboolean> IsNoContest { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a person is willing to accept the consequences of a charge without admitting guilt or innocence; false otherwise. NIEM reference is j:PleaNoContestIndicator |
Recommendation
A recommended plea agreement for violent, most serious, or armed offenses. NIEM reference is j:PleaRecommendationText
Declaration
[DataMember(Name = "recommendation")]
public List<NcTextType> Recommendation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A recommended plea agreement for violent, most serious, or armed offenses. NIEM reference is j:PleaRecommendationText |
Methods
Equals(JPleaType)
Returns true if JPleaType instances are equal
Declaration
public bool Equals(JPleaType other)
Parameters
Type | Name | Description |
---|---|---|
JPleaType | other | Instance of JPleaType 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(JPleaType, JPleaType)
Declaration
public static bool operator ==(JPleaType left, JPleaType right)
Parameters
Type | Name | Description |
---|---|---|
JPleaType | left | |
JPleaType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JPleaType, JPleaType)
Declaration
public static bool operator !=(JPleaType left, JPleaType right)
Parameters
Type | Name | Description |
---|---|---|
JPleaType | left | |
JPleaType | right |
Returns
Type | Description |
---|---|
System.Boolean |