Class ScrLocationElementType
A data type for a part or sub-division of a location.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class ScrLocationElementType : IEquatable<ScrLocationElementType>
Properties
Classification
A classification of LOCATION ELEMENT. NIEM reference is scr:LocationElementClassification
Declaration
[DataMember(Name = "classification")]
public List<ScrLocationElementClassificationType> Classification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ScrLocationElementClassificationType> | A classification of LOCATION ELEMENT. NIEM reference is scr:LocationElementClassification |
Context
scrLocationElementType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public ScrLocationElementType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ScrLocationElementType.ContextEnum> | scrLocationElementType JSON-LD context |
Identification
An identification value that represents a LOCATION ELEMENT NIEM reference is scr:LocationElementIdentification
Declaration
[DataMember(Name = "identification")]
public List<NcIdentificationType> Identification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcIdentificationType> | An identification value that represents a LOCATION ELEMENT NIEM reference is scr:LocationElementIdentification |
Methods
Equals(ScrLocationElementType)
Returns true if ScrLocationElementType instances are equal
Declaration
public bool Equals(ScrLocationElementType other)
Parameters
Type | Name | Description |
---|---|---|
ScrLocationElementType | other | Instance of ScrLocationElementType 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(ScrLocationElementType, ScrLocationElementType)
Declaration
public static bool operator ==(ScrLocationElementType left, ScrLocationElementType right)
Parameters
Type | Name | Description |
---|---|---|
ScrLocationElementType | left | |
ScrLocationElementType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(ScrLocationElementType, ScrLocationElementType)
Declaration
public static bool operator !=(ScrLocationElementType left, ScrLocationElementType right)
Parameters
Type | Name | Description |
---|---|---|
ScrLocationElementType | left | |
ScrLocationElementType | right |
Returns
Type | Description |
---|---|
System.Boolean |