Class JVictimType
A data type for a person who suffers injury, loss, or death as a result of an incident.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JVictimType : IEquatable<JVictimType>
Properties
AffectedItem
A victim's property that was stolen or damaged. NIEM reference is j:VictimAffectedItem
Declaration
[DataMember(Name = "affectedItem")]
public List<NcItemType> AffectedItem { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcItemType> | A victim's property that was stolen or damaged. NIEM reference is j:VictimAffectedItem |
AggravatedAssaultHomicideFactor
A circumstance of either an aggravated assault or homicide. NIEM reference is j:VictimAggravatedAssaultHomicideFactorText
Declaration
[DataMember(Name = "aggravatedAssaultHomicideFactor")]
public List<NcTextType> AggravatedAssaultHomicideFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A circumstance of either an aggravated assault or homicide. NIEM reference is j:VictimAggravatedAssaultHomicideFactorText |
AggravatedAssaultHomicideFactorCode
A circumstance of either an aggravated assault or homicide. NIEM reference is j:VictimAggravatedAssaultHomicideFactorCode
Declaration
[DataMember(Name = "aggravatedAssaultHomicideFactorCode")]
public List<UcrAggravatedAssaultHomicideFactorsCodeType> AggravatedAssaultHomicideFactorCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrAggravatedAssaultHomicideFactorsCodeType> | A circumstance of either an aggravated assault or homicide. NIEM reference is j:VictimAggravatedAssaultHomicideFactorCode |
AggravatedAssaultHomicideFactorNdExCode
A circumstance of either an aggravated assault or homicide. NIEM reference is j:VictimAggravatedAssaultHomicideFactorNDExCode
Declaration
[DataMember(Name = "aggravatedAssaultHomicideFactorNdExCode")]
public List<NdexAggravatedAssaultCircumstanceNDExCodeType> AggravatedAssaultHomicideFactorNdExCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexAggravatedAssaultCircumstanceNDExCodeType> | A circumstance of either an aggravated assault or homicide. NIEM reference is j:VictimAggravatedAssaultHomicideFactorNDExCode |
Category
A kind of victim an offense was committed against. NIEM reference is j:VictimCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of victim an offense was committed against. NIEM reference is j:VictimCategoryText |
CategoryCode
A kind of victim an offense was committed against. NIEM reference is j:VictimCategoryCode
Declaration
[DataMember(Name = "categoryCode")]
public List<UcrVictimCategoryCodeType> CategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrVictimCategoryCodeType> | A kind of victim an offense was committed against. NIEM reference is j:VictimCategoryCode |
Context
jVictimType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JVictimType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JVictimType.ContextEnum> | jVictimType JSON-LD context |
Disposition
A description of what happens to the victim after the incident. NIEM reference is j:VictimDispositionText
Declaration
[DataMember(Name = "disposition")]
public List<NcTextType> Disposition { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of what happens to the victim after the incident. NIEM reference is j:VictimDispositionText |
Identification
An identification number or string identifying a victim. NIEM reference is j:VictimIdentification
Declaration
[DataMember(Name = "identification")]
public List<NcIdentificationType> Identification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcIdentificationType> | An identification number or string identifying a victim. NIEM reference is j:VictimIdentification |
Injury
An injury received by a victim due to an incident. NIEM reference is j:VictimInjury
Declaration
[DataMember(Name = "injury")]
public List<NcInjuryType> Injury { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcInjuryType> | An injury received by a victim due to an incident. NIEM reference is j:VictimInjury |
IsContacted
True if victim was contacted; false otherwise. NIEM reference is j:VictimContactedIndicator
Declaration
[DataMember(Name = "isContacted")]
public List<NiemXsboolean> IsContacted { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if victim was contacted; false otherwise. NIEM reference is j:VictimContactedIndicator |
IsMedicalTreatmentRequired
True if a victim needed medical treatment after an incident; false otherwise. NIEM reference is j:VictimMedicalTreatmentRequiredIndicator
Declaration
[DataMember(Name = "isMedicalTreatmentRequired")]
public List<NiemXsboolean> IsMedicalTreatmentRequired { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a victim needed medical treatment after an incident; false otherwise. NIEM reference is j:VictimMedicalTreatmentRequiredIndicator |
IsSeeksProsecution
True if a victim wants the alleged suspect prosecuted in a court of law; false otherwise. NIEM reference is j:VictimSeeksProsecutionIndicator
Declaration
[DataMember(Name = "isSeeksProsecution")]
public List<NiemXsboolean> IsSeeksProsecution { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a victim wants the alleged suspect prosecuted in a court of law; false otherwise. NIEM reference is j:VictimSeeksProsecutionIndicator |
IsSeeksRestitutionDescription
True if a victim seeks restitution from a subject; false otherwise. NIEM reference is j:VictimSeeksRestitutionDescriptionIndicator
Declaration
[DataMember(Name = "isSeeksRestitutionDescription")]
public List<NiemXsboolean> IsSeeksRestitutionDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a victim seeks restitution from a subject; false otherwise. NIEM reference is j:VictimSeeksRestitutionDescriptionIndicator |
IsVicap
True if a case report for this victim was submitted to the Violent Criminal Apprehension Program; false otherwise. NIEM reference is j:VictimVICAPIndicator
Declaration
[DataMember(Name = "isVicap")]
public List<NiemXsboolean> IsVicap { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a case report for this victim was submitted to the Violent Criminal Apprehension Program; false otherwise. NIEM reference is j:VictimVICAPIndicator |
JustifiableHomicideFactor
A circumstance of a justifiable homicide. NIEM reference is j:VictimJustifiableHomicideFactorText
Declaration
[DataMember(Name = "justifiableHomicideFactor")]
public List<NcTextType> JustifiableHomicideFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A circumstance of a justifiable homicide. NIEM reference is j:VictimJustifiableHomicideFactorText |
JustifiableHomicideFactorCode
A circumstance of a justifiable homicide. NIEM reference is j:VictimJustifiableHomicideFactorCode
Declaration
[DataMember(Name = "justifiableHomicideFactorCode")]
public List<UcrJustifiableHomicideFactorsCodeType> JustifiableHomicideFactorCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrJustifiableHomicideFactorsCodeType> | A circumstance of a justifiable homicide. NIEM reference is j:VictimJustifiableHomicideFactorCode |
OffenseCharge
A charge representing an offense committed against a person. NIEM reference is j:VictimOffenseChargeText
Declaration
[DataMember(Name = "offenseCharge")]
public List<NcTextType> OffenseCharge { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A charge representing an offense committed against a person. NIEM reference is j:VictimOffenseChargeText |
OffenseChargeCode
A charge representing an offense committed against a person, organization, and/or society. NIEM reference is j:VictimOffenseChargeCode
Declaration
[DataMember(Name = "offenseChargeCode")]
public List<UcrOffenseCodeType> OffenseChargeCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrOffenseCodeType> | A charge representing an offense committed against a person, organization, and/or society. NIEM reference is j:VictimOffenseChargeCode |
Organization
An entity who suffers injury, loss, or death as a result of an incident. NIEM reference is j:VictimOrganization
Declaration
[DataMember(Name = "organization")]
public List<NcOrganizationType> Organization { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcOrganizationType> | An entity who suffers injury, loss, or death as a result of an incident. NIEM reference is j:VictimOrganization |
Person
An entity who suffers injury, loss, or death as a result of an incident. NIEM reference is j:VictimPerson
Declaration
[DataMember(Name = "person")]
public List<NcPersonType> Person { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | An entity who suffers injury, loss, or death as a result of an incident. NIEM reference is j:VictimPerson |
RoleOfItem
An entity of whom the role object is a function. NIEM reference is nc:RoleOfItem
Declaration
[DataMember(Name = "roleOfItem")]
public List<NcItemType> RoleOfItem { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcItemType> | An entity of whom the role object is a function. NIEM reference is nc:RoleOfItem |
RoleOfOrganization
An organization of whom the role object is a function. NIEM reference is nc:RoleOfOrganization
Declaration
[DataMember(Name = "roleOfOrganization")]
public List<NcOrganizationType> RoleOfOrganization { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcOrganizationType> | An organization of whom the role object is a function. NIEM reference is nc:RoleOfOrganization |
RoleOfPerson
A person of whom the role object is a function. NIEM reference is nc:RoleOfPerson
Declaration
[DataMember(Name = "roleOfPerson")]
public List<NcPersonType> RoleOfPerson { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person of whom the role object is a function. NIEM reference is nc:RoleOfPerson |
SeeksRestitutionDescription
A description of the restitution sought by a victim from a subject. NIEM reference is j:VictimSeeksRestitutionDescriptionText
Declaration
[DataMember(Name = "seeksRestitutionDescription")]
public List<NcTextType> SeeksRestitutionDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the restitution sought by a victim from a subject. NIEM reference is j:VictimSeeksRestitutionDescriptionText |
SequenceNumber
A sequential number assigned to the victim within incident. NIEM reference is j:VictimSequenceNumberText
Declaration
[DataMember(Name = "sequenceNumber")]
public List<NcTextType> SequenceNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A sequential number assigned to the victim within incident. NIEM reference is j:VictimSequenceNumberText |
Statement
A statement made by a victim. NIEM reference is j:VictimStatementText
Declaration
[DataMember(Name = "statement")]
public List<NcTextType> Statement { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A statement made by a victim. NIEM reference is j:VictimStatementText |
VicapCaseNumber
A case number assigned to a victim case report by the Violent Criminal Apprehension Program. NIEM reference is j:VictimVICAPCaseNumberText
Declaration
[DataMember(Name = "vicapCaseNumber")]
public List<NcTextType> VicapCaseNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A case number assigned to a victim case report by the Violent Criminal Apprehension Program. NIEM reference is j:VictimVICAPCaseNumberText |
VictimMo
A set of details pertaining to facts attained from an actual crime scene, giving investigators insights into behaviors of a victim or concerning the treatment of a victim as related to subject MO. NIEM reference is j:VictimMO
Declaration
[DataMember(Name = "victimMo")]
public List<JVictimMOType> VictimMo { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JVictimMOType> | A set of details pertaining to facts attained from an actual crime scene, giving investigators insights into behaviors of a victim or concerning the treatment of a victim as related to subject MO. NIEM reference is j:VictimMO |
Methods
Equals(JVictimType)
Returns true if JVictimType instances are equal
Declaration
public bool Equals(JVictimType other)
Parameters
Type | Name | Description |
---|---|---|
JVictimType | other | Instance of JVictimType 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(JVictimType, JVictimType)
Declaration
public static bool operator ==(JVictimType left, JVictimType right)
Parameters
Type | Name | Description |
---|---|---|
JVictimType | left | |
JVictimType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JVictimType, JVictimType)
Declaration
public static bool operator !=(JVictimType left, JVictimType right)
Parameters
Type | Name | Description |
---|---|---|
JVictimType | left | |
JVictimType | right |
Returns
Type | Description |
---|---|
System.Boolean |