public class DefaultExtendedElementInformation extends ISOMetadata implements ExtendedElementInformation
Defined in the sis-metadata module
identifiers, LOGGER
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()
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.
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, 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.public String getShortName()
getShortName
in interface ExtendedElementInformation
null
.public void setShortName(String newValue)
newValue
- The new short name.public Integer getDomainCode()
getDomainCode
in interface ExtendedElementInformation
null
.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.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.public Collection<InternationalString> getRationales()
getRationales
in interface ExtendedElementInformation
public void setRationales(Collection<? extends InternationalString> newValues)
newValues
- The new rationales.public Collection<ResponsibleParty> getSources()
getSources
in interface ExtendedElementInformation
public void setSources(Collection<? extends ResponsibleParty> newValues)
newValues
- The new sources.Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.