nl.liacs.subdisc
Class Condition
java.lang.Object
nl.liacs.subdisc.Condition
- All Implemented Interfaces:
- java.lang.Comparable<Condition>
public class Condition
- extends java.lang.Object
- implements java.lang.Comparable<Condition>
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
DOES_NOT_EQUAL
public static final int DOES_NOT_EQUAL
- See Also:
- Constant Field Values
EQUALS
public static final int EQUALS
- See Also:
- Constant Field Values
LESS_THAN_OR_EQUAL
public static final int LESS_THAN_OR_EQUAL
- See Also:
- Constant Field Values
GREATER_THAN_OR_EQUAL
public static final int GREATER_THAN_OR_EQUAL
- See Also:
- Constant Field Values
NOT_AN_OPERATOR
public static final int NOT_AN_OPERATOR
- See Also:
- Constant Field Values
FIRST_BINARY_OPERATOR
public static final int FIRST_BINARY_OPERATOR
- See Also:
- Constant Field Values
LAST_BINARY_OPERATOR
public static final int LAST_BINARY_OPERATOR
- See Also:
- Constant Field Values
FIRST_NOMINAL_OPERATOR
public static final int FIRST_NOMINAL_OPERATOR
- See Also:
- Constant Field Values
LAST_NOMINAL_OPERATOR
public static final int LAST_NOMINAL_OPERATOR
- See Also:
- Constant Field Values
FIRST_NUMERIC_OPERATOR
public static final int FIRST_NUMERIC_OPERATOR
- See Also:
- Constant Field Values
LAST_NUMERIC_OPERATOR
public static final int LAST_NUMERIC_OPERATOR
- See Also:
- Constant Field Values
Condition
public Condition(Column theColumn)
Condition
public Condition(Column theColumn,
int theOperator)
copy
public Condition copy()
equals
public boolean equals(java.lang.Object theObject)
- Overrides:
equals
in class java.lang.Object
compareTo
public int compareTo(Condition theCondition)
- Specified by:
compareTo
in interface java.lang.Comparable<Condition>
hasNextOperator
public boolean hasNextOperator()
getNextOperator
public int getNextOperator()
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String theValue)
getAttribute
public Column getAttribute()
getAggregateString
public java.lang.String getAggregateString()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toCleanString
public java.lang.String toCleanString()
getOperatorString
public java.lang.String getOperatorString()
getOperator
public int getOperator()
evaluate
public boolean evaluate(java.lang.String theValue)
evaluate
public boolean evaluate(boolean theValue)