public abstract class IdentifiableElementImpl extends LabelableElementImpl implements IdentifiableElement
delegate, EXPECTED_NUMBER_OF_LABELS| Constructor and Description |
|---|
IdentifiableElementImpl() |
IdentifiableElementImpl(IdentifiableElement delegate) |
| Modifier and Type | Method and Description |
|---|---|
protected IdentifiableElement |
getDelegate()
Returns the delegate object.
|
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 IdentifiableElementImpl()
public IdentifiableElementImpl(IdentifiableElement delegate)
protected IdentifiableElement getDelegate()
LabelableElementImpl.delegate is not null, all
functions of this method are delegated to the delegate object. Setting
LabelableElementImpl.delegate makes this object to a container.getDelegate in class LabelableElementImplpublic 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–2019 Humboldt-Universität zu Berlin, INRIA. All rights reserved.