org.geotools.metadata.iso.distribution
Class FormatImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.distribution.FormatImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.metadata.distribution.Format, java.io.Serializable

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 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
FormatImpl()
          Constructs an initially empty format.
FormatImpl(org.opengis.util.InternationalString name, org.opengis.util.InternationalString version)
          Creates a format initialized to the given name.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this Format with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 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 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.).
 int hashCode()
          Returns a hash code value for this series.
 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 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.).
 java.lang.String toString()
          Returns a string representation of this series.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormatImpl

public FormatImpl()
Constructs an initially empty format.


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 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 newValues)
Set information about the distributor?s format.


freeze

protected void freeze()
Declare this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compare this Format with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this series.


toString

public java.lang.String toString()
Returns a string representation of this series.

To Do:
Provides a more elaborated implementation.


Copyright © GeoTools. All Rights Reserved.