Class NcLocaleType
A data type for a geopolitical area.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcLocaleType : IEquatable<NcLocaleType>
Properties
CensusBlockId
An identifier of the smallest subdivision of an area. NIEM reference is nc:LocaleCensusBlockID
Declaration
[DataMember(Name = "censusBlockId")]
public List<NiemXsstring> CensusBlockId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | An identifier of the smallest subdivision of an area. NIEM reference is nc:LocaleCensusBlockID |
CensusTractId
An identifier of a designated census tract area. NIEM reference is nc:LocaleCensusTractID
Declaration
[DataMember(Name = "censusTractId")]
public List<NiemXsstring> CensusTractId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | An identifier of a designated census tract area. NIEM reference is nc:LocaleCensusTractID |
CommunityName
A name of a specific community. NIEM reference is nc:LocaleCommunityName
Declaration
[DataMember(Name = "communityName")]
public List<NcTextType> CommunityName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of a specific community. NIEM reference is nc:LocaleCommunityName |
Context
ncLocaleType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcLocaleType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcLocaleType.ContextEnum> | ncLocaleType JSON-LD context |
Description
A description of a geopolitical area. NIEM reference is nc:LocaleDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of a geopolitical area. NIEM reference is nc:LocaleDescriptionText |
DistrictName
A name given to an area defined for administrative or official purposes. NIEM reference is nc:LocaleDistrictName
Declaration
[DataMember(Name = "districtName")]
public List<NcTextType> DistrictName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name given to an area defined for administrative or official purposes. NIEM reference is nc:LocaleDistrictName |
EmergencyServicesJurisdictionId
An identifier of an emergency services jurisdiction that encompasses a location. NIEM reference is nc:LocaleEmergencyServicesJurisdictionID
Declaration
[DataMember(Name = "emergencyServicesJurisdictionId")]
public List<NiemXsstring> EmergencyServicesJurisdictionId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | An identifier of an emergency services jurisdiction that encompasses a location. NIEM reference is nc:LocaleEmergencyServicesJurisdictionID |
EmergencyServicesName
A name of an organization providing emergency services. NIEM reference is nc:LocaleEmergencyServicesName
Declaration
[DataMember(Name = "emergencyServicesName")]
public List<NcTextType> EmergencyServicesName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of an organization providing emergency services. NIEM reference is nc:LocaleEmergencyServicesName |
FireJurisdictionId
An identifier of a fire department jurisdiction. NIEM reference is nc:LocaleFireJurisdictionID
Declaration
[DataMember(Name = "fireJurisdictionId")]
public List<NiemXsstring> FireJurisdictionId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | An identifier of a fire department jurisdiction. NIEM reference is nc:LocaleFireJurisdictionID |
JudicialDistrictName
A name of the judicial district. NIEM reference is nc:LocaleJudicialDistrictName
Declaration
[DataMember(Name = "judicialDistrictName")]
public List<NcTextType> JudicialDistrictName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of the judicial district. NIEM reference is nc:LocaleJudicialDistrictName |
NeighborhoodName
A name of a neighborhood. NIEM reference is nc:LocaleNeighborhoodName
Declaration
[DataMember(Name = "neighborhoodName")]
public List<NcTextType> NeighborhoodName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of a neighborhood. NIEM reference is nc:LocaleNeighborhoodName |
PoliceBeat
A police beat that encompasses a location. NIEM reference is nc:LocalePoliceBeatText
Declaration
[DataMember(Name = "policeBeat")]
public List<NcTextType> PoliceBeat { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A police beat that encompasses a location. NIEM reference is nc:LocalePoliceBeatText |
PoliceGrid
A police grid coordinate. NIEM reference is nc:LocalePoliceGridText
Declaration
[DataMember(Name = "policeGrid")]
public List<NcTextType> PoliceGrid { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A police grid coordinate. NIEM reference is nc:LocalePoliceGridText |
PoliceJurisdictionId
An identifier of a police jurisdiction that encompasses a location. NIEM reference is nc:LocalePoliceJurisdictionID
Declaration
[DataMember(Name = "policeJurisdictionId")]
public List<NiemXsstring> PoliceJurisdictionId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | An identifier of a police jurisdiction that encompasses a location. NIEM reference is nc:LocalePoliceJurisdictionID |
RegionName
A name of a region. NIEM reference is nc:LocaleRegionName
Declaration
[DataMember(Name = "regionName")]
public List<NcTextType> RegionName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of a region. NIEM reference is nc:LocaleRegionName |
SubdivisionName
A name of a subdivision. NIEM reference is nc:LocaleSubdivisionName
Declaration
[DataMember(Name = "subdivisionName")]
public List<NcTextType> SubdivisionName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of a subdivision. NIEM reference is nc:LocaleSubdivisionName |
ZoneName
A name of a zone. NIEM reference is nc:LocaleZoneName
Declaration
[DataMember(Name = "zoneName")]
public List<NcTextType> ZoneName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of a zone. NIEM reference is nc:LocaleZoneName |
Methods
Equals(NcLocaleType)
Returns true if NcLocaleType instances are equal
Declaration
public bool Equals(NcLocaleType other)
Parameters
Type | Name | Description |
---|---|---|
NcLocaleType | other | Instance of NcLocaleType 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(NcLocaleType, NcLocaleType)
Declaration
public static bool operator ==(NcLocaleType left, NcLocaleType right)
Parameters
Type | Name | Description |
---|---|---|
NcLocaleType | left | |
NcLocaleType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcLocaleType, NcLocaleType)
Declaration
public static bool operator !=(NcLocaleType left, NcLocaleType right)
Parameters
Type | Name | Description |
---|---|---|
NcLocaleType | left | |
NcLocaleType | right |
Returns
Type | Description |
---|---|
System.Boolean |