public class IdentifierImpl extends MetadataEntity implements Identifier
LOGGERAUTHORITY_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, getStandardcheckWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiableasMap, asTree, equals, getInterface, hashCode, toStringpublic IdentifierImpl()
public IdentifierImpl(Identifier source)
public IdentifierImpl(String code)
public String getCode()
getCode in interface Identifierpublic void setCode(String newValue)
public String getVersion()
null if not available.public void setVersion(String newValue)
public Citation getAuthority()
getAuthority in interface Identifiernull if not available.Copyright © 1996–2019 Geotools. All rights reserved.