Class JCustodyTransferType
A data type for a transfer of custody or a transfer of a subject or property from one enforcement party to another.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JCustodyTransferType : NcActivityType, IEquatable<NcActivityType>, IEquatable<JCustodyTransferType>
Properties
Action
An action taken in the transfer of custody. NIEM reference is j:CustodyTransferActionText
Declaration
[DataMember(Name = "action")]
public List<NcTextType> Action { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | An action taken in the transfer of custody. NIEM reference is j:CustodyTransferActionText |
Context
jCustodyTransferType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JCustodyTransferType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JCustodyTransferType.ContextEnum> | jCustodyTransferType JSON-LD context |
Item
A piece of property which is being transferred from one custody to another. NIEM reference is j:CustodyTransferItem
Declaration
[DataMember(Name = "item")]
public List<NcItemType> Item { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcItemType> | A piece of property which is being transferred from one custody to another. NIEM reference is j:CustodyTransferItem |
Location
A location where transfer of custody occurs. NIEM reference is j:CustodyTransferLocation
Declaration
[DataMember(Name = "location")]
public List<NcLocationType> Location { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLocationType> | A location where transfer of custody occurs. NIEM reference is j:CustodyTransferLocation |
ReceivingEnforcementAgency
An enforcement agency that receives custody of a subject or property. NIEM reference is j:CustodyTransferReceivingEnforcementAgency
Declaration
[DataMember(Name = "receivingEnforcementAgency")]
public List<NcOrganizationType> ReceivingEnforcementAgency { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcOrganizationType> | An enforcement agency that receives custody of a subject or property. NIEM reference is j:CustodyTransferReceivingEnforcementAgency |
ReceivingEnforcementFacility
An enforcement facility that receives custody of a subject or property. NIEM reference is j:CustodyTransferReceivingEnforcementFacility
Declaration
[DataMember(Name = "receivingEnforcementFacility")]
public List<NcFacilityType> ReceivingEnforcementFacility { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcFacilityType> | An enforcement facility that receives custody of a subject or property. NIEM reference is j:CustodyTransferReceivingEnforcementFacility |
ReceivingEnforcementOfficial
A peace official that receives custody of a subject or property. NIEM reference is j:CustodyTransferReceivingEnforcementOfficial
Declaration
[DataMember(Name = "receivingEnforcementOfficial")]
public List<JEnforcementOfficialType> ReceivingEnforcementOfficial { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JEnforcementOfficialType> | A peace official that receives custody of a subject or property. NIEM reference is j:CustodyTransferReceivingEnforcementOfficial |
ReleasingEnforcementAgency
An enforcement agency that releases custody of a subject or property. NIEM reference is j:CustodyTransferReleasingEnforcementAgency
Declaration
[DataMember(Name = "releasingEnforcementAgency")]
public List<NcOrganizationType> ReleasingEnforcementAgency { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcOrganizationType> | An enforcement agency that releases custody of a subject or property. NIEM reference is j:CustodyTransferReleasingEnforcementAgency |
ReleasingEnforcementFacility
An enforcement facility that releases custody of a subject or property. NIEM reference is j:CustodyTransferReleasingEnforcementFacility
Declaration
[DataMember(Name = "releasingEnforcementFacility")]
public List<NcFacilityType> ReleasingEnforcementFacility { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcFacilityType> | An enforcement facility that releases custody of a subject or property. NIEM reference is j:CustodyTransferReleasingEnforcementFacility |
ReleasingEnforcementOfficial
A peace official that releases custody of a subject or property. NIEM reference is j:CustodyTransferReleasingEnforcementOfficial
Declaration
[DataMember(Name = "releasingEnforcementOfficial")]
public List<JEnforcementOfficialType> ReleasingEnforcementOfficial { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JEnforcementOfficialType> | A peace official that releases custody of a subject or property. NIEM reference is j:CustodyTransferReleasingEnforcementOfficial |
Subject
A person who is being transferred from one custody to another. NIEM reference is j:CustodyTransferSubject
Declaration
[DataMember(Name = "subject")]
public List<JSubjectType> Subject { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JSubjectType> | A person who is being transferred from one custody to another. NIEM reference is j:CustodyTransferSubject |
Methods
Equals(JCustodyTransferType)
Returns true if JCustodyTransferType instances are equal
Declaration
public bool Equals(JCustodyTransferType other)
Parameters
Type | Name | Description |
---|---|---|
JCustodyTransferType | other | Instance of JCustodyTransferType 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(JCustodyTransferType, JCustodyTransferType)
Declaration
public static bool operator ==(JCustodyTransferType left, JCustodyTransferType right)
Parameters
Type | Name | Description |
---|---|---|
JCustodyTransferType | left | |
JCustodyTransferType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JCustodyTransferType, JCustodyTransferType)
Declaration
public static bool operator !=(JCustodyTransferType left, JCustodyTransferType right)
Parameters
Type | Name | Description |
---|---|---|
JCustodyTransferType | left | |
JCustodyTransferType | right |
Returns
Type | Description |
---|---|
System.Boolean |