Class Coverage
Describes the temporal, geographic and topical coverage.
Implements
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class Coverage : NotificationObject, INotifyPropertyChanged
Constructors
Coverage()
Initializes a new instance of the Coverage class.
Declaration
public Coverage()
Properties
HasValue
Gets a value indicating whether the object has any content.
Declaration
public bool HasValue { get; }
Property Value
Type | Description |
---|---|
bool |
|
SpatialCoverage
Gets the spatial coverage.
Declaration
public SpatialCoverage SpatialCoverage { get; }
Property Value
Type | Description |
---|---|
SpatialCoverage |
TemporalCoverage
Gets the temporal coverage.
Declaration
public TemporalCoverage TemporalCoverage { get; }
Property Value
Type | Description |
---|---|
TemporalCoverage |
TopicalCoverage
Gets the topical coverage.
Declaration
public TopicalCoverage TopicalCoverage { get; }
Property Value
Type | Description |
---|---|
TopicalCoverage |
Methods
GetChildren()
Gets a collection of this item's children.
Declaration
public ChildItemCollection GetChildren()
Returns
Type | Description |
---|---|
ChildItemCollection |
RemoveChild(IdentifierTriple)
Removes the specified child.
Declaration
public 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. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | child |
ReplaceChild(IdentifierTriple, IVersionable)
Replaces the child with the specified identifier with the provided item.
Declaration
public 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. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | child |
WatchProperties()
Watch for property changed events
Declaration
protected override void WatchProperties()