Class JForceType
A data type for details of a force used, whether physical or aided by a tool or weapon.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JForceType : NcActivityType, IEquatable<NcActivityType>, IEquatable<JForceType>
Properties
Category
A kind of force used, which may be physical or aided by a weapon or tool. NIEM reference is j:ForceCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of force used, which may be physical or aided by a weapon or tool. NIEM reference is j:ForceCategoryText |
CategoryCode
A kind of force used. NIEM reference is j:ForceCategoryCode
Declaration
[DataMember(Name = "categoryCode")]
public List<UcrForceCategoryCodeType> CategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrForceCategoryCodeType> | A kind of force used. NIEM reference is j:ForceCategoryCode |
Context
jForceType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JForceType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JForceType.ContextEnum> | jForceType JSON-LD context |
Description
A description of a kind of applied force. NIEM reference is j:ForceDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of a kind of applied force. NIEM reference is j:ForceDescriptionText |
EffectiveShotsQuantity
A number of shots fired which were determined to have been effective. NIEM reference is j:ForceEffectiveShotsQuantity
Declaration
[DataMember(Name = "effectiveShotsQuantity")]
public List<NcQuantityType> EffectiveShotsQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcQuantityType> | A number of shots fired which were determined to have been effective. NIEM reference is j:ForceEffectiveShotsQuantity |
NumberOfTimesUsedQuantity
A number of times an applied force type was used. NIEM reference is j:ForceNumberOfTimesUsedQuantity
Declaration
[DataMember(Name = "numberOfTimesUsedQuantity")]
public List<NcQuantityType> NumberOfTimesUsedQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcQuantityType> | A number of times an applied force type was used. NIEM reference is j:ForceNumberOfTimesUsedQuantity |
OtherForceCategory
A kind of other force. NIEM reference is j:ForceOtherForceCategoryText
Declaration
[DataMember(Name = "otherForceCategory")]
public List<NcTextType> OtherForceCategory { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of other force. NIEM reference is j:ForceOtherForceCategoryText |
PhysicalDescription
A description of the physical force a person used against another person. NIEM reference is j:ForcePhysicalDescriptionText
Declaration
[DataMember(Name = "physicalDescription")]
public List<NcTextType> PhysicalDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the physical force a person used against another person. NIEM reference is j:ForcePhysicalDescriptionText |
RoundsQuantity
A maximum number of rounds for a firearm. NIEM reference is j:ForceRoundsQuantity
Declaration
[DataMember(Name = "roundsQuantity")]
public List<NcQuantityType> RoundsQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcQuantityType> | A maximum number of rounds for a firearm. NIEM reference is j:ForceRoundsQuantity |
ShotsFiredQuantity
A total number of shots fired from firearm(s). NIEM reference is j:ForceShotsFiredQuantity
Declaration
[DataMember(Name = "shotsFiredQuantity")]
public List<NcQuantityType> ShotsFiredQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcQuantityType> | A total number of shots fired from firearm(s). NIEM reference is j:ForceShotsFiredQuantity |
Subject
A person who used force against another. NIEM reference is j:ForceSubject
Declaration
[DataMember(Name = "subject")]
public List<JSubjectType> Subject { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JSubjectType> | A person who used force against another. NIEM reference is j:ForceSubject |
TakenAsEvidence
An evidence taken in an incident when specifically a tool or weapon was used. NIEM reference is j:ForceTakenAsEvidence
Declaration
[DataMember(Name = "takenAsEvidence")]
public List<JEvidenceType> TakenAsEvidence { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JEvidenceType> | An evidence taken in an incident when specifically a tool or weapon was used. NIEM reference is j:ForceTakenAsEvidence |
ToolItem
A tool used to apply force to a person. NIEM reference is j:ForceToolItem
Declaration
[DataMember(Name = "toolItem")]
public List<NcItemType> ToolItem { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcItemType> | A tool used to apply force to a person. NIEM reference is j:ForceToolItem |
UserEntity
An entity which used particular force/tool/weapon. NIEM reference is j:ForceUserEntity
Declaration
[DataMember(Name = "userEntity")]
public List<NcEntityType> UserEntity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | An entity which used particular force/tool/weapon. NIEM reference is j:ForceUserEntity |
Victim
A person who was a victim of force. NIEM reference is j:ForceVictim
Declaration
[DataMember(Name = "victim")]
public List<JVictimType> Victim { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JVictimType> | A person who was a victim of force. NIEM reference is j:ForceVictim |
WarningShotsQuantity
A number of shots fired as warning shots. NIEM reference is j:ForceWarningShotsQuantity
Declaration
[DataMember(Name = "warningShotsQuantity")]
public List<NcQuantityType> WarningShotsQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcQuantityType> | A number of shots fired as warning shots. NIEM reference is j:ForceWarningShotsQuantity |
WeaponItem
A weapon used to apply force to a person. NIEM reference is j:ForceWeaponItem
Declaration
[DataMember(Name = "weaponItem")]
public List<NcItemType> WeaponItem { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcItemType> | A weapon used to apply force to a person. NIEM reference is j:ForceWeaponItem |
Methods
Equals(JForceType)
Returns true if JForceType instances are equal
Declaration
public bool Equals(JForceType other)
Parameters
Type | Name | Description |
---|---|---|
JForceType | other | Instance of JForceType 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(JForceType, JForceType)
Declaration
public static bool operator ==(JForceType left, JForceType right)
Parameters
Type | Name | Description |
---|---|---|
JForceType | left | |
JForceType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JForceType, JForceType)
Declaration
public static bool operator !=(JForceType left, JForceType right)
Parameters
Type | Name | Description |
---|---|---|
JForceType | left | |
JForceType | right |
Returns
Type | Description |
---|---|
System.Boolean |