public class IdentifierImpl extends MetadataEntity implements Identifier
LOGGER
AUTHORITY_KEY, CODE_KEY
Constructor and Description |
---|
IdentifierImpl()
Construct an initially empty identifier.
|
IdentifierImpl(Citation authority,
String code)
Creates an identifier initialized to the given authority and code.
|
IdentifierImpl(Identifier source)
Constructs a metadata entity initialized with the values from the specified metadata.
|
IdentifierImpl(String code)
Creates an identifier initialized to the given code.
|
Modifier and Type | Method and Description |
---|---|
Citation |
getAuthority()
Organization or party responsible for definition and maintenance of the code.
|
String |
getCode()
Alphanumeric value identifying an instance in the namespace.
|
String |
getVersion()
Identifier of the version of the associated code, as specified by the code space or code
authority.
|
void |
setAuthority(Citation newValue)
Set the organization or party responsible for definition and maintenance of the code.
|
void |
setCode(String newValue)
Set the alphanumeric value identifying an instance in the namespace.
|
void |
setVersion(String newValue)
Set an identifier of the version of the associated code.
|
ensureNonNull, getStandard
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
asMap, asTree, equals, getInterface, hashCode, toString
public IdentifierImpl()
public IdentifierImpl(Identifier source)
public IdentifierImpl(String code)
public String getCode()
getCode
in interface Identifier
public void setCode(String newValue)
public String getVersion()
null
if not available.public void setVersion(String newValue)
public Citation getAuthority()
getAuthority
in interface Identifier
null
if not available.Copyright © 1996–2019 Geotools. All rights reserved.