org.geotools.metadata.iso.distribution
Class FormatImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by FormatImpl
All Implemented Interfaces:
Serializable, Cloneable, Format

public class FormatImpl
extends MetadataEntity
implements 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
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

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

FormatImpl

public FormatImpl()
Constructs an initially empty format.


FormatImpl

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

Since:
2.4

FormatImpl

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

Method Detail

getName

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

Specified by:
getName in interface Format
Returns:
Name of the data transfer format(s).

setName

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


getVersion

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

Specified by:
getVersion in interface Format
Returns:
Version of the format.

setVersion

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


getAmendmentNumber

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

Specified by:
getAmendmentNumber in interface Format
Returns:
Amendment number of the format version, or null.

setAmendmentNumber

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


getSpecification

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

Specified by:
getSpecification in interface Format
Returns:
Name of a subset, profile, or product specification of the format, or null.

setSpecification

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


getFileDecompressionTechnique

public 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 Format
Returns:
Processes that can be applied to read resources to which compression techniques have been applied, or null.

setFileDecompressionTechnique

public void setFileDecompressionTechnique(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 Collection<Distributor> getFormatDistributors()
Provides information about the distributor’s format.

Specified by:
getFormatDistributors in interface Format
Returns:
Information about the distributor's format.

setFormatDistributors

public void setFormatDistributors(Collection<? extends Distributor> newValues)
Set information about the distributor’s format.



Copyright © 1996-2014 Geotools. All Rights Reserved.