org.geotools.metadata.iso
Class ExtendedElementInformationImpl

java.lang.Object
  extended by org.geotools.metadata.AbstractMetadata
      extended by org.geotools.metadata.ModifiableMetadata
          extended by org.geotools.metadata.iso.MetadataEntity
              extended by org.geotools.metadata.iso.ExtendedElementInformationImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.ExtendedElementInformation

public class ExtendedElementInformationImpl
extends MetadataEntity
implements org.opengis.metadata.ExtendedElementInformation

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

Since:
2.1
Version:
$Id: ExtendedElementInformationImpl.java 31557 2008-09-19 20:02:35Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
ExtendedElementInformationImpl()
          Construct an initially empty extended element information.
ExtendedElementInformationImpl(org.opengis.metadata.ExtendedElementInformation source)
          Constructs a metadata entity initialized with the values from the specified metadata.
ExtendedElementInformationImpl(java.lang.String name, org.opengis.util.InternationalString definition, org.opengis.util.InternationalString condition, org.opengis.metadata.Datatype dataType, java.util.Collection<java.lang.String> parentEntity, org.opengis.util.InternationalString rule, java.util.Collection<? extends org.opengis.metadata.citation.ResponsibleParty> sources)
          Create an extended element information initialized to the given values.
 
Method Summary
 org.opengis.util.InternationalString getCondition()
          Condition under which the extended element is mandatory.
 org.opengis.metadata.Datatype getDataType()
          Code which identifies the kind of value provided in the extended element.
 org.opengis.util.InternationalString getDefinition()
          Definition of the extended element.
 java.lang.Integer getDomainCode()
          Three digit code assigned to the extended element.
 org.opengis.util.InternationalString getDomainValue()
          Valid values that can be assigned to the extended element.
 java.lang.Integer getMaximumOccurrence()
          Maximum occurrence of the extended element.
 java.lang.String getName()
          Name of the extended metadata element.
 org.opengis.metadata.Obligation getObligation()
          Obligation of the extended element.
 java.util.Collection<java.lang.String> getParentEntity()
          Name of the metadata entity(s) under which this extended metadata element may appear.
 java.util.Collection<org.opengis.util.InternationalString> getRationales()
          Reason for creating the extended element.
 org.opengis.util.InternationalString getRule()
          Specifies how the extended element relates to other existing elements and entities.
 java.lang.String getShortName()
          Short form suitable for use in an implementation method such as XML or SGML.
 java.util.Collection<org.opengis.metadata.citation.ResponsibleParty> getSources()
          Name of the person or organization creating the extended element.
 void setCondition(org.opengis.util.InternationalString newValue)
          Set the condition under which the extended element is mandatory.
 void setDataType(org.opengis.metadata.Datatype newValue)
          Set the code which identifies the kind of value provided in the extended element.
 void setDefinition(org.opengis.util.InternationalString newValue)
          Set the definition of the extended element.
 void setDomainCode(java.lang.Integer newValue)
          Set a three digit code assigned to the extended element.
 void setDomainValue(org.opengis.util.InternationalString newValue)
          Set the valid values that can be assigned to the extended element.
 void setMaximumOccurrence(java.lang.Integer newValue)
          Set the maximum occurrence of the extended element.
 void setName(java.lang.String newValue)
          Set the name of the extended metadata element.
 void setObligation(org.opengis.metadata.Obligation newValue)
          Set the obligation of the extended element.
 void setParentEntity(java.util.Collection<? extends java.lang.String> newValues)
          Set the name of the metadata entity(s) under which this extended metadata element may appear.
 void setRationales(java.util.Collection<? extends org.opengis.util.InternationalString> newValues)
          Set the reason for creating the extended element.
 void setRule(org.opengis.util.InternationalString newValue)
          Set how the extended element relates to other existing elements and entities.
 void setShortName(java.lang.String newValue)
          Set a short form suitable for use in an implementation method such as XML or SGML.
 void setSources(java.util.Collection<? extends org.opengis.metadata.citation.ResponsibleParty> newValues)
          Set the name of the person or organization creating the extended element.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class org.geotools.metadata.ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class org.geotools.metadata.AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtendedElementInformationImpl

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


ExtendedElementInformationImpl

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

Since:
2.4

ExtendedElementInformationImpl

public ExtendedElementInformationImpl(java.lang.String name,
                                      org.opengis.util.InternationalString definition,
                                      org.opengis.util.InternationalString condition,
                                      org.opengis.metadata.Datatype dataType,
                                      java.util.Collection<java.lang.String> parentEntity,
                                      org.opengis.util.InternationalString rule,
                                      java.util.Collection<? extends org.opengis.metadata.citation.ResponsibleParty> sources)
Create an extended element information initialized to the given values.

Method Detail

getName

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

Specified by:
getName in interface org.opengis.metadata.ExtendedElementInformation

setName

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


getShortName

public java.lang.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 org.opengis.metadata.ExtendedElementInformation

setShortName

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


getDomainCode

public java.lang.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 org.opengis.metadata.ExtendedElementInformation

setDomainCode

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


getDefinition

public org.opengis.util.InternationalString getDefinition()
Definition of the extended element.

Specified by:
getDefinition in interface org.opengis.metadata.ExtendedElementInformation

setDefinition

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


getObligation

public org.opengis.metadata.Obligation getObligation()
Obligation of the extended element.

Specified by:
getObligation in interface org.opengis.metadata.ExtendedElementInformation

setObligation

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


getCondition

public org.opengis.util.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 org.opengis.metadata.ExtendedElementInformation

setCondition

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


getDataType

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

Specified by:
getDataType in interface org.opengis.metadata.ExtendedElementInformation

setDataType

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


getMaximumOccurrence

public java.lang.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 org.opengis.metadata.ExtendedElementInformation

setMaximumOccurrence

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


getDomainValue

public org.opengis.util.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 org.opengis.metadata.ExtendedElementInformation

setDomainValue

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


getParentEntity

public java.util.Collection<java.lang.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 org.opengis.metadata.ExtendedElementInformation

setParentEntity

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


getRule

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

Specified by:
getRule in interface org.opengis.metadata.ExtendedElementInformation

setRule

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


getRationales

public java.util.Collection<org.opengis.util.InternationalString> getRationales()
Reason for creating the extended element.

Specified by:
getRationales in interface org.opengis.metadata.ExtendedElementInformation

setRationales

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


getSources

public java.util.Collection<org.opengis.metadata.citation.ResponsibleParty> getSources()
Name of the person or organization creating the extended element.

Specified by:
getSources in interface org.opengis.metadata.ExtendedElementInformation

setSources

public void setSources(java.util.Collection<? extends org.opengis.metadata.citation.ResponsibleParty> newValues)
Set the name of the person or organization creating the extended element.



Copyright © 1996-2010 Geotools. All Rights Reserved.