public class DefaultDataFile extends ISOMetadata implements DataFile
MX_DataFile
└─fileFormat……………………………………………………………
Defines the format of the transfer data file.
└─formatSpecificationCitation……
Citation/URL of the specification format.
├─title……………………………………………………
Name by which the cited resource is known.
└─date………………………………………………………
Reference date for the cited resource.Limitations:
XML
instead.Defined in the sis-metadata
module
identifiers
Constructor and Description |
---|
DefaultDataFile()
Constructs an initially empty data file.
|
DefaultDataFile(DataFile object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultDataFile |
castOrCopy(DataFile object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Collection<LocalName> |
getFeatureTypes()
Returns the list of feature types concerned by the transfer data file.
|
Format |
getFileFormat()
Returns the format of the transfer data file.
|
void |
setFeatureTypes(Collection<? extends LocalName> newValues)
Sets the list of feature types concerned by the transfer data file.
|
void |
setFileFormat(Format newValue)
Sets the format of the transfer data file.
|
freeze, getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultDataFile()
public DefaultDataFile(DataFile object)
object
- the metadata to copy values from, or null
if none.castOrCopy(DataFile)
public static DefaultDataFile castOrCopy(DataFile object)
null
, then this method returns null
.DefaultDataFile
, then it is returned unchanged.DefaultDataFile
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 Collection<LocalName> getFeatureTypes()
getFeatureTypes
in interface DataFile
public void setFeatureTypes(Collection<? extends LocalName> newValues)
newValues
- the new feature type values.public Format getFileFormat()
getFileFormat
in interface DataFile
null
.public void setFileFormat(Format newValue)
newValue
- the new file format value.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.