|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultMetadata
@ThreadSafe public class DefaultMetadata
Root entity which defines metadata about a resource or resources.
Localization
When this object is marshalled as an ISO 19139 compliant XML document, the value
given to the setLanguage(Locale) method will be used for the localization
of InternationalString and CodeList
instances of in this DefaultMetadata object and every children, as required by
INSPIRE rules. If no language were specified, then the default locale will be the one
defined in the XML.LOCALE marshaller property, if any.
| 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 | |
|---|---|
DefaultMetadata()
Creates an initially empty metadata. |
|
DefaultMetadata(Metadata source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
DefaultMetadata(ResponsibleParty contact,
Date dateStamp,
Identification identificationInfo)
Creates a meta data initialized to the specified values. |
|
| Method Summary | |
|---|---|
static DefaultMetadata |
castOrCopy(Metadata object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. |
Collection<AcquisitionInformation> |
getAcquisitionInformation()
Provides information about the acquisition of the data. |
Collection<ApplicationSchemaInformation> |
getApplicationSchemaInfo()
Provides information about the conceptual schema of a dataset. |
CharacterSet |
getCharacterSet()
Returns the full name of the character coding standard used for the metadata set. |
Collection<ResponsibleParty> |
getContacts()
Returns the parties responsible for the metadata information. |
Collection<ContentInformation> |
getContentInfo()
Provides information about the feature catalogue and describes the coverage and image data characteristics. |
Collection<DataQuality> |
getDataQualityInfo()
Provides overall assessment of quality of a resource(s). |
String |
getDataSetUri()
Provides the URI of the dataset to which the metadata applies. |
Date |
getDateStamp()
Returns the date that the metadata was created. |
Distribution |
getDistributionInfo()
Provides information about the distributor of and options for obtaining the resource(s). |
String |
getFileIdentifier()
Returns the unique identifier for this metadata file, or null if none. |
Collection<String> |
getHierarchyLevelNames()
Returns the name of the hierarchy levels for which the metadata is provided. |
Collection<ScopeCode> |
getHierarchyLevels()
Returns the scope to which the metadata applies. |
Collection<Identification> |
getIdentificationInfo()
Returns basic information about the resource(s) to which the metadata applies. |
Locale |
getLanguage()
Returns the language used for documenting metadata. |
Collection<Locale> |
getLocales()
Provides information about an alternatively used localized character string for a linguistic extension. |
Collection<Constraints> |
getMetadataConstraints()
Provides restrictions on the access and use of data. |
Collection<MetadataExtensionInformation> |
getMetadataExtensionInfo()
Returns information describing metadata extensions. |
MaintenanceInformation |
getMetadataMaintenance()
Provides information about the frequency of metadata updates, and the scope of those updates. |
String |
getMetadataStandardName()
Returns the name of the metadata standard (including profile name) used. |
String |
getMetadataStandardVersion()
Returns the version (profile) of the metadata standard used. |
String |
getParentIdentifier()
Returns the file identifier of the metadata to which this metadata is a subset (child). |
Collection<PortrayalCatalogueReference> |
getPortrayalCatalogueInfo()
Provides information about the catalogue of rules defined for the portrayal of a resource(s). |
Collection<ReferenceSystem> |
getReferenceSystemInfo()
Returns the description of the spatial and temporal reference systems used in the dataset. |
Collection<SpatialRepresentation> |
getSpatialRepresentationInfo()
Returns the digital representation of spatial information in the dataset. |
void |
setAcquisitionInformation(Collection<? extends AcquisitionInformation> newValues)
Sets information about the acquisition of the data. |
void |
setApplicationSchemaInfo(Collection<? extends ApplicationSchemaInformation> newValues)
Provides information about the conceptual schema of a dataset. |
void |
setCharacterSet(CharacterSet newValue)
Sets the full name of the character coding standard used for the metadata set. |
void |
setContacts(Collection<? extends ResponsibleParty> newValues)
Sets the parties responsible for the metadata information. |
void |
setContentInfo(Collection<? extends ContentInformation> newValues)
Sets information about the feature catalogue and describes the coverage and image data characteristics. |
void |
setDataQualityInfo(Collection<? extends DataQuality> newValues)
Sets overall assessment of quality of a resource(s). |
void |
setDataSetUri(String newValue)
Sets the URI of the dataset to which the metadata applies. |
void |
setDateStamp(Date newValue)
Sets the date that the metadata was created. |
void |
setDistributionInfo(Distribution newValue)
Provides information about the distributor of and options for obtaining the resource(s). |
void |
setFileIdentifier(String newValue)
Sets the unique identifier for this metadata file, or null if none. |
void |
setHierarchyLevelNames(Collection<? extends String> newValues)
Sets the name of the hierarchy levels for which the metadata is provided. |
void |
setHierarchyLevels(Collection<? extends ScopeCode> newValues)
Sets the scope to which the metadata applies. |
void |
setIdentificationInfo(Collection<? extends Identification> newValues)
Sets basic information about the resource(s) to which the metadata applies. |
void |
setLanguage(Locale newValue)
Sets the language used for documenting metadata. |
void |
setLocales(Collection<? extends Locale> newValues)
Sets information about an alternatively used localized character string for a linguistic extension. |
void |
setMetadataConstraints(Collection<? extends Constraints> newValues)
Sets restrictions on the access and use of data. |
void |
setMetadataExtensionInfo(Collection<? extends MetadataExtensionInformation> newValues)
Sets information describing metadata extensions. |
void |
setMetadataMaintenance(MaintenanceInformation newValue)
Sets information about the frequency of metadata updates, and the scope of those updates. |
void |
setMetadataStandardName(String newValue)
Name of the metadata standard (including profile name) used. |
void |
setMetadataStandardVersion(String newValue)
Sets the version (profile) of the metadata standard used. |
void |
setParentIdentifier(String newValue)
Sets the file identifier of the metadata to which this metadata is a subset (child). |
void |
setPortrayalCatalogueInfo(Collection<? extends PortrayalCatalogueReference> newValues)
Sets information about the catalogue of rules defined for the portrayal of a resource(s). |
void |
setReferenceSystemInfo(Collection<? extends ReferenceSystem> newValues)
Sets the description of the spatial and temporal reference systems used in the dataset. |
void |
setSpatialRepresentationInfo(Collection<? extends SpatialRepresentation> newValues)
Sets the digital representation of spatial information in the dataset. |
| 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 DefaultMetadata()
public DefaultMetadata(Metadata source)
source - The metadata to copy, or null if none.
public DefaultMetadata(ResponsibleParty contact,
Date dateStamp,
Identification identificationInfo)
contact - Party responsible for the metadata information.dateStamp - Date that the metadata was created.identificationInfo - Basic information about the resource
to which the metadata applies.| Method Detail |
|---|
public static DefaultMetadata castOrCopy(Metadata 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 String getFileIdentifier()
null if none.
getFileIdentifier in interface Metadatapublic void setFileIdentifier(String newValue)
null if none.
newValue - The new identifier.public Locale getLanguage()
DefaultMetadata object and
its children will use that locale for marshalling InternationalString
and CodeList instances in ISO 19139 compliant XML documents.
getLanguage in interface Metadatapublic void setLanguage(Locale newValue)
DefaultMetadata object and its
children will use the given locale for marshalling InternationalString
and CodeList instances in ISO 19139 compliant XML documents.
newValue - The new language.XML.LOCALEpublic CharacterSet getCharacterSet()
getCharacterSet in interface Metadatapublic void setCharacterSet(CharacterSet newValue)
newValue - The new character set.public String getParentIdentifier()
getParentIdentifier in interface Metadatapublic void setParentIdentifier(String newValue)
newValue - The new parent identifier.public Collection<ScopeCode> getHierarchyLevels()
getHierarchyLevels in interface Metadatapublic void setHierarchyLevels(Collection<? extends ScopeCode> newValues)
newValues - The new hierarchy levels.public Collection<String> getHierarchyLevelNames()
getHierarchyLevelNames in interface Metadatapublic void setHierarchyLevelNames(Collection<? extends String> newValues)
newValues - The new hierarchy level names.public Collection<ResponsibleParty> getContacts()
getContacts in interface Metadatapublic void setContacts(Collection<? extends ResponsibleParty> newValues)
newValues - The new contacts.public Date getDateStamp()
getDateStamp in interface Metadatapublic void setDateStamp(Date newValue)
newValue - The new date stamp.public String getMetadataStandardName()
getMetadataStandardName in interface Metadatapublic void setMetadataStandardName(String newValue)
newValue - The new metadata standard name.public String getMetadataStandardVersion()
getMetadataStandardVersion in interface Metadatapublic void setMetadataStandardVersion(String newValue)
newValue - The new metadata standard version.public Collection<SpatialRepresentation> getSpatialRepresentationInfo()
getSpatialRepresentationInfo in interface Metadatapublic void setSpatialRepresentationInfo(Collection<? extends SpatialRepresentation> newValues)
newValues - The new spatial representation info.public Collection<ReferenceSystem> getReferenceSystemInfo()
getReferenceSystemInfo in interface Metadatapublic void setReferenceSystemInfo(Collection<? extends ReferenceSystem> newValues)
newValues - The new reference system info.public Collection<MetadataExtensionInformation> getMetadataExtensionInfo()
getMetadataExtensionInfo in interface Metadatapublic void setMetadataExtensionInfo(Collection<? extends MetadataExtensionInformation> newValues)
newValues - The new metadata extension info.public Collection<Identification> getIdentificationInfo()
getIdentificationInfo in interface Metadatapublic void setIdentificationInfo(Collection<? extends Identification> newValues)
newValues - The new identification info.public Collection<ContentInformation> getContentInfo()
getContentInfo in interface Metadatapublic void setContentInfo(Collection<? extends ContentInformation> newValues)
newValues - The new content info.public Distribution getDistributionInfo()
getDistributionInfo in interface Metadatapublic void setDistributionInfo(Distribution newValue)
newValue - The new distribution info.public Collection<DataQuality> getDataQualityInfo()
getDataQualityInfo in interface Metadatapublic void setDataQualityInfo(Collection<? extends DataQuality> newValues)
newValues - The new data quality info.public Collection<PortrayalCatalogueReference> getPortrayalCatalogueInfo()
getPortrayalCatalogueInfo in interface Metadatapublic void setPortrayalCatalogueInfo(Collection<? extends PortrayalCatalogueReference> newValues)
newValues - The new portrayal catalog info.public Collection<Constraints> getMetadataConstraints()
getMetadataConstraints in interface Metadatapublic void setMetadataConstraints(Collection<? extends Constraints> newValues)
newValues - The new metadata constraints.public Collection<ApplicationSchemaInformation> getApplicationSchemaInfo()
getApplicationSchemaInfo in interface Metadatapublic void setApplicationSchemaInfo(Collection<? extends ApplicationSchemaInformation> newValues)
newValues - The new application schema info.public MaintenanceInformation getMetadataMaintenance()
getMetadataMaintenance in interface Metadatapublic void setMetadataMaintenance(MaintenanceInformation newValue)
newValue - The new metadata maintenance.public Collection<Locale> getLocales()
getLocales in interface Metadatapublic void setLocales(Collection<? extends Locale> newValues)
newValues - The new locales.public String getDataSetUri()
getDataSetUri in interface Metadatapublic void setDataSetUri(String newValue)
newValue - The new data set URI.public Collection<AcquisitionInformation> getAcquisitionInformation()
getAcquisitionInformation in interface Metadatapublic void setAcquisitionInformation(Collection<? extends AcquisitionInformation> newValues)
newValues - The new acquisition information.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||