Package org.apache.sis.internal.jaxb.gmi
Class MI_Metadata
java.lang.Object
org.apache.sis.metadata.AbstractMetadata
org.apache.sis.metadata.ModifiableMetadata
org.apache.sis.metadata.iso.ISOMetadata
org.apache.sis.metadata.iso.DefaultMetadata
org.apache.sis.internal.jaxb.gmi.MI_Metadata
- All Implemented Interfaces:
Serializable
,Emptiable
,LenientComparable
,IdentifiedObject
,org.opengis.metadata.Metadata
A wrapper for a metadata using the
"gmi"
namespace.- Since:
- 0.3
- Version:
- 0.3
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.metadata.ModifiableMetadata
ModifiableMetadata.State
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
For cross-version compatibility.Fields inherited from class org.apache.sis.metadata.iso.ISOMetadata
identifiers
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an initially empty metadata.MI_Metadata
(org.opengis.metadata.Metadata original) Creates a new metadata as a copy of the given one. -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultMetadata
castOrCopy
(org.opengis.metadata.Metadata original) Wraps the given metadata into a SIS implementation that can be marshalled, using the"gmi"
namespace if necessary.Methods inherited from class org.apache.sis.metadata.iso.DefaultMetadata
deepCopy, getAcquisitionInformation, getAlternativeMetadataReferences, getApplicationSchemaInfo, getCharacterSet, getCharacterSets, getContacts, getContentInfo, getDataQualityInfo, getDataSetUri, getDateInfo, getDateStamp, getDistributionInfo, getFileIdentifier, getHierarchyLevelNames, getHierarchyLevels, getIdentificationInfo, getLanguage, getLanguages, getLocales, getLocalesAndCharsets, getMetadataConstraints, getMetadataExtensionInfo, getMetadataIdentifier, getMetadataLinkages, getMetadataMaintenance, getMetadataProfiles, getMetadataScopes, getMetadataStandardName, getMetadataStandards, getMetadataStandardVersion, getParentIdentifier, getParentMetadata, getPortrayalCatalogueInfo, getReferenceSystemInfo, getResourceLineages, getSpatialRepresentationInfo, setAcquisitionInformation, setAlternativeMetadataReferences, setApplicationSchemaInfo, setCharacterSet, setCharacterSets, setContacts, setContentInfo, setDataQualityInfo, setDataSetUri, setDateInfo, setDateStamp, setDistributionInfo, setFileIdentifier, setHierarchyLevelNames, setHierarchyLevels, setIdentificationInfo, setLanguage, setLanguages, setLocales, setLocalesAndCharsets, setMetadataConstraints, setMetadataExtensionInfo, setMetadataIdentifier, setMetadataLinkages, setMetadataMaintenance, setMetadataProfiles, setMetadataScopes, setMetadataStandardName, setMetadataStandards, setMetadataStandardVersion, setParentIdentifier, setParentMetadata, setPortrayalCatalogueInfo, setReferenceSystemInfo, setResourceLineages, setSpatialRepresentationInfo
Methods inherited from class org.apache.sis.metadata.iso.ISOMetadata
getIdentifier, getIdentifierMap, getIdentifiers, getStandard, setIdentifier, transitionTo
Methods inherited from class org.apache.sis.metadata.ModifiableMetadata
checkWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSet
Methods inherited from class org.apache.sis.metadata.AbstractMetadata
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
-
Constructor Details
-
MI_Metadata
public MI_Metadata()Creates an initially empty metadata. This is also the default constructor used by JAXB. -
MI_Metadata
public MI_Metadata(org.opengis.metadata.Metadata original) Creates a new metadata as a copy of the given one. This is a shallow copy constructor.- Parameters:
original
- the original metadata to copy.
-
-
Method Details
-
castOrCopy
Wraps the given metadata into a SIS implementation that can be marshalled, using the"gmi"
namespace if necessary.- Parameters:
original
- the original metadata provided by the user.- Returns:
- the metadata to marshal.
-