|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultExtendedElementInformation
@ThreadSafe public class DefaultExtendedElementInformation
New metadata element, not found in ISO 19115, which is required to describe geographic data.
| 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 | |
|---|---|
DefaultExtendedElementInformation()
Construct an initially empty extended element information. |
|
DefaultExtendedElementInformation(ExtendedElementInformation source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
DefaultExtendedElementInformation(String name,
InternationalString definition,
InternationalString condition,
Datatype dataType,
Collection<String> parentEntity,
InternationalString rule,
Collection<? extends ResponsibleParty> sources)
Create an extended element information initialized to the given values. |
|
| Method Summary | |
|---|---|
static DefaultExtendedElementInformation |
castOrCopy(ExtendedElementInformation object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. |
InternationalString |
getCondition()
Condition under which the extended element is mandatory. |
Datatype |
getDataType()
Code which identifies the kind of value provided in the extended element. |
InternationalString |
getDefinition()
Definition of the extended element. |
Integer |
getDomainCode()
Three digit code assigned to the extended element. |
InternationalString |
getDomainValue()
Valid values that can be assigned to the extended element. |
Integer |
getMaximumOccurrence()
Maximum occurrence of the extended element. |
String |
getName()
Name of the extended metadata element. |
Obligation |
getObligation()
Obligation of the extended element. |
Collection<String> |
getParentEntity()
Name of the metadata entity(s) under which this extended metadata element may appear. |
Collection<InternationalString> |
getRationales()
Reason for creating the extended element. |
InternationalString |
getRule()
Specifies how the extended element relates to other existing elements and entities. |
String |
getShortName()
Short form suitable for use in an implementation method such as XML or SGML. |
Collection<ResponsibleParty> |
getSources()
Name of the person or organization creating the extended element. |
void |
setCondition(InternationalString newValue)
Sets the condition under which the extended element is mandatory. |
void |
setDataType(Datatype newValue)
Sets the code which identifies the kind of value provided in the extended element. |
void |
setDefinition(InternationalString newValue)
Sets the definition of the extended element. |
void |
setDomainCode(Integer newValue)
Sets a three digit code assigned to the extended element. |
void |
setDomainValue(InternationalString newValue)
Sets the valid values that can be assigned to the extended element. |
void |
setMaximumOccurrence(Integer newValue)
Sets the maximum occurrence of the extended element. |
void |
setName(String newValue)
Sets the name of the extended metadata element. |
void |
setObligation(Obligation newValue)
Sets the obligation of the extended element. |
void |
setParentEntity(Collection<? extends String> newValues)
Sets the name of the metadata entity(s) under which this extended metadata element may appear. |
void |
setRationales(Collection<? extends InternationalString> newValues)
Sets the reason for creating the extended element. |
void |
setRule(InternationalString newValue)
Sets how the extended element relates to other existing elements and entities. |
void |
setShortName(String newValue)
Sets a short form suitable for use in an implementation method such as XML or SGML. |
void |
setSources(Collection<? extends ResponsibleParty> newValues)
Sets the name of the person or organization creating the extended element. |
| 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 DefaultExtendedElementInformation()
public DefaultExtendedElementInformation(ExtendedElementInformation source)
source - The metadata to copy, or null if none.
public DefaultExtendedElementInformation(String name,
InternationalString definition,
InternationalString condition,
Datatype dataType,
Collection<String> parentEntity,
InternationalString rule,
Collection<? extends ResponsibleParty> sources)
name - The name of the extended metadata element.definition - The definition of the extended element.condition - The condition under which the extended element is mandatory.dataType - The code which identifies the kind of value provided in the extended element.parentEntity - The name of the metadata entity(s) under which this extended metadata element may appear.rule - How the extended element relates to other existing elements and entities.sources - The name of the person or organization creating the extended element.| Method Detail |
|---|
public static DefaultExtendedElementInformation castOrCopy(ExtendedElementInformation 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 String getName()
getName in interface ExtendedElementInformationpublic void setName(String newValue)
newValue - The new name.public String getShortName()
null if the data type
is code list element.
getShortName in interface ExtendedElementInformationpublic void setShortName(String newValue)
newValue - The new short name.public Integer getDomainCode()
getDomainCode in interface ExtendedElementInformationpublic void setDomainCode(Integer newValue)
newValue - The new domain code.public InternationalString getDefinition()
getDefinition in interface ExtendedElementInformationpublic void setDefinition(InternationalString newValue)
newValue - The new definition.public Obligation getObligation()
getObligation in interface ExtendedElementInformationpublic void setObligation(Obligation newValue)
newValue - The new obligation.public InternationalString getCondition()
getCondition in interface ExtendedElementInformationpublic void setCondition(InternationalString newValue)
newValue - The new condition.public Datatype getDataType()
getDataType in interface ExtendedElementInformationpublic void setDataType(Datatype newValue)
newValue - The new data type.@ValueRange(minimum=0.0) public Integer getMaximumOccurrence()
null if it doesn't apply, for example if the
data type is enumeration,
code list or code list element.
getMaximumOccurrence in interface ExtendedElementInformationpublic void setMaximumOccurrence(Integer newValue)
newValue - The new maximum occurrence.public InternationalString getDomainValue()
null if it doesn't apply, for example if the
data type is enumeration,
code list or code list element.
getDomainValue in interface ExtendedElementInformationpublic void setDomainValue(InternationalString newValue)
newValue - The new domain value.public Collection<String> getParentEntity()
getParentEntity in interface ExtendedElementInformationpublic void setParentEntity(Collection<? extends String> newValues)
newValues - The new parent entity.public InternationalString getRule()
getRule in interface ExtendedElementInformationpublic void setRule(InternationalString newValue)
newValue - The new rule.public Collection<InternationalString> getRationales()
getRationales in interface ExtendedElementInformationpublic void setRationales(Collection<? extends InternationalString> newValues)
newValues - The new rationales.public Collection<ResponsibleParty> getSources()
getSources in interface ExtendedElementInformationpublic void setSources(Collection<? extends ResponsibleParty> newValues)
newValues - The new sources.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||