Class NcConveyanceType
A data type for a means of transport from place to place.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcConveyanceType : NcItemType, IEquatable<NcItemType>, IEquatable<NcConveyanceType>
Properties
Cargo
A cargo or set of goods transported by a conveyance. NIEM reference is nc:ConveyanceCargoText
Declaration
[DataMember(Name = "cargo")]
public List<NcTextType> Cargo { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A cargo or set of goods transported by a conveyance. NIEM reference is nc:ConveyanceCargoText |
CbrnAugmentation
Additional information about a tangible item that is used to transport goods and/or persons from one location to another location; e.g., ship, airplane, vehicle, train, pipeline. NIEM reference is cbrn:ConveyanceAugmentation
Declaration
[DataMember(Name = "cbrnAugmentation")]
public List<CbrnConveyanceAugmentationType> CbrnAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CbrnConveyanceAugmentationType> | Additional information about a tangible item that is used to transport goods and/or persons from one location to another location; e.g., ship, airplane, vehicle, train, pipeline. NIEM reference is cbrn:ConveyanceAugmentation |
Context
ncConveyanceType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcConveyanceType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcConveyanceType.ContextEnum> | ncConveyanceType JSON-LD context |
EngineQuantity
A number of engines on a conveyance. NIEM reference is nc:ConveyanceEngineQuantity
Declaration
[DataMember(Name = "engineQuantity")]
public List<NiemXsnonNegativeInteger> EngineQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsnonNegativeInteger> | A number of engines on a conveyance. NIEM reference is nc:ConveyanceEngineQuantity |
IsMotorized
True if a conveyance is powered by a motor; false otherwise. NIEM reference is nc:ConveyanceMotorizedIndicator
Declaration
[DataMember(Name = "isMotorized")]
public List<NiemXsboolean> IsMotorized { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a conveyance is powered by a motor; false otherwise. NIEM reference is nc:ConveyanceMotorizedIndicator |
IsTowed
True if a conveyance is towed; false otherwise. NIEM reference is nc:ConveyanceTowedIndicator
Declaration
[DataMember(Name = "isTowed")]
public List<NiemXsboolean> IsTowed { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a conveyance is towed; false otherwise. NIEM reference is nc:ConveyanceTowedIndicator |
JAugmentation
Additional information about a conveyance. NIEM reference is j:ConveyanceAugmentation
Declaration
[DataMember(Name = "jAugmentation")]
public List<JConveyanceAugmentationType> JAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JConveyanceAugmentationType> | Additional information about a conveyance. NIEM reference is j:ConveyanceAugmentation |
VehicleUse
A manner or way in which a vehicle is used. NIEM reference is nc:VehicleUseText
Declaration
[DataMember(Name = "vehicleUse")]
public List<NcTextType> VehicleUse { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A manner or way in which a vehicle is used. NIEM reference is nc:VehicleUseText |
VehicleUseAnsiD20Code
A manner or way in which a vehicle is used. NIEM reference is j:VehicleUseANSID20Code
Declaration
[DataMember(Name = "vehicleUseAnsiD20Code")]
public List<AamvaD20VehicleUseCodeType> VehicleUseAnsiD20Code { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AamvaD20VehicleUseCodeType> | A manner or way in which a vehicle is used. NIEM reference is j:VehicleUseANSID20Code |
Methods
Equals(NcConveyanceType)
Returns true if NcConveyanceType instances are equal
Declaration
public bool Equals(NcConveyanceType other)
Parameters
Type | Name | Description |
---|---|---|
NcConveyanceType | other | Instance of NcConveyanceType 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(NcConveyanceType, NcConveyanceType)
Declaration
public static bool operator ==(NcConveyanceType left, NcConveyanceType right)
Parameters
Type | Name | Description |
---|---|---|
NcConveyanceType | left | |
NcConveyanceType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcConveyanceType, NcConveyanceType)
Declaration
public static bool operator !=(NcConveyanceType left, NcConveyanceType right)
Parameters
Type | Name | Description |
---|---|---|
NcConveyanceType | left | |
NcConveyanceType | right |
Returns
Type | Description |
---|---|
System.Boolean |