Class SpatialCoverage
Represents a description of geographic coverage.
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class SpatialCoverage : IdentifiableBase, INotifyPropertyChanged, IIdentifiable, IHasCustomFields
Constructors
SpatialCoverage()
Initializes a new instance of the SpatialCoverage class.
Declaration
public SpatialCoverage()
Properties
BoundingBox
Gets or sets the geographical bounding box.
Declaration
public GeographicBoundingBox BoundingBox { get; set; }
Property Value
Type | Description |
---|---|
GeographicBoundingBox |
CountryCodes
Gets a list of country codes describing the coverage area.
Declaration
[Display(GroupName = "Coverage:Geography", Order = 410)]
public ObservableCollection<CountryCode> CountryCodes { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<CountryCode> |
Description
Gets a description of the geographical area.
Declaration
[Display(GroupName = "Coverage:Geography", Order = 400)]
public MultilingualString Description { get; }
Property Value
Type | Description |
---|---|
MultilingualString |
GeographicLocations
Gets a list of GeographicLocation describing the coverage area.
Declaration
public ObservableCollection<GeographicLocation> GeographicLocations { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<GeographicLocation> |
HasValue
Gets a value indicating whether the object has any content.
Declaration
public bool HasValue { get; }
Property Value
Type | Description |
---|---|
bool |
|
HighestLevel
Gets the highest geographical level described by the data (e.g., country, state, etc.)
Declaration
[Display(GroupName = "Coverage:Geography", Order = 420)]
public string HighestLevel { get; set; }
Property Value
Type | Description |
---|---|
string |
LowestLevel
Gets the lowest geographical level described by the data (e.g., county, city, tract, etc.).
Declaration
[Display(GroupName = "Coverage:Geography", Order = 430)]
public string LowestLevel { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
GetChildren()
Gets a collection of this item's children.
Declaration
public override ChildItemCollection GetChildren()
Returns
Type | Description |
---|---|
ChildItemCollection |
Overrides
RemoveChild(IdentifierTriple)
Removes the specified child.
Declaration
public override int RemoveChild(IdentifierTriple child)
Parameters
Type | Name | Description |
---|---|---|
IdentifierTriple | child | The child to be removed. |
Returns
Type | Description |
---|---|
int | The number of children removed from the item. |
Overrides
Exceptions
Type | Condition |
---|---|
ArgumentNullException | child |
ReplaceChild(IdentifierTriple, IVersionable)
Replaces the child with the specified identifier with the provided item.
Declaration
public override int ReplaceChild(IdentifierTriple toReplace, IVersionable child)
Parameters
Type | Name | Description |
---|---|---|
IdentifierTriple | toReplace | The identifier of the child to replace. |
IVersionable | child | The new child. |
Returns
Type | Description |
---|---|
int | The number of children replaced. |
Overrides
Exceptions
Type | Condition |
---|---|
ArgumentNullException | child |
WatchProperties()
Watch for property changed events
Declaration
protected override void WatchProperties()