Class ScrLocationElementClassificationType
A data type for classification of part or sub-division (ELEMENT) of a location.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class ScrLocationElementClassificationType : IEquatable<ScrLocationElementClassificationType>
Properties
Context
scrLocationElementClassificationType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public ScrLocationElementClassificationType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ScrLocationElementClassificationType.ContextEnum> | scrLocationElementClassificationType JSON-LD context |
LocationElementCategoryCode
A kind of location element. NIEM reference is scr:LocationElementCategoryCode
Declaration
[DataMember(Name = "locationElementCategoryCode")]
public List<ScrLocationElementCategoryCodeType> LocationElementCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ScrLocationElementCategoryCodeType> | A kind of location element. NIEM reference is scr:LocationElementCategoryCode |
LocationElementCategoryDescription
A description of a kind of location element. NIEM reference is scr:LocationElementCategoryDescriptionText
Declaration
[DataMember(Name = "locationElementCategoryDescription")]
public List<NcTextType> LocationElementCategoryDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of a kind of location element. NIEM reference is scr:LocationElementCategoryDescriptionText |
Methods
Equals(ScrLocationElementClassificationType)
Returns true if ScrLocationElementClassificationType instances are equal
Declaration
public bool Equals(ScrLocationElementClassificationType other)
Parameters
Type | Name | Description |
---|---|---|
ScrLocationElementClassificationType | other | Instance of ScrLocationElementClassificationType 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(ScrLocationElementClassificationType, ScrLocationElementClassificationType)
Declaration
public static bool operator ==(ScrLocationElementClassificationType left, ScrLocationElementClassificationType right)
Parameters
Type | Name | Description |
---|---|---|
ScrLocationElementClassificationType | left | |
ScrLocationElementClassificationType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(ScrLocationElementClassificationType, ScrLocationElementClassificationType)
Declaration
public static bool operator !=(ScrLocationElementClassificationType left, ScrLocationElementClassificationType right)
Parameters
Type | Name | Description |
---|---|---|
ScrLocationElementClassificationType | left | |
ScrLocationElementClassificationType | right |
Returns
Type | Description |
---|---|
System.Boolean |