public class DefaultFormat extends ISOMetadata implements Format
Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultFormat()
Constructs an initially empty format.
|
DefaultFormat(CharSequence name,
CharSequence version)
Creates a format initialized to the given name and version.
|
DefaultFormat(Format object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultFormat |
castOrCopy(Format object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
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()
Returns the version of the format (date, number, etc.).
|
void |
setAmendmentNumber(InternationalString newValue)
Sets the amendment number of the format version.
|
void |
setFileDecompressionTechnique(InternationalString newValue)
Sets 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)
Sets information about the distributor's format.
|
void |
setName(InternationalString newValue)
Sets the name of the data transfer format(s).
|
void |
setSpecification(InternationalString newValue)
Sets the name of a subset, profile, or product specification of the format.
|
void |
setVersion(InternationalString newValue)
Sets the version of the format (date, number, etc.).
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultFormat()
public DefaultFormat(CharSequence name, CharSequence version)
name
- The name of the data transfer format(s), or null
.version
- The version of the format (date, number, etc.), or null
.public DefaultFormat(Format object)
object
- The metadata to copy values from, or null
if none.castOrCopy(Format)
public static DefaultFormat castOrCopy(Format object)
null
, then this method returns null
.DefaultFormat
, then it is returned unchanged.DefaultFormat
instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object
- The object to get as a SIS implementation, or null
if none.null
if the argument was null.public InternationalString getName()
public void setName(InternationalString newValue)
newValue
- The new name.public InternationalString getVersion()
getVersion
in interface Format
null
.public void setVersion(InternationalString newValue)
newValue
- The new version.public InternationalString getAmendmentNumber()
getAmendmentNumber
in interface Format
null
.public void setAmendmentNumber(InternationalString newValue)
newValue
- The new amendment number.public InternationalString getSpecification()
getSpecification
in interface Format
null
.public void setSpecification(InternationalString newValue)
newValue
- The new specification.public InternationalString getFileDecompressionTechnique()
getFileDecompressionTechnique
in interface Format
null
.public void setFileDecompressionTechnique(InternationalString newValue)
newValue
- The new file decompression technique.public Collection<Distributor> getFormatDistributors()
getFormatDistributors
in interface Format
public void setFormatDistributors(Collection<? extends Distributor> newValues)
newValues
- The new format distributors.Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.