Salt
3.4.2
A powerful, tagset-independent and theory-neutral meta model and API for storing, manipulating, and representing nearly all types of linguistic data .
|
Each implementing subclass provides a name. More...
Inherited by org.corpus_tools.salt.core.SGraph, org.corpus_tools.salt.core.SLayer, org.corpus_tools.salt.core.SNode, and org.corpus_tools.salt.core.SRelation< S extends SNode, T extends SNode >.
Public Member Functions | |
String | getName () |
Returns the name of this element. More... | |
void | setName (String name) |
Sets the name of the element. More... | |
Each implementing subclass provides a name.
The name is stored as label and can be accessed with the namespace NAMESPACE and the name NAME.
String org.corpus_tools.salt.core.SNamedElement.getName | ( | ) |
Returns the name of this element.
The name of the element is not the identifier of the element. The identifier is given by the graph and constructed as a URI, where the name is used as fragment. If this is not unique, the graph will add a number to the fragment to make it unique.
Implemented in org.corpus_tools.salt.core.impl.SNodeImpl, org.corpus_tools.salt.core.impl.SGraphImpl, org.corpus_tools.salt.core.impl.SRelationImpl< S extends SNode, T extends SNode >, and org.corpus_tools.salt.core.impl.SLayerImpl.
void org.corpus_tools.salt.core.SNamedElement.setName | ( | String | name | ) |
Sets the name of the element.
The name of the element is not the identifier of the element. The identifier is given by the graph and constructed as a URI, where the name is used as fragment. If this is not unique, the graph will add a number to the fragment to make it unique.
name | name of the element. |
Implemented in org.corpus_tools.salt.core.impl.SNodeImpl, org.corpus_tools.salt.core.impl.SGraphImpl, org.corpus_tools.salt.core.impl.SRelationImpl< S extends SNode, T extends SNode >, and org.corpus_tools.salt.core.impl.SLayerImpl.