IndoEuAdjective Class Reference

Inheritance diagram for IndoEuAdjective:
Collaboration diagram for IndoEuAdjective:

List of all members.

Public Types

enum  Degree { POSITIVE, COMPARATIVE, SUPERLATIVE, ELATIVE }

Public Methods

 IndoEuAdjective ()
Degree getDegree ()
void setDegree (Degree d)
boolean matchesComparison (HasComparison other)
boolean matchesIndoEuComparison (HasIndoEuComparison other)
String getGender ()
boolean matchesGender (HasGender other)
boolean matchesIndoEuGender (HasIndoEuGender other)
boolean isGenderMasculine ()
boolean isGenderFeminine ()
boolean isGenderNeuter ()
void setGenderMasculine ()
void setGenderFeminine ()
void setGenderNeuter ()
String getNumber ()
boolean matchesNumber (HasNumber other)
boolean matchesIndoEuNumber (HasIndoEuNumber other)
boolean isNumberSingular ()
boolean isNumberDual ()
boolean isNumberPlural ()
void setNumberSingular ()
void setNumberDual ()
void setNumberPlural ()
String getCase ()
boolean matchesCase (IsCaseAware other)
boolean matchesIndoEuCase (IsIndoEuCaseAware other)
boolean isCaseNominative ()
boolean isCaseGenitive ()
boolean isCaseDative ()
boolean isCaseAccusative ()
boolean isCaseAblative ()
boolean isCaseInstrumental ()
boolean isCaseLocative ()
boolean isCaseVocative ()
void setCaseNominative ()
void setCaseGenitive ()
void setCaseDative ()
void setCaseAccusative ()
void setCaseAblative ()
void setCaseInstrumental ()
void setCaseLocative ()
void setCaseVocative ()
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)
void setDegree (HasComparison.Degree degree)

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 DEGREE = "degree"
static final String GENDER = "gender"
static final String GENDER_MASC = "masculine"
static final String GENDER_FEM = "feminine"
static final String GENDER_NEU = "neuter"
static final String NUMBER = "number"
static final String NUMBER_SING = "singular"
static final String NUMBER_DUAL = "dual"
static final String NUMBER_PLUR = "plural"
static final String CASE = "case"
static final String CASE_NOM = "nominative"
static final String CASE_GEN = "genitive"
static final String CASE_DAT = "dative"
static final String CASE_ACC = "accusative"
static final String CASE_ABL = "ablative"
static final String CASE_INST = "instrumental"
static final String CASE_LOC = "locative"
static final String CASE_VOC = "vocative"
static final String BASE_FORM = "BASE_FORM"
static final String ORIGINAL_TAG = "ORIGINAL_TAG"
static final String ADDITIONAL_INFORMATION = "ADDITIONAL_INFORMATION"

Member Enumeration Documentation

enum Degree [inherited]
Enumerator:
POSITIVE 
COMPARATIVE 
SUPERLATIVE 
ELATIVE 

Constructors


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

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

Implements IsCaseAware.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

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.

Returns:
the category string

Implements ISingleValueCategory.

Degree getDegree ( )

Get the comparison degree of this object.

Returns:
A value of the Degree enum

Implements HasComparison.

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

Implements HasGender.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

long getId ( ) [inherited]

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

Returns:
id

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 getNumber ( ) [inherited]

Implements HasNumber.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

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.

Returns:
the sub-category strings

Implements IHierarchicalCategory.

boolean hasFeature ( String  name,
String  value 
) [inherited]
boolean hasFeature ( String  name) [protected, inherited]
boolean isCaseAblative ( ) [inherited]

Determine if the object has ablative case.

Returns:
True if the case is ablative, false otherwise.

Implements IsIndoEuCaseAware.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean isCaseAccusative ( ) [inherited]

Determine if the object has accusative case.

Returns:
True if the case is accusative, false otherwise.

Implements IsIndoEuCaseAware.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean isCaseDative ( ) [inherited]

Determine if the object has dative case.

Returns:
True if the case is dative, false otherwise.

Implements IsIndoEuCaseAware.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean isCaseGenitive ( ) [inherited]

Determine if the object has genitive case.

Returns:
True if the case is genitive, false otherwise.

Implements IsIndoEuCaseAware.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean isCaseInstrumental ( ) [inherited]

Determine if the object has instrumental case.

Returns:
True if the case is instrumental, false otherwise.

Implements IsIndoEuCaseAware.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean isCaseLocative ( ) [inherited]

Determine if the object has locative case.

Returns:
True if the case is locative, false otherwise.

Implements IsIndoEuCaseAware.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean isCaseNominative ( ) [inherited]

Determine if the object has nominative case.

Returns:
True if the case is nominative, false otherwise.

Implements IsIndoEuCaseAware.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean isCaseVocative ( ) [inherited]

Determine if the object has vocative case.

Returns:
True if the case is vocative, false otherwise.

Implements IsIndoEuCaseAware.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean isGenderFeminine ( ) [inherited]

Implements HasIndoEuGender.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean isGenderMasculine ( ) [inherited]

Implements HasIndoEuGender.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean isGenderNeuter ( ) [inherited]

Implements HasIndoEuGender.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean isNumberDual ( ) [inherited]

Determine if the number of the object is dual.

Returns:
True if the number is dual, false otherwise.

