public class IdentifierImpl extends LabelImpl implements Identifier
delegate, EXPECTED_NUMBER_OF_LABELSNS_SEPERATOR| Constructor and Description |
|---|
IdentifierImpl(IdentifiableElement container,
String id)
Instantiates an
IdentifierImpl object and sets its passed
container and id. |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Returns the value of this
Label. |
IdentifiableElement |
getIdentifiableElement()
Returns the
IdentifiableElement object containing this
identifier. |
void |
setName(String name)
Do nothing
|
void |
setNamespace(String namespace)
Do nothing
|
void |
setValue(String value)
This method has no effect, since the id value is not changeable.
|
basicSetLabelableElement, copy, getContainer, getDelegate, getName, getNamespace, getQName, getValue, setContainer, setQName, setValue, toStringaddLabel, basicAddLabel, basicRemoveLabel, containsLabel, getLabel, getLabel, getLabels, getLabelsByNamespace, removeAll, removeLabel, removeLabel, sizeLabelsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContainer, getName, getNamespace, getQName, getValue, setContainer, setQName, setValueaddLabel, containsLabel, getLabel, getLabel, getLabels, getLabelsByNamespace, removeAll, removeLabel, removeLabel, sizeLabelspublic IdentifierImpl(IdentifiableElement container, String id)
IdentifierImpl object and sets its passed
container and id. Further sets its namespace to
SaltUtil.SALT_NAMESPACE and its name to SaltUtil.LABEL_ID
.container - id - public void setNamespace(String namespace)
setNamespace in interface LabelsetNamespace in class LabelImplnamespace - namespacepublic void setName(String name)
public void setValue(String value)
setValue in interface Identifierpublic String getId()
Label.getId in interface Identifierpublic IdentifiableElement getIdentifiableElement()
IdentifiableElement object containing this
identifier.getIdentifiableElement in interface IdentifierCopyright © 2009–2019 Humboldt-Universität zu Berlin, INRIA. All rights reserved.