@TitleProperty(name="name") public class DefaultExtendedElementInformation extends ISOMetadata implements ExtendedElementInformation
MD_ExtendedElementInformation
├─name………………………………………………………
Name of the extended metadata element.
├─definition………………………………………
Definition of the extended element.
├─obligation………………………………………
Obligation of the extended element.
├─condition…………………………………………
Condition under which the extended element is mandatory.
├─dataType……………………………………………
Code which identifies the kind of value provided in the extended element.
├─maximumOccurrence……………………
Maximum occurrence of the extended element.
├─domainValue……………………………………
Valid values that can be assigned to the extended element.
├─parentEntity…………………………………
Name of the metadata entity(s) under which this extended metadata element may appear.
├─rule………………………………………………………
Specifies how the extended element relates to other existing elements and entities.
└─source…………………………………………………
Name of the person or organisation creating the extended element.
├─party…………………………………………
Information about the parties.
│ └─name…………………………………
Name of the party.
└─role……………………………………………
Function performed by the responsible party.Limitations:
XML
instead.Defined in the sis-metadata
module
identifiers
Constructor and Description |
---|
DefaultExtendedElementInformation()
Construct an initially empty extended element information.
|
DefaultExtendedElementInformation(ExtendedElementInformation object)
Constructs a new instance initialized with the values from the specified metadata object.
|
DefaultExtendedElementInformation(String name,
CharSequence definition,
CharSequence condition,
Datatype dataType,
String parentEntity,
CharSequence rule,
ResponsibleParty source)
Create an extended element information initialized to the given values.
|
Modifier and Type | Method and Description |
---|---|
static DefaultExtendedElementInformation |
castOrCopy(ExtendedElementInformation object)
Returns a SIS metadata implementation with the values of 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()
Deprecated.
Removed as of ISO 19115:2014.
|
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.
|
InternationalString |
getRationale()
Returns the reason for creating the extended element.
|
Collection<InternationalString> |
getRationales()
Deprecated.
As of ISO 19115:2014, replaced by
getRationale() . |
InternationalString |
getRule()
Specifies how the extended element relates to other existing elements and entities.
|
String |
getShortName()
Deprecated.
Removed as of ISO 19115:2014.
|
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)
Deprecated.
Removed as of ISO 19115:2014.
|
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 |
setRationale(InternationalString newValue)
Sets the reason for creating the extended element.
|
void |
setRationales(Collection<? extends InternationalString> newValues)
Deprecated.
As of ISO 19115:2014, replaced by
setRationale(InternationalString) . |
void |
setRule(InternationalString newValue)
Sets how the extended element relates to other existing elements and entities.
|
void |
setShortName(String newValue)
Deprecated.
Removed as of ISO 19115:2014.
|
void |
setSources(Collection<? extends ResponsibleParty> newValues)
Sets the name of the person or organization creating the extended element.
|
freeze, getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultExtendedElementInformation()
public DefaultExtendedElementInformation(String name, CharSequence definition, CharSequence condition, Datatype dataType, String parentEntity, CharSequence rule, ResponsibleParty source)
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.source
- the name of the person or organization creating the extended element.public DefaultExtendedElementInformation(ExtendedElementInformation object)
object
- the metadata to copy values from, or null
if none.castOrCopy(ExtendedElementInformation)
public static DefaultExtendedElementInformation castOrCopy(ExtendedElementInformation object)
null
, then this method returns null
.DefaultExtendedElementInformation
, then it is returned unchanged.DefaultExtendedElementInformation
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 getName()
getName
in interface ExtendedElementInformation
null
.public void setName(String newValue)
newValue
- the new name.@Deprecated public String getShortName()
getShortName
in interface ExtendedElementInformation
null
.@Deprecated public void setShortName(String newValue)
newValue
- the new short name.@Deprecated public Integer getDomainCode()
getDomainCode
in interface ExtendedElementInformation
null
.@Deprecated public void setDomainCode(Integer newValue)
newValue
- the new domain code.public InternationalString getDefinition()
getDefinition
in interface ExtendedElementInformation
null
.public void setDefinition(InternationalString newValue)
newValue
- the new definition.public Obligation getObligation()
getObligation
in interface ExtendedElementInformation
null
.public void setObligation(Obligation newValue)
newValue
- the new obligation.public InternationalString getCondition()
getCondition
in interface ExtendedElementInformation
null
.public void setCondition(InternationalString newValue)
newValue
- the new condition.public Datatype getDataType()
getDataType
in interface ExtendedElementInformation
null
.public 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 ExtendedElementInformation
null
.public void setMaximumOccurrence(Integer newValue)
newValue
- the new maximum occurrence, or null
.IllegalArgumentException
- if the given value is negative.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 ExtendedElementInformation
null
.public void setDomainValue(InternationalString newValue)
newValue
- the new domain value.public Collection<String> getParentEntity()
getParentEntity
in interface ExtendedElementInformation
public void setParentEntity(Collection<? extends String> newValues)
newValues
- the new parent entity.public InternationalString getRule()
getRule
in interface ExtendedElementInformation
null
.public void setRule(InternationalString newValue)
newValue
- the new rule.@UML(identifier="rationale", obligation=OPTIONAL, specification=ISO_19115) public InternationalString getRationale()
null
.public void setRationale(InternationalString newValue)
newValue
- the new rationale.@Deprecated public Collection<InternationalString> getRationales()
getRationale()
.getRationales
in interface ExtendedElementInformation
@Deprecated public void setRationales(Collection<? extends InternationalString> newValues)
setRationale(InternationalString)
.newValues
- the new rationales.public Collection<ResponsibleParty> getSources()
ResponsibleParty
is replaced by the Responsibility
parent interface.
This change may be applied in GeoAPI 4.0.
getSources
in interface ExtendedElementInformation
public void setSources(Collection<? extends ResponsibleParty> newValues)
ResponsibleParty
is replaced by the Responsibility
parent interface.
This change may be applied in GeoAPI 4.0.
newValues
- the new sources.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.