public class BaseTokenCategory extends Object implements TokenCategory
Constructor and Description |
---|
BaseTokenCategory(String name) |
BaseTokenCategory(String name,
int numericID) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name of the category.
|
int |
getNumericID()
Get the optional numeric identification of this token-category.
|
String |
toString() |
public BaseTokenCategory(String name)
public BaseTokenCategory(String name, int numericID)
public String getName()
getName
in interface TokenCategory
public int getNumericID()
getNumericID
in interface TokenCategory