Salt  3.3.6-SNAPSHOT
A powerful, tagset-independent and theory-neutral meta model and API for storing, manipulating, and representing nearly all types of linguistic data .
org.corpus_tools.salt.graph.impl.IdentifiableElementImpl Class Referenceabstract

Inherits org.corpus_tools.salt.graph.impl.LabelableElementImpl, and org.corpus_tools.salt.graph.IdentifiableElement.

Inherited by org.corpus_tools.salt.graph.impl.GraphImpl< N extends Node, R extends Relation< N, N, L extends Layer< N, R >, org.corpus_tools.salt.graph.impl.LayerImpl< N extends Node, R extends Relation< N, N >, org.corpus_tools.salt.graph.impl.NodeImpl, and org.corpus_tools.salt.graph.impl.RelationImpl< S extends Node, T extends Node >.

Public Member Functions

 IdentifiableElementImpl (IdentifiableElement delegate)
 
Identifier getIdentifier ()
 { IdentifiableElement::getIdentifier()}
 
void setIdentifier (Identifier identifier)
 { IdentifiableElement::setIdentifier(Identifier)}
 
void removeLabel (String qName)
 Removes the label having the passed qName.
Parameters
qNamequalified name of the Label to be removed
In case the passed qualified name is equal to SaltUtil#LABEL_ID_QNAME the internal reference to identifier is set to null.
 
String getId ()
 { IdentifiableElement::getId()}
 
void setId (String id)
 { IdentifiableElement::setId(String)}
 
String toString ()
 
- Public Member Functions inherited from org.corpus_tools.salt.graph.impl.LabelableElementImpl
 LabelableElementImpl (LabelableElement delegatee)
 Initializes a new object and sets an internal delegate. More...
 
Collection< LabelgetLabels ()
 { LabelableElement::getLabels()}
 
Label getLabel (String qName)
 { LabelableElement::getLabel(String)}
 
Label getLabel (String namespace, String name)
 { LabelableElement::getLabel(String, String)}
 
Set< LabelgetLabelsByNamespace (String namespace)
 { LabelableElement::getLabelsByNamespace(String)}
 
void addLabel (Label label)
 Adds the given Label object to the list of labels.
Parameters
labelthe Label object to be added

 
void basicAddLabel (Label label)
 This is an internally used method. More...
 
void removeLabel (String qName)
 { LabelableElement::removeLabel(String)}
 
void basicRemoveLabel (String qName)
 This is an internally used method. More...
 
void removeLabel (String namespace, String name)
 { LabelableElement::removeLabel(String, String))}
 
void removeAll ()
 { LabelableElement::removeAll()}
 
boolean containsLabel (String qName)
 { LabelableElement::containsLabel(String)}
 
Integer sizeLabels ()
 { LabelableElement::sizeLabels()}
 

Protected Member Functions

IdentifiableElement getDelegate ()
 
- Protected Member Functions inherited from org.corpus_tools.salt.graph.impl.LabelableElementImpl
LabelableElement getDelegate ()
 Returns the delegate object. More...
 

Additional Inherited Members

- Static Public Attributes inherited from org.corpus_tools.salt.graph.impl.LabelableElementImpl
static final int EXPECTED_NUMBER_OF_LABELS = 5
 Determines the expected number of labels. More...
 
- Protected Attributes inherited from org.corpus_tools.salt.graph.impl.LabelableElementImpl
LabelableElement delegate = null
 A delegate object of the same type. More...