|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultFormat
@ThreadSafe public class DefaultFormat
Description of the computer language construct that specifies the representation of data objects in a record, file, message, storage device or transmission channel.
| metadata/geotk-metadata (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class MetadataEntity |
|---|
identifiers |
| Fields inherited from class AbstractMetadata |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
DefaultFormat()
Constructs an initially empty format. |
|
DefaultFormat(Format source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
DefaultFormat(InternationalString name,
InternationalString version)
Creates a format initialized to the given name. |
|
| Method Summary | |
|---|---|
static DefaultFormat |
castOrCopy(Format object)
Returns a Geotk metadata implementation with the same values than 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 distributors 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)
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 distributors 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.). |
| Methods inherited from class MetadataEntity |
|---|
getIdentifier, getIdentifierMap, getIdentifiers, getStandard |
| Methods inherited from class ModifiableMetadata |
|---|
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable |
| Methods inherited from class AbstractMetadata |
|---|
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFormat()
public DefaultFormat(Format source)
source - The metadata to copy, or null if none.
public DefaultFormat(InternationalString name,
InternationalString version)
name - The name of the data transfer format(s).version - The version of the format (date, number, etc.).| Method Detail |
|---|
public static DefaultFormat castOrCopy(Format object)
null, then this method returns null.
Otherwise if the given object is already a Geotk implementation, then the given object is
returned unchanged. Otherwise a new Geotk implementation is created and initialized to the
attribute values of the given object, using a shallow copy operation
(i.e. attributes are not cloned).
object - The object to get as a Geotk implementation, or null if none.
null if the argument was null.public InternationalString getName()
getName in interface Formatpublic void setName(InternationalString newValue)
newValue - The new name.public InternationalString getVersion()
getVersion in interface Formatpublic void setVersion(InternationalString newValue)
newValue - The new version.public InternationalString getAmendmentNumber()
getAmendmentNumber in interface Formatpublic void setAmendmentNumber(InternationalString newValue)
newValue - The new amendment number.public InternationalString getSpecification()
getSpecification in interface Formatpublic void setSpecification(InternationalString newValue)
newValue - The new specification.public InternationalString getFileDecompressionTechnique()
getFileDecompressionTechnique in interface Formatpublic void setFileDecompressionTechnique(InternationalString newValue)
newValue - The new file decompression technique.public Collection<Distributor> getFormatDistributors()
getFormatDistributors in interface Formatpublic void setFormatDistributors(Collection<? extends Distributor> newValues)
newValues - The new format distributors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||