Implements HasIndoEuNumber.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean isNumberPlural ( ) [inherited]

Determine if the number of the object is plural.

Returns:
True if the number is plural, false otherwise.

Implements HasIndoEuNumber.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean isNumberSingular ( ) [inherited]

Determine if the number of the object is singular.

Returns:
True if the number is singular, false otherwise.

Implements HasIndoEuNumber.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

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.

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

Implements IsCaseAware.

boolean matchesComparison ( HasComparison  other)

Checks two objects that can have a comparison degree for equality in respect to this property.

Parameters:
other
Returns:
true iff the value of the Degree enum matches.

Implements HasComparison.

boolean matchesGender ( HasGender  other) [inherited]

Checks two objects for equality in gender.

Parameters:
other
Returns:
true iff the gender is equal between the two objects.

Implements HasGender.

boolean matchesIndoEuCase ( IsIndoEuCaseAware  other) [inherited]

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

Parameters:
other
Returns:
true iff the cases match.

Implements IsIndoEuCaseAware.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean matchesIndoEuComparison ( HasIndoEuComparison  other)

Checks two objects that can have a comparison degree for equality in respect to this property.

Parameters:
other
Returns:
true iff the comparison degree matches.

Implements HasIndoEuComparison.

boolean matchesIndoEuGender ( HasIndoEuGender  other) [inherited]

Checks two objects for equality in gender.

Parameters:
other
Returns:
true iff the gender is equal between the two objects.

Implements HasIndoEuGender.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean matchesIndoEuNumber ( HasIndoEuNumber  other) [inherited]

Checks two objects for equality in number.

Parameters:
other
Returns:
true iff the number is equal between the two objects.

Implements HasIndoEuNumber.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

boolean matchesNumber ( HasNumber  other) [inherited]

Checks two objects for equality in number.

Parameters:
other
Returns:
true iff the number is equal between the two objects.

Implements HasNumber.

void setAdditionalInformation ( String  additionalInformation) [inherited]
void setBaseForm ( String  baseForm) [inherited]
void setCaseAblative ( ) [inherited]

This methods sets the case of the object to ablative.

Implements SetIndoEuCase.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

void setCaseAccusative ( ) [inherited]

This methods sets the case of the object to accusative.

Implements SetIndoEuCase.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

void setCaseDative ( ) [inherited]

This methods sets the case of the object to dative.

Implements SetIndoEuCase.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

void setCaseGenitive ( ) [inherited]

This methods sets the case of the object to genitive.

Implements SetIndoEuCase.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

void setCaseInstrumental ( ) [inherited]

This methods sets the case of the object to instrumental case.

Implements SetIndoEuCase.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

void setCaseLocative ( ) [inherited]

This methods sets the case of the object to locative.

Implements SetIndoEuCase.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

void setCaseNominative ( ) [inherited]

This methods sets the case of the object to nominative.

Implements SetIndoEuCase.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

void setCaseVocative ( ) [inherited]

This methods sets the case of the object to vocative.

Implements SetIndoEuCase.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

void setCategory ( String  category) [inherited]
void setDegree ( Degree  d)
void setDegree ( HasComparison.Degree  degree) [inherited]

Sets the the degree of the object.

Parameters:
degree
void setGenderFeminine ( ) [inherited]

Sets the gender of the object to feminine.

Implements SetIndoEuGender.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

void setGenderMasculine ( ) [inherited]

Sets the gender of the object to masculine.

Implements SetIndoEuGender.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

void setGenderNeuter ( ) [inherited]

Sets the gender of the object to neuter.

Implements SetIndoEuGender.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

void setId ( long  id) [inherited]

Set the Id of this DataObject.

Parameters:
id

Implements DataObject.

Reimplemented in Tweet, and TwitterEntity.

void setLabel ( String  label) [inherited]
void setNumberDual ( ) [inherited]

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

void setNumberPlural ( ) [inherited]

Sets the number of the object to plural.

Implements SetIndoEuNumber.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

void setNumberSingular ( ) [inherited]

Sets the number of the object to singular.

Implements SetIndoEuNumber.

Reimplemented in IndoEuPredicative, and IndoEuPronominalAdverb.

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 CASE_ABL = "ablative" [static, protected, inherited]
final String CASE_ACC = "accusative" [static, protected, inherited]
final String CASE_DAT = "dative" [static, protected, inherited]
final String CASE_GEN = "genitive" [static, protected, inherited]
final String CASE_INST = "instrumental" [static, protected, inherited]
final String CASE_LOC = "locative" [static, protected, inherited]
final String CASE_NOM = "nominative" [static, protected, inherited]
final String CASE_VOC = "vocative" [static, protected, inherited]
final String DEGREE = "degree" [static, protected]
final String GENDER = "gender" [static, protected, inherited]
final String GENDER_FEM = "feminine" [static, protected, inherited]
final String GENDER_MASC = "masculine" [static, protected, inherited]
final String GENDER_NEU = "neuter" [static, protected, inherited]
final String NUMBER = "number" [static, protected, inherited]
final String NUMBER_DUAL = "dual" [static, protected, inherited]
final String NUMBER_PLUR = "plural" [static, protected, inherited]
final String NUMBER_SING = "singular" [static, protected, inherited]
final String ORIGINAL_TAG = "ORIGINAL_TAG" [static, protected, inherited]
Set<String> subCategories [protected, inherited]