|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jcreme.enumerations.Enumeration
org.jcreme.filters.ComparisonOperator
This enumeration handles the comparison operators that may be used in Filters. This class is subclassed to reflect the specialization of the operators (on Double, Date, ...).
Field Summary | |
(package private) static long |
serialVersionUID
|
Constructor Summary | |
protected |
ComparisonOperator(java.lang.String name)
Creates new ComparisonOperator |
Method Summary | |
protected void |
addAsComparisonOperator(ComparisonOperator cmp)
This convenience method should be used by subclasses to register their own elements as elements of the ComparisonOperator enumeration. |
static ComparisonOperator |
get(java.lang.String name)
This method retrieves a ComparisonOperator instance from its name. |
static ComparisonOperator[] |
getComparisonOperators()
This methods gives the instances of this class. |
protected java.util.Hashtable |
getFromName()
This method is for internal use only. |
static Enumeration[] |
getValues()
This method enables to retrieve all the possible values of an Enumeration class. |
Methods inherited from class org.jcreme.enumerations.Enumeration |
compareTo, getName, readResolve, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static final long serialVersionUID
Constructor Detail |
protected ComparisonOperator(java.lang.String name) throws java.security.InvalidParameterException
name
- the name of this enumerated value. It cannot be null.
java.security.InvalidParameterException
- if nam is null.Method Detail |
protected void addAsComparisonOperator(ComparisonOperator cmp)
cmp
- a ComparisonOperator to put in this Enumeration.protected java.util.Hashtable getFromName()
getFromName
in class Enumeration
public static ComparisonOperator get(java.lang.String name)
name
- the name of the ComparisonOperator instance.
public static ComparisonOperator[] getComparisonOperators()
public static Enumeration[] getValues()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |