Class MLocationAugmentationType
A data type for additional information about a location.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class MLocationAugmentationType : IEquatable<MLocationAugmentationType>
Properties
Context
mLocationAugmentationType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public MLocationAugmentationType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<MLocationAugmentationType.ContextEnum> | mLocationAugmentationType JSON-LD context |
CotpZoneRegion
A region of a Captain of the Port (COTP) zone. NIEM reference is m:COTPZoneRegionText
Declaration
[DataMember(Name = "cotpZoneRegion")]
public List<NcTextType> CotpZoneRegion { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A region of a Captain of the Port (COTP) zone. NIEM reference is m:COTPZoneRegionText |
CotpZoneRegionCode
A Captain of the Port (COTP) zone code. NIEM reference is m:COTPZoneRegionCode
Declaration
[DataMember(Name = "cotpZoneRegionCode")]
public List<MCOTPRegionCodeType> CotpZoneRegionCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MCOTPRegionCodeType> | A Captain of the Port (COTP) zone code. NIEM reference is m:COTPZoneRegionCode |
LocationCurve
A geospatial curve. NIEM reference is m:LocationCurve
Declaration
[DataMember(Name = "locationCurve")]
public List<GeoCurveType> LocationCurve { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GeoCurveType> | A geospatial curve. NIEM reference is m:LocationCurve |
LocationEllipse
A location specified by an ellipse centered at a 2D or 3D geometric point. NIEM reference is m:LocationEllipse
Declaration
[DataMember(Name = "locationEllipse")]
public List<GeoEllipseType> LocationEllipse { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GeoEllipseType> | A location specified by an ellipse centered at a 2D or 3D geometric point. NIEM reference is m:LocationEllipse |
LocationEnvelope
A rectangular geospatial area. NIEM reference is m:LocationEnvelope
Declaration
[DataMember(Name = "locationEnvelope")]
public List<GeoEnvelopeType> LocationEnvelope { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GeoEnvelopeType> | A rectangular geospatial area. NIEM reference is m:LocationEnvelope |
LocationPoint
A location specified by a 2D or 3D geometric point. NIEM reference is m:LocationPoint
Declaration
[DataMember(Name = "locationPoint")]
public List<GeoPointType> LocationPoint { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GeoPointType> | A location specified by a 2D or 3D geometric point. NIEM reference is m:LocationPoint |
LocationPolygon
A geospatial polygon. NIEM reference is m:LocationPolygon
Declaration
[DataMember(Name = "locationPolygon")]
public List<GeoPolygonType> LocationPolygon { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GeoPolygonType> | A geospatial polygon. NIEM reference is m:LocationPolygon |
LocationPort
A location identified by a port. NIEM reference is m:LocationPort
Declaration
[DataMember(Name = "locationPort")]
public List<MPortType> LocationPort { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MPortType> | A location identified by a port. NIEM reference is m:LocationPort |
LocationUnlocode
A location identified by a United Nations Location Code, also known as a UN/LOCODE (United Nations Code for Trade and Transport Locations). NIEM reference is m:LocationUNLOCODEText
Declaration
[DataMember(Name = "locationUnlocode")]
public List<NcTextType> LocationUnlocode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A location identified by a United Nations Location Code, also known as a UN/LOCODE (United Nations Code for Trade and Transport Locations). NIEM reference is m:LocationUNLOCODEText |
Methods
Equals(MLocationAugmentationType)
Returns true if MLocationAugmentationType instances are equal
Declaration
public bool Equals(MLocationAugmentationType other)
Parameters
Type | Name | Description |
---|---|---|
MLocationAugmentationType | other | Instance of MLocationAugmentationType 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(MLocationAugmentationType, MLocationAugmentationType)
Declaration
public static bool operator ==(MLocationAugmentationType left, MLocationAugmentationType right)
Parameters
Type | Name | Description |
---|---|---|
MLocationAugmentationType | left | |
MLocationAugmentationType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(MLocationAugmentationType, MLocationAugmentationType)
Declaration
public static bool operator !=(MLocationAugmentationType left, MLocationAugmentationType right)
Parameters
Type | Name | Description |
---|---|---|
MLocationAugmentationType | left | |
MLocationAugmentationType | right |
Returns
Type | Description |
---|---|
System.Boolean |