public abstract class IdentifiableElementImpl extends LabelableElementImpl implements IdentifiableElement
EXPECTED_NUMBER_OF_LABELS| Constructor and Description |
|---|
IdentifiableElementImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Returns the id of this object, which is the value of the contained
Identifier object. |
Identifier |
getIdentifier()
Returns the
Identifier label for this object. |
void |
removeLabel(String qName)
Removes the label having the passed qName.
|
void |
setId(String id)
Creates a new
Identifier object and sets its value to the passed
id. |
void |
setIdentifier(Identifier identifier)
Sets the
Identifier label for this object. |
String |
toString() |
addLabel, basicAddLabel, basicRemoveLabel, containsLabel, getLabel, getLabel, getLabels, getLabelsByNamespace, removeAll, removeLabel, sizeLabelsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLabel, containsLabel, getLabel, getLabel, getLabels, getLabelsByNamespace, removeAll, removeLabel, sizeLabelspublic Identifier getIdentifier()
Identifier label for this object.getIdentifier in interface IdentifiableElementIdentifier objectpublic void setIdentifier(Identifier identifier)
Identifier label for this object. If this object alredy
had an identifier, the old one is removed and the new one is added.setIdentifier in interface IdentifiableElementpublic void removeLabel(String qName)
SaltUtil.LABEL_ID_QNAME the internal reference to
identifier is set to null.removeLabel in interface LabelableElementremoveLabel in class LabelableElementImplqName - qualified name of the Label to be removedpublic String getId()
Identifier object.getId in interface IdentifiableElementpublic void setId(String id)
Identifier object and sets its value to the passed
id.setId in interface IdentifiableElementCopyright © 2009–2016 Humboldt-Universität zu Berlin, INRIA. All rights reserved.