Class JTargetType
A data type for a target or object against which an action is taken.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JTargetType : IEquatable<JTargetType>
Properties
Category
A kind of target or object for which an action is taken. NIEM reference is j:TargetCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of target or object for which an action is taken. NIEM reference is j:TargetCategoryText |
Context
jTargetType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JTargetType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JTargetType.ContextEnum> | jTargetType JSON-LD context |
Description
A description of a target or object for which an action taken. NIEM reference is j:TargetDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of a target or object for which an action taken. NIEM reference is j:TargetDescriptionText |
Item
A property item that is a target of an action. NIEM reference is j:TargetItem
Declaration
[DataMember(Name = "item")]
public List<NcItemType> Item { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcItemType> | A property item that is a target of an action. NIEM reference is j:TargetItem |
Location
A location that is a target of an action. NIEM reference is j:TargetLocation
Declaration
[DataMember(Name = "location")]
public List<NcLocationType> Location { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLocationType> | A location that is a target of an action. NIEM reference is j:TargetLocation |
Name
A name or a target or object for which an action is taken. NIEM reference is j:TargetName
Declaration
[DataMember(Name = "name")]
public List<NcTextType> Name { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name or a target or object for which an action is taken. NIEM reference is j:TargetName |
Organization
An organization that is a target of an action. NIEM reference is j:TargetOrganization
Declaration
[DataMember(Name = "organization")]
public List<NcOrganizationType> Organization { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcOrganizationType> | An organization that is a target of an action. NIEM reference is j:TargetOrganization |
Person
A person that is a target of an action. NIEM reference is j:TargetPerson
Declaration
[DataMember(Name = "person")]
public List<NcPersonType> Person { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person that is a target of an action. NIEM reference is j:TargetPerson |
Reason
An explanation of why a target was chosen for action. NIEM reference is j:TargetReasonText
Declaration
[DataMember(Name = "reason")]
public List<NcTextType> Reason { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | An explanation of why a target was chosen for action. NIEM reference is j:TargetReasonText |
SectorCode
A broad categorization of the infrastructure type. NIEM reference is j:TargetSectorCode
Declaration
[DataMember(Name = "sectorCode")]
public List<SarTargetSectorCodeType> SectorCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<SarTargetSectorCodeType> | A broad categorization of the infrastructure type. NIEM reference is j:TargetSectorCode |
Methods
Equals(JTargetType)
Returns true if JTargetType instances are equal
Declaration
public bool Equals(JTargetType other)
Parameters
Type | Name | Description |
---|---|---|
JTargetType | other | Instance of JTargetType 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(JTargetType, JTargetType)
Declaration
public static bool operator ==(JTargetType left, JTargetType right)
Parameters
Type | Name | Description |
---|---|---|
JTargetType | left | |
JTargetType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JTargetType, JTargetType)
Declaration
public static bool operator !=(JTargetType left, JTargetType right)
Parameters
Type | Name | Description |
---|---|---|
JTargetType | left | |
JTargetType | right |
Returns
Type | Description |
---|---|
System.Boolean |