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 long
For cross-version compatibility.Fields inherited from class org.apache.sis.metadata.iso.ISOMetadata
identifiers
Fields inherited from interface org.opengis.metadata.Identifier
AUTHORITY_KEY, CODE_KEY
Fields 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.private
RS_Identifier
(org.opengis.metadata.Identifier identifier) Creates a new identifier from the specified one. -
Method Summary
Modifier and TypeMethodDescriptionstatic RS_Identifier
wrap
(org.opengis.metadata.Identifier object) Returns the given identifier as aRS_Identifier
instance.Methods inherited from class org.apache.sis.metadata.iso.DefaultIdentifier
castOrCopy, getAuthority, getCode, getCodeSpace, getDescription, getVersion, setAuthority, setCode, setCodeSpace, setDescription, setVersion
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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.metadata.Identifier
getAuthority, getCode
Methods 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, ornull
if not available.code
- alphanumeric value identifying an instance in the namespace, ornull
if none.version
- the version identifier for the namespace as specified by the code authority, ornull
if 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, ornull
if none.code
- the alphanumeric value identifying an instance in the namespace, ornull
if 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_Identifier
instance.- Parameters:
object
- the identifier to wrap, ornull
if none.- Returns:
- the wrapped object, or
null
.
-