Preposition Class Reference

Inheritance diagram for Preposition:
Collaboration diagram for Preposition:

List of all members.

Public Methods

 Preposition ()
 Preposition (String category)
String getCase ()
boolean matchesCase (IsCaseAware other)
HierarchicalPartOfSpeech cloneCategory ()
boolean hasFeature (String name, String value)
Map< String, String > getFeatures ()
void setBaseForm (String baseForm)
void setAdditionalInformation (String additionalInformation)
String toString ()
void setOriginalTag (String posTag)
long calcTypeId ()
String getPartOfSpeechTag ()
String getAdditionalInformation ()
Set< String > getSubCategories ()
void addCategory (String subCategory)
String getCategory ()
void setCategory (String category)
String getLabel ()
void setLabel (String label)
long getId ()
void setId (long id)

Protected Methods

void addFeature (String name, String value)
boolean hasFeature (String name)
String getFeature (String name)

Protected Attributes

Set< String > subCategories

Static Protected Attributes

static final String CASE = "case"
static final String BASE_FORM = "BASE_FORM"
static final String ORIGINAL_TAG = "ORIGINAL_TAG"


Preposition ( String  category)

Method Details

void addCategory ( String  subCategory) [inherited]
void addFeature ( String  name,
String  value 
) [protected, inherited]
long calcTypeId ( ) [inherited]

Reimplemented from HierarchicalCategory.

HierarchicalPartOfSpeech cloneCategory ( ) [inherited]
String getAdditionalInformation ( ) [inherited]

Implements IPartOfSpeech.

String getCase ( ) [inherited]

Get a string representation of the case for this object

a string representing the case of the object, e.g. "nominative"

Implements IsCaseAware.

String getCategory ( ) [inherited]

Returns the category-string of this category. Note that this value is not further restricted, and different implementations might return different strings.

the category string

Implements ISingleValueCategory.

String getFeature ( String  name) [protected, inherited]
Map<String, String> getFeatures ( ) [inherited]
long getId ( ) [inherited]

Returns the Id of this DataObject. Might return 0, if the object hasn't been inserted into database yet.


Implements DataObject.

Reimplemented in Tweet, and TwitterEntity.

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, Timex, Tweet, and TwitterEntity.

String getPartOfSpeechTag ( ) [inherited]

Implements IPartOfSpeech.

Set<String> getSubCategories ( ) [inherited]

Returns the sub-category strings of this category. Note that these values are not further restricted, and different implementations might return different strings.

the sub-category strings

Implements IHierarchicalCategory.

boolean hasFeature ( String  name) [protected, inherited]
boolean hasFeature ( String  name,
String  value 
) [inherited]
boolean matchesCase ( IsCaseAware  other) [inherited]

Checks two objects that either have a case or assign a case for equality in respect to their case property.

true iff the cases match or both objects don't have a case set.

Implements IsCaseAware.

void setAdditionalInformation ( String  additionalInformation) [inherited]
void setBaseForm ( String  baseForm) [inherited]
void setCategory ( String  category) [inherited]
void setId ( long  id) [inherited]

Set the Id of this DataObject.


Implements DataObject.

Reimplemented in Tweet, and TwitterEntity.

void setLabel ( String  label) [inherited]
void setOriginalTag ( String  posTag) [inherited]
String toString ( ) [inherited]

Reimplemented from HierarchicalCategory.

Field Details

final String ADDITIONAL_INFORMATION = "ADDITIONAL_INFORMATION" [static, protected, inherited]
final String BASE_FORM = "BASE_FORM" [static, protected, inherited]
final String CASE = "case" [static, protected, inherited]
final String ORIGINAL_TAG = "ORIGINAL_TAG" [static, protected, inherited]
Set<String> subCategories [protected, inherited]