Inheritance diagram for SingleValueCategory:
Collaboration diagram for SingleValueCategory:Base implementation of an ISingleValueCategory to use with hibernate.
Public Methods | |
| SingleValueCategory () | |
| String | getCategory () |
| void | setCategory (String category) |
| long | calcTypeId () |
| String | getLabel () |
| void | setLabel (String label) |
| long | getId () |
| void | setId (long id) |
required default constructor
| long calcTypeId | ( | ) |
Implements TypeMappingGenerator.
Reimplemented in HierarchicalCategory, Stem, and HierarchicalPartOfSpeech.
| String getCategory | ( | ) |
Returns the category-string of this category. Note that this value is not further restricted, and different implementations might return different strings.
Implements ISingleValueCategory.
| long getId | ( | ) | [inherited] |
Returns the Id of this DataObject. Might return 0, if the object hasn't been inserted into database yet.
Implements DataObject.
| String getLabel | ( | ) | [inherited] |
Returns the label of this token, which can be any kind of string (except null), mainly used for display-reasons only. Note: Components MUST NOT assume that any kind of label (like 'word' or else) is returned by this method.
Implements ILabeledElement.
Reimplemented in TEIDramaSpeaker, TEIDramaSpeechAct, TEIDramaStage, JodaDateTime, JodaInterval, JodaPeriod, and Timex.
| void setCategory | ( | String | category | ) |
| void setId | ( | long | id | ) | [inherited] |
| void setLabel | ( | String | label | ) | [inherited] |