public class DefaultScopeDescription extends ISOMetadata implements ScopeDescription
MD_ScopeDescription
├─attributeInstances…… Attribute instances to which the information applies.
├─attributes………………………… Attributes to which the information applies.
├─dataset………………………………… Dataset to which the information applies.
├─featureInstances………… Feature instances to which the information applies.
├─features……………………………… Features to which the information applies.
└─other……………………………………… Class of information that does not fall into the other categories to which the information applies.ScopeDescription as an union (in the C/C++ sense):
only one of the properties in this class can be set to a non-empty value.
Setting any property to a non-empty value discard all the other ones.
XML instead.Defined in the sis-metadata module
identifiers| Constructor and Description |
|---|
DefaultScopeDescription()
Creates an initially empty scope description.
|
DefaultScopeDescription(ScopeDescription object)
Constructs a new instance initialized with the values from the specified metadata object.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultScopeDescription |
castOrCopy(ScopeDescription object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Set<AttributeType> |
getAttributeInstances()
Returns the attribute instances to which the information applies.
|
Set<AttributeType> |
getAttributes()
Returns the attribute types 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 feature types 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 attribute types 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 feature types 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.
|
freeze, getIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringpublic DefaultScopeDescription()
public DefaultScopeDescription(ScopeDescription object)
If the given object contains more than one value, then the first non-null element in the following list has precedence (from wider scope to smaller scope): dataset, features, attributes, feature instances, attribute instances and other.
object - the metadata to copy values from, or null if none.castOrCopy(ScopeDescription)public static DefaultScopeDescription castOrCopy(ScopeDescription object)
null, then this method returns null.DefaultScopeDescription, then it is returned unchanged.DefaultScopeDescription instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object - the object to get as a SIS implementation, or null if none.null if the argument was null.public String getDataset()
ScopeCode.DATASET level with a
“Administrative area A, B & C” description.
getDataset in interface ScopeDescriptionnull.public void setDataset(String newValue)
newValue is non-null, then this method automatically
discards all other properties.newValue - the new dataset.public Set<FeatureType> getFeatures()
ScopeCode.FEATURE_TYPE level with a
“Administrative area A — Road network” description.
Set<CharSequence> for ISO 19115:2014 conformance.
See GEO-238 for more information.getFeatures in interface ScopeDescriptionpublic void setFeatures(Set<? extends FeatureType> newValues)
newValue is non-empty, then this method automatically
discards all other properties.
Set<CharSequence> for ISO 19115:2014 conformance.
See GEO-238 for more information.newValues - the new feature types.public Set<AttributeType> getAttributes()
ScopeCode.ATTRIBUTE_TYPE level with a
“Administrative area A — Overhead clearance” description.
Set<CharSequence> for ISO 19115:2014 conformance.
See GEO-238 for more information.getAttributes in interface ScopeDescriptionpublic void setAttributes(Set<? extends AttributeType> newValues)
newValue is non-empty, then this method automatically
discards all other properties.
Set<CharSequence> for ISO 19115:2014 conformance.
See GEO-238 for more information.newValues - the new attribute types.public Set<FeatureType> getFeatureInstances()
ScopeCode.FEATURE level with a
“Administrative area A — New bridge” description.
Set<CharSequence> for ISO 19115:2014 conformance.
See GEO-238 for more information.getFeatureInstances in interface ScopeDescriptionpublic void setFeatureInstances(Set<? extends FeatureType> newValues)
newValue is non-empty, then this method automatically
discards all other properties.
Set<CharSequence> for ISO 19115:2014 conformance.
See GEO-238 for more information.newValues - the new feature instances.public Set<AttributeType> getAttributeInstances()
ScopeCode.ATTRIBUTE level with a
“Administrative area A — New bridge — Overhead clearance” description.
Set<CharSequence> for ISO 19115:2014 conformance.
See GEO-238 for more information.getAttributeInstances in interface ScopeDescriptionpublic void setAttributeInstances(Set<? extends AttributeType> newValues)
newValue is non-empty, then this method automatically
discards all other properties.
Set<CharSequence> for ISO 19115:2014 conformance.
See GEO-238 for more information.newValues - the new attribute instances.public String getOther()
InternationalString for ISO 19115:2014 conformance.
See GEO-221 for more information.getOther in interface ScopeDescriptionnull.public void setOther(String newValue)
newValue is non-null, then this method automatically
discards all other properties.
InternationalString for ISO 19115:2014 conformance.
See GEO-221 for more information.newValue - Other class of information.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.