HasComparison Interface Reference

Inheritance diagram for HasComparison:

List of all members.

Public Types

enum  Degree { POSITIVE, COMPARATIVE, SUPERLATIVE, ELATIVE }

Public Methods

Degree getDegree ()
boolean matchesComparison (HasComparison other)

Member Enumeration Documentation

enum Degree
Enumerator:
POSITIVE 
COMPARATIVE 
SUPERLATIVE 
ELATIVE 

Method Details

Degree getDegree ( )

Get the comparison degree of this object.

Returns:
A value of the Degree enum

Implemented in Adjective, Adverb, Participle, IndoEuAdjective, IndoEuAdverb, IndoEuIndefinite, and IndoEuParticiple.

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.

Implemented in Adjective, Adverb, Participle, IndoEuAdjective, IndoEuAdverb, IndoEuIndefinite, and IndoEuParticiple.