Class GeographicLocation
Describes specific instances of GeographicLocations
Inheritance
GeographicLocation
Implements
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class GeographicLocation : DescribableBase, INotifyPropertyChanged, IVersionable, IIdentifiable, IHasCustomFields, IDescribable, IVisitable
Constructors
GeographicLocation()
Initializes a new instance of the GeographicLocation class.
Declaration
public GeographicLocation()
Properties
GeographicLevelDescription
A description of the GeographicLevel.
Declaration
public MultilingualString GeographicLevelDescription { get; set; }
Property Value
Type | Description |
---|---|
MultilingualString |
ItemType
Gets the universally unique identifier representing the item's type.
Declaration
public override Guid ItemType { get; }
Property Value
Type | Description |
---|---|
Guid | The identifier representing the item's type. |
Overrides
LocationValue
A location of the specified geographic level providing information on its name, identification codes, temporal and spatial coverage.
Declaration
public LocationValue LocationValue { get; set; }
Property Value
Type | Description |
---|---|
LocationValue |
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()