org.geotools.metadata.iso.distribution
Class FormatImpl

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.distribution.FormatImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.distribution.Format

public class FormatImpl
extends MetadataEntity
implements org.opengis.metadata.distribution.Format

Description of the computer language construct that specifies the representation of data objects in a record, file, message, storage device or transmission channel.

Since:
2.1
Version:
$Id: FormatImpl.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
FormatImpl()
          Constructs an initially empty format.
FormatImpl(org.opengis.metadata.distribution.Format source)
          Constructs a metadata entity initialized with the values from the specified metadata.
FormatImpl(org.opengis.util.InternationalString name, org.opengis.util.InternationalString version)
          Creates a format initialized to the given name.
 
Method Summary
 org.opengis.util.InternationalString getAmendmentNumber()
          Returns the amendment number of the format version.
 org.opengis.util.InternationalString getFileDecompressionTechnique()
          Returns recommendations of algorithms or processes that can be applied to read or expand resources to which compression techniques have been applied.
 java.util.Collection<org.opengis.metadata.distribution.Distributor> getFormatDistributors()
          Provides information about the distributor’s format.
 org.opengis.util.InternationalString getName()
          Returns the name of the data transfer format(s).
 org.opengis.util.InternationalString getSpecification()
          Returns the name of a subset, profile, or product specification of the format.
 org.opengis.util.InternationalString getVersion()
          Returne the version of the format (date, number, etc.).
 void setAmendmentNumber(org.opengis.util.InternationalString newValue)
          Set the amendment number of the format version.
 void setFileDecompressionTechnique(org.opengis.util.InternationalString newValue)
          Set recommendations of algorithms or processes that can be applied to read or expand resources to which compression techniques have been applied.
 void setFormatDistributors(java.util.Collection<? extends org.opengis.metadata.distribution.Distributor> newValues)
          Set information about the distributor’s format.
 void setName(org.opengis.util.InternationalString newValue)
          Set the name of the data transfer format(s).
 void setSpecification(org.opengis.util.InternationalString newValue)
          Set the name of a subset, profile, or product specification of the format.
 void setVersion(org.opengis.util.InternationalString newValue)
          Set the version of the format (date, number, etc.).
 
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

FormatImpl

public FormatImpl()
Constructs an initially empty format.


FormatImpl

public FormatImpl(org.opengis.metadata.distribution.Format source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

FormatImpl

public FormatImpl(org.opengis.util.InternationalString name,
                  org.opengis.util.InternationalString version)
Creates a format initialized to the given name.

Method Detail

getName

public org.opengis.util.InternationalString getName()
Returns the name of the data transfer format(s).

Specified by:
getName in interface org.opengis.metadata.distribution.Format

setName

public void setName(org.opengis.util.InternationalString newValue)
Set the name of the data transfer format(s).


getVersion

public org.opengis.util.InternationalString getVersion()
Returne the version of the format (date, number, etc.).

Specified by:
getVersion in interface org.opengis.metadata.distribution.Format

setVersion

public void setVersion(org.opengis.util.InternationalString newValue)
Set the version of the format (date, number, etc.).


getAmendmentNumber

public org.opengis.util.InternationalString getAmendmentNumber()
Returns the amendment number of the format version.

Specified by:
getAmendmentNumber in interface org.opengis.metadata.distribution.Format

setAmendmentNumber

public void setAmendmentNumber(org.opengis.util.InternationalString newValue)
Set the amendment number of the format version.


getSpecification

public org.opengis.util.InternationalString getSpecification()
Returns the name of a subset, profile, or product specification of the format.

Specified by:
getSpecification in interface org.opengis.metadata.distribution.Format

setSpecification

public void setSpecification(org.opengis.util.InternationalString newValue)
Set the name of a subset, profile, or product specification of the format.


getFileDecompressionTechnique

public org.opengis.util.InternationalString getFileDecompressionTechnique()
Returns recommendations of algorithms or processes that can be applied to read or expand resources to which compression techniques have been applied.

Specified by:
getFileDecompressionTechnique in interface org.opengis.metadata.distribution.Format

setFileDecompressionTechnique

public void setFileDecompressionTechnique(org.opengis.util.InternationalString newValue)
Set recommendations of algorithms or processes that can be applied to read or expand resources to which compression techniques have been applied.


getFormatDistributors

public java.util.Collection<org.opengis.metadata.distribution.Distributor> getFormatDistributors()
Provides information about the distributor’s format.

Specified by:
getFormatDistributors in interface org.opengis.metadata.distribution.Format

setFormatDistributors

public void setFormatDistributors(java.util.Collection<? extends org.opengis.metadata.distribution.Distributor> newValues)
Set information about the distributor’s format.



Copyright © 1996-2010 Geotools. All Rights Reserved.