GrammarScope  4.0.0
Public Member Functions | Public Attributes | Static Private Attributes | List of all members
grammarscope.server.iface.BasicRelation Class Reference
Inheritance diagram for grammarscope.server.iface.BasicRelation:
Inheritance graph
[legend]
Collaboration diagram for grammarscope.server.iface.BasicRelation:
Collaboration graph
[legend]

Public Member Functions

 BasicRelation (final String id, final String longName, final Language language, final String specific)
 
 BasicRelation (final String type)
 
int compareTo (final BasicRelation relation)
 
String getId ()
 
String getFid ()
 
String getLongName ()
 
String toString ()
 

Public Attributes

final String id
 
final String longName
 
final String specific
 
final Language language
 

Static Private Attributes

static final long serialVersionUID = -367283960964927192L
 

Detailed Description

Relation class

Author
Bernard Bou

Constructor & Destructor Documentation

◆ BasicRelation() [1/2]

grammarscope.server.iface.BasicRelation.BasicRelation ( final String  id,
final String  longName,
final Language  language,
final String  specific 
)

Constructor

Parameters
idid
longNamelong name
languagelanguage
specificspecific

◆ BasicRelation() [2/2]

grammarscope.server.iface.BasicRelation.BasicRelation ( final String  type)

Constructor

Parameters
typetype string

Member Function Documentation

◆ compareTo()

int grammarscope.server.iface.BasicRelation.compareTo ( final BasicRelation  relation)

◆ getFid()

String grammarscope.server.iface.BasicRelation.getFid ( )

Get full id

Returns
full id

◆ getId()

String grammarscope.server.iface.BasicRelation.getId ( )

Get id

Returns
id

Implements grammarscope.server.iface.HasId.

◆ getLongName()

String grammarscope.server.iface.BasicRelation.getLongName ( )

Get long name

Returns
long name

◆ toString()

String grammarscope.server.iface.BasicRelation.toString ( )

Member Data Documentation

◆ id

final String grammarscope.server.iface.BasicRelation.id

Relation id (short name)

◆ language

final Language grammarscope.server.iface.BasicRelation.language

◆ longName

final String grammarscope.server.iface.BasicRelation.longName

Long name

◆ serialVersionUID

final long grammarscope.server.iface.BasicRelation.serialVersionUID = -367283960964927192L
staticprivate

◆ specific

final String grammarscope.server.iface.BasicRelation.specific

Specific field


The documentation for this class was generated from the following file: