|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultScopeDescription
@ThreadSafe public class DefaultScopeDescription
Description of the class of information covered by the information.
| metadata/geotk-metadata (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class MetadataEntity |
|---|
identifiers |
| Fields inherited from class AbstractMetadata |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
DefaultScopeDescription()
Creates an initially empty scope description. |
|
DefaultScopeDescription(ScopeDescription source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
| Method Summary | |
|---|---|
static DefaultScopeDescription |
castOrCopy(ScopeDescription object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. |
Set<AttributeType> |
getAttributeInstances()
Returns the attribute instances to which the information applies. |
Set<AttributeType> |
getAttributes()
Returns the attributes to which the information applies. |
String |
getDataset()
Returns the dataset to which the information applies. |
Set<FeatureType> |
getFeatureInstances()
Returns the feature instances to which the information applies. |
Set<FeatureType> |
getFeatures()
Returns the features to which the information applies. |
String |
getOther()
Returns the class of information that does not fall into the other categories to which the information applies. |
void |
setAttributeInstances(Set<? extends AttributeType> newValues)
Sets the attribute instances to which the information applies. |
void |
setAttributes(Set<? extends AttributeType> newValues)
Sets the attributes to which the information applies. |
void |
setDataset(String newValue)
Sets the dataset to which the information applies. |
void |
setFeatureInstances(Set<? extends FeatureType> newValues)
Sets the feature instances to which the information applies. |
void |
setFeatures(Set<? extends FeatureType> newValues)
Sets the features to which the information applies. |
void |
setOther(String newValue)
Sets the class of information that does not fall into the other categories to which the information applies. |
| Methods inherited from class MetadataEntity |
|---|
getIdentifier, getIdentifierMap, getIdentifiers, getStandard |
| Methods inherited from class ModifiableMetadata |
|---|
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable |
| Methods inherited from class AbstractMetadata |
|---|
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultScopeDescription()
public DefaultScopeDescription(ScopeDescription source)
source - The metadata to copy, or null if none.| Method Detail |
|---|
public static DefaultScopeDescription castOrCopy(ScopeDescription object)
null, then this method returns null.
Otherwise if the given object is already a Geotk implementation, then the given object is
returned unchanged. Otherwise a new Geotk implementation is created and initialized to the
attribute values of the given object, using a shallow copy operation
(i.e. attributes are not cloned).
object - The object to get as a Geotk implementation, or null if none.
null if the argument was null.public Set<AttributeType> getAttributes()
getAttributes in interface ScopeDescriptionpublic void setAttributes(Set<? extends AttributeType> newValues)
newValues - The new attributes.public Set<FeatureType> getFeatures()
getFeatures in interface ScopeDescriptionpublic void setFeatures(Set<? extends FeatureType> newValues)
newValues - The new features.public Set<FeatureType> getFeatureInstances()
getFeatureInstances in interface ScopeDescriptionpublic void setFeatureInstances(Set<? extends FeatureType> newValues)
newValues - The new feature instances.public Set<AttributeType> getAttributeInstances()
getAttributeInstances in interface ScopeDescriptionpublic void setAttributeInstances(Set<? extends AttributeType> newValues)
newValues - The new attribute instances.public String getDataset()
getDataset in interface ScopeDescriptionpublic void setDataset(String newValue)
newValue - The new dataset.public String getOther()
getOther in interface ScopeDescriptionpublic void setOther(String newValue)
newValue - Other class of information.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||