Class RS_Identifier
java.lang.Object
org.apache.sis.metadata.AbstractMetadata
org.apache.sis.metadata.ModifiableMetadata
org.apache.sis.metadata.iso.ISOMetadata
org.apache.sis.metadata.iso.DefaultIdentifier
org.apache.sis.internal.jaxb.metadata.replace.RS_Identifier
- All Implemented Interfaces:
Serializable,Emptiable,LenientComparable,IdentifiedObject,org.opengis.metadata.Identifier,org.opengis.referencing.ReferenceIdentifier
@TitleProperty(name="code")
public final class RS_Identifier
extends DefaultIdentifier
implements org.opengis.referencing.ReferenceIdentifier
Identifier using
<gmd:RS_Identifier> XML element name.
This is used for (un)marshalling legacy metadata only. Example:
- Since:
- 1.0
- Version:
- 1.0
- 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 longFor cross-version compatibility.Fields inherited from class org.apache.sis.metadata.iso.ISOMetadata
identifiersFields inherited from interface org.opengis.metadata.Identifier
AUTHORITY_KEY, CODE_KEYFields inherited from interface org.opengis.referencing.ReferenceIdentifier
CODESPACE_KEY, VERSION_KEY -
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructor for JAXB.RS_Identifier(String codeSpace, String code, String version) Creates a new identifier initialized to the given code, code space and version number.RS_Identifier(org.opengis.metadata.citation.Citation authority, String code) Creates an identifier initialized to the given authority and code.privateRS_Identifier(org.opengis.metadata.Identifier identifier) Creates a new identifier from the specified one. -
Method Summary
Modifier and TypeMethodDescriptionstatic RS_Identifierwrap(org.opengis.metadata.Identifier object) Returns the given identifier as aRS_Identifierinstance.Methods inherited from class org.apache.sis.metadata.iso.DefaultIdentifier
castOrCopy, getAuthority, getCode, getCodeSpace, getDescription, getVersion, setAuthority, setCode, setCodeSpace, setDescription, setVersionMethods inherited from class org.apache.sis.metadata.iso.ISOMetadata
getIdentifier, getIdentifierMap, getIdentifiers, getStandard, setIdentifier, transitionToMethods inherited from class org.apache.sis.metadata.ModifiableMetadata
checkWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSetMethods inherited from class org.apache.sis.metadata.AbstractMetadata
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opengis.metadata.Identifier
getAuthority, getCodeMethods inherited from interface org.opengis.referencing.ReferenceIdentifier
getCodeSpace, getVersion
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
-
Constructor Details
-
RS_Identifier
public RS_Identifier()Constructor for JAXB. -
RS_Identifier
Creates a new identifier initialized to the given code, code space and version number.- Parameters:
codeSpace- identifier or namespace in which the code is valid, ornullif not available.code- alphanumeric value identifying an instance in the namespace, ornullif none.version- the version identifier for the namespace as specified by the code authority, ornullif none.
-
RS_Identifier
Creates an identifier initialized to the given authority and code.- Parameters:
authority- the the person or party responsible for maintenance of the namespace, ornullif none.code- the alphanumeric value identifying an instance in the namespace, ornullif none.
-
RS_Identifier
private RS_Identifier(org.opengis.metadata.Identifier identifier) Creates a new identifier from the specified one.- See Also:
-
-
Method Details
-
wrap
Returns the given identifier as aRS_Identifierinstance.- Parameters:
object- the identifier to wrap, ornullif none.- Returns:
- the wrapped object, or
null.
-