Class JIncidentFactorType
A data type for a factor involved that has an effect on an incident.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JIncidentFactorType : IEquatable<JIncidentFactorType>
Properties
Code
A circumstance of factor in an incident. NIEM reference is j:IncidentFactorCode
Declaration
[DataMember(Name = "code")]
public List<UcrIncidentFactorCodeType> Code { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrIncidentFactorCodeType> | A circumstance of factor in an incident. NIEM reference is j:IncidentFactorCode |
Context
jIncidentFactorType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JIncidentFactorType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JIncidentFactorType.ContextEnum> | jIncidentFactorType JSON-LD context |
Description
A description of a circumstance or factor involved in an incident. NIEM reference is j:IncidentFactorDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of a circumstance or factor involved in an incident. NIEM reference is j:IncidentFactorDescriptionText |
IsKnown
True if a factor in an incident is known to be true; false if it is suspected, estimated, or otherwise. NIEM reference is j:IncidentFactorKnownIndicator
Declaration
[DataMember(Name = "isKnown")]
public List<NiemXsboolean> IsKnown { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a factor in an incident is known to be true; false if it is suspected, estimated, or otherwise. NIEM reference is j:IncidentFactorKnownIndicator |
NibrsAggravatedAssaultHomicideCode
A circumstance of factor in an incident. NIEM reference is j:IncidentFactorNIBRSAggravatedAssaultHomicideCode
Declaration
[DataMember(Name = "nibrsAggravatedAssaultHomicideCode")]
public List<UcrAggravatedAssaultHomicideFactorsCodeType> NibrsAggravatedAssaultHomicideCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrAggravatedAssaultHomicideFactorsCodeType> | A circumstance of factor in an incident. NIEM reference is j:IncidentFactorNIBRSAggravatedAssaultHomicideCode |
NibrsBiasMotivationCode
A circumstance of factor in an incident. NIEM reference is j:IncidentFactorNIBRSBiasMotivationCode
Declaration
[DataMember(Name = "nibrsBiasMotivationCode")]
public List<UcrIncidentBiasMotivationCodeType> NibrsBiasMotivationCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrIncidentBiasMotivationCodeType> | A circumstance of factor in an incident. NIEM reference is j:IncidentFactorNIBRSBiasMotivationCode |
NibrsJustifiableHomicideCode
A circumstance of factor in an incident. NIEM reference is j:IncidentFactorNIBRSJustifiableHomicideCode
Declaration
[DataMember(Name = "nibrsJustifiableHomicideCode")]
public List<UcrJustifiableHomicideFactorsCodeType> NibrsJustifiableHomicideCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrJustifiableHomicideFactorsCodeType> | A circumstance of factor in an incident. NIEM reference is j:IncidentFactorNIBRSJustifiableHomicideCode |
SubCategory
A kind of specific detail or aspect of an incident factor or circumstance. NIEM reference is j:IncidentFactorSubCategoryText
Declaration
[DataMember(Name = "subCategory")]
public List<NcTextType> SubCategory { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of specific detail or aspect of an incident factor or circumstance. NIEM reference is j:IncidentFactorSubCategoryText |
Text
A circumstance or factor in an incident. NIEM reference is j:IncidentFactorText
Declaration
[DataMember(Name = "text")]
public List<NcTextType> Text { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A circumstance or factor in an incident. NIEM reference is j:IncidentFactorText |
Methods
Equals(JIncidentFactorType)
Returns true if JIncidentFactorType instances are equal
Declaration
public bool Equals(JIncidentFactorType other)
Parameters
Type | Name | Description |
---|---|---|
JIncidentFactorType | other | Instance of JIncidentFactorType 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(JIncidentFactorType, JIncidentFactorType)
Declaration
public static bool operator ==(JIncidentFactorType left, JIncidentFactorType right)
Parameters
Type | Name | Description |
---|---|---|
JIncidentFactorType | left | |
JIncidentFactorType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JIncidentFactorType, JIncidentFactorType)
Declaration
public static bool operator !=(JIncidentFactorType left, JIncidentFactorType right)
Parameters
Type | Name | Description |
---|---|---|
JIncidentFactorType | left | |
JIncidentFactorType | right |
Returns
Type | Description |
---|---|
System.Boolean |