org.geotools.metadata.iso
Class ExtendedElementInformationImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by ExtendedElementInformationImpl
All Implemented Interfaces:
Serializable, Cloneable, ExtendedElementInformation

public class ExtendedElementInformationImpl
extends MetadataEntity
implements ExtendedElementInformation

New metadata element, not found in ISO 19115, which is required to describe geographic data.

Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form
Module:
modules/library/metadata (gt-metadata.jar)

Field Summary
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
ExtendedElementInformationImpl()
          Construct an initially empty extended element information.
ExtendedElementInformationImpl(ExtendedElementInformation source)
          Constructs a metadata entity initialized with the values from the specified metadata.
ExtendedElementInformationImpl(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
 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)
          Set the condition under which the extended element is mandatory.
 void setDataType(Datatype newValue)
          Set the code which identifies the kind of value provided in the extended element.
 void setDefinition(InternationalString newValue)
          Set the definition of the extended element.
 void setDomainCode(Integer newValue)
          Set a three digit code assigned to the extended element.
 void setDomainValue(InternationalString newValue)
          Set the valid values that can be assigned to the extended element.
 void setMaximumOccurrence(Integer newValue)
          Set the maximum occurrence of the extended element.
 void setName(String newValue)
          Set the name of the extended metadata element.
 void setObligation(Obligation newValue)
          Set the obligation of the extended element.
 void setParentEntity(Collection<? extends String> newValues)
          Set the name of the metadata entity(s) under which this extended metadata element may appear.
 void setRationales(Collection<? extends InternationalString> newValues)
          Set the reason for creating the extended element.
 void setRule(InternationalString newValue)
          Set how the extended element relates to other existing elements and entities.
 void setShortName(String newValue)
          Set a short form suitable for use in an implementation method such as XML or SGML.
 void setSources(Collection<? extends ResponsibleParty> newValues)
          Set the name of the person or organization creating the extended element.
 
Methods inherited from class MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtendedElementInformationImpl

public ExtendedElementInformationImpl()
Construct an initially empty extended element information.


ExtendedElementInformationImpl

public ExtendedElementInformationImpl(ExtendedElementInformation source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

ExtendedElementInformationImpl

public ExtendedElementInformationImpl(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 Detail

getName

public String getName()
Name of the extended metadata element.

Specified by:
getName in interface ExtendedElementInformation

setName

public void setName(String newValue)
Set the name of the extended metadata element.


getShortName

public String getShortName()
Short form suitable for use in an implementation method such as XML or SGML. NOTE: other methods may be used. Returns null if the data type is code list element.

Specified by:
getShortName in interface ExtendedElementInformation

setShortName

public void setShortName(String newValue)
Set a short form suitable for use in an implementation method such as XML or SGML.


getDomainCode

public Integer getDomainCode()
Three digit code assigned to the extended element. Returns a non-null value only if the data type is code list element.

Specified by:
getDomainCode in interface ExtendedElementInformation

setDomainCode

public void setDomainCode(Integer newValue)
Set a three digit code assigned to the extended element.


getDefinition

public InternationalString getDefinition()
Definition of the extended element.

Specified by:
getDefinition in interface ExtendedElementInformation

setDefinition

public void setDefinition(InternationalString newValue)
Set the definition of the extended element.


getObligation

public Obligation getObligation()
Obligation of the extended element.

Specified by:
getObligation in interface ExtendedElementInformation

setObligation

public void setObligation(Obligation newValue)
Set the obligation of the extended element.


getCondition

public InternationalString getCondition()
Condition under which the extended element is mandatory. Returns a non-null value only if the obligation is conditional.

Specified by:
getCondition in interface ExtendedElementInformation

setCondition

public void setCondition(InternationalString newValue)
Set the condition under which the extended element is mandatory.


getDataType

public Datatype getDataType()
Code which identifies the kind of value provided in the extended element.

Specified by:
getDataType in interface ExtendedElementInformation

setDataType

public void setDataType(Datatype newValue)
Set the code which identifies the kind of value provided in the extended element.


getMaximumOccurrence

public Integer getMaximumOccurrence()
Maximum occurrence of the extended element. Returns null if it doesn't apply, for example if the data type is enumeration, code list or code list element.

Specified by:
getMaximumOccurrence in interface ExtendedElementInformation

setMaximumOccurrence

public void setMaximumOccurrence(Integer newValue)
Set the maximum occurrence of the extended element.


getDomainValue

public InternationalString getDomainValue()
Valid values that can be assigned to the extended element. Returns null if it doesn't apply, for example if the data type is enumeration, code list or code list element.

Specified by:
getDomainValue in interface ExtendedElementInformation

setDomainValue

public void setDomainValue(InternationalString newValue)
Set the valid values that can be assigned to the extended element.


getParentEntity

public Collection<String> getParentEntity()
Name of the metadata entity(s) under which this extended metadata element may appear. The name(s) may be standard metadata element(s) or other extended metadata element(s).

Specified by:
getParentEntity in interface ExtendedElementInformation

setParentEntity

public void setParentEntity(Collection<? extends String> newValues)
Set the name of the metadata entity(s) under which this extended metadata element may appear.


getRule

public InternationalString getRule()
Specifies how the extended element relates to other existing elements and entities.

Specified by:
getRule in interface ExtendedElementInformation

setRule

public void setRule(InternationalString newValue)
Set how the extended element relates to other existing elements and entities.


getRationales

public Collection<InternationalString> getRationales()
Reason for creating the extended element.

Specified by:
getRationales in interface ExtendedElementInformation

setRationales

public void setRationales(Collection<? extends InternationalString> newValues)
Set the reason for creating the extended element.


getSources

public Collection<ResponsibleParty> getSources()
Name of the person or organization creating the extended element.

Specified by:
getSources in interface ExtendedElementInformation

setSources

public void setSources(Collection<? extends ResponsibleParty> newValues)
Set the name of the person or organization creating the extended element.



Copyright © 1996-2009 Geotools. All Rights Reserved.