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 .
org.corpus_tools.salt.core.STypedElement Interface Reference

Each implementing subclass provides a type. More...

Inherited by org.corpus_tools.salt.core.SRelation< S extends SNode, T extends SNode >.

Public Member Functions

String getType ()
 Returns the type of this element. More...
 
void setType (String name)
 Sets the type of this element. More...
 

Detailed Description

Each implementing subclass provides a type.

The name is stored as label and can be accessed with the namespace SaltUtil#SALT_NAMESPACE and the name SaltUtil#FEAT_TYPE.

Author
florian

Member Function Documentation

◆ getType()

String org.corpus_tools.salt.core.STypedElement.getType ( )

Returns the type of this element.

Returns

Implemented in org.corpus_tools.salt.core.impl.SRelationImpl< S extends SNode, T extends SNode >.

◆ setType()

void org.corpus_tools.salt.core.STypedElement.setType ( String  name)

Sets the type of this element.

Parameters
nametype of this element

Implemented in org.corpus_tools.salt.core.impl.SRelationImpl< S extends SNode, T extends SNode >.