Class NcTransportationAssociationType
A data type for an association between a conveyance and the people and/or goods it transported.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcTransportationAssociationType : NcAssociationType, IEquatable<NcAssociationType>, IEquatable<NcTransportationAssociationType>
Properties
Context
ncTransportationAssociationType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcTransportationAssociationType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcTransportationAssociationType.ContextEnum> | ncTransportationAssociationType JSON-LD context |
Conveyance
A means of transport. NIEM reference is nc:Conveyance
Declaration
[DataMember(Name = "conveyance")]
public List<NcConveyanceType> Conveyance { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcConveyanceType> | A means of transport. NIEM reference is nc:Conveyance |
ConveyanceOperator
A person who operates or drives a conveyance. NIEM reference is nc:ConveyanceOperator
Declaration
[DataMember(Name = "conveyanceOperator")]
public List<NcPersonType> ConveyanceOperator { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person who operates or drives a conveyance. NIEM reference is nc:ConveyanceOperator |
ConveyancePassengerQuantity
A number of people in a conveyance excluding the driver. NIEM reference is nc:ConveyancePassengerQuantity
Declaration
[DataMember(Name = "conveyancePassengerQuantity")]
public List<NcQuantityType> ConveyancePassengerQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcQuantityType> | A number of people in a conveyance excluding the driver. NIEM reference is nc:ConveyancePassengerQuantity |
ConveyedItem
An item that is specifically being conveyed. NIEM reference is nc:ConveyedItem
Declaration
[DataMember(Name = "conveyedItem")]
public List<NcItemType> ConveyedItem { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcItemType> | An item that is specifically being conveyed. NIEM reference is nc:ConveyedItem |
ConveyedPerson
A person being conveyed. NIEM reference is nc:ConveyedPerson
Declaration
[DataMember(Name = "conveyedPerson")]
public List<NcPersonType> ConveyedPerson { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person being conveyed. NIEM reference is nc:ConveyedPerson |
Methods
Equals(NcTransportationAssociationType)
Returns true if NcTransportationAssociationType instances are equal
Declaration
public bool Equals(NcTransportationAssociationType other)
Parameters
Type | Name | Description |
---|---|---|
NcTransportationAssociationType | other | Instance of NcTransportationAssociationType 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(NcTransportationAssociationType, NcTransportationAssociationType)
Declaration
public static bool operator ==(NcTransportationAssociationType left, NcTransportationAssociationType right)
Parameters
Type | Name | Description |
---|---|---|
NcTransportationAssociationType | left | |
NcTransportationAssociationType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcTransportationAssociationType, NcTransportationAssociationType)
Declaration
public static bool operator !=(NcTransportationAssociationType left, NcTransportationAssociationType right)
Parameters
Type | Name | Description |
---|---|---|
NcTransportationAssociationType | left | |
NcTransportationAssociationType | right |
Returns
Type | Description |
---|---|
System.Boolean |