|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.beasys.commerce.foundation.expression.ExpressionImpl
com.beasys.commerce.foundation.expression.CriteriaImpl
Expression
instead.
The default Criteria implementation.
Unlinke most Belonging implementations, this does not attempt to clone everything.
ExpressionHelper
,
Serialized FormField Summary | |
String |
comparator
Deprecated. The comparision operator. |
Object |
criteria
Deprecated. The criteria value. |
String |
property
Deprecated. The property name. |
String |
scope
Deprecated. The property scope. |
Fields inherited from class com.beasys.commerce.foundation.expression.ExpressionImpl |
not |
Constructor Summary | |
CriteriaImpl()
Deprecated. Constructor. |
Method Summary | |
int |
compareTo(Object o)
Deprecated. Compare this belonging to another |
String |
getComparator()
Deprecated. Get the value of comparator |
Object |
getCriteria()
Deprecated. Get the value of criteria |
String |
getProperty()
Deprecated. Get the value of property |
String |
getScope()
Deprecated. Get the value of scope |
String |
interfaceName()
Deprecated. interfaceName() returns the unqualified name of the interface from the UML model. |
void |
setByValue(Object value)
Deprecated. It is possible to call set-by-value with a superclass. |
void |
setComparator(String comparator)
Deprecated. Set the value of comparator |
void |
setCriteria(Object criteria)
Deprecated. Set the value of criteria |
void |
setProperty(String property)
Deprecated. Set the value of property |
void |
setScope(String scope)
Deprecated. Set the value of scope |
Object |
value()
Deprecated. value() is a more typesafe implementation of clone() |
void |
valueOf(String expression)
Deprecated. Set this Criteria's attributes from the specified query sting, which must be of the form "property comparator criteria" (e.g. |
Methods inherited from class com.beasys.commerce.foundation.expression.ExpressionImpl |
clone, equals, getNot, setNot, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.beasys.commerce.foundation.expression.Expression |
getNot, setNot, toString |
Field Detail |
public String comparator
public Object criteria
public String property
public String scope
Constructor Detail |
public CriteriaImpl()
All values are initialized to null.
Method Detail |
public int compareTo(Object o)
compareTo
in interface Comparable
compareTo
in class ExpressionImpl
o
- target object for comparision
public String getComparator()
getComparator
in interface Criteria
public Object getCriteria()
getCriteria
in interface Criteria
public String getProperty()
getProperty
in interface Criteria
public String getScope()
getScope
in interface Criteria
public String interfaceName()
interfaceName
in interface Expression
interfaceName
in class ExpressionImpl
public void setByValue(Object value)
If that is the case, only the fields in the superclass will be set in this instance. The remaining fields get the default values. It is also possible to call set-by-value with a subclass. In this case, the specialized fields in the subclass will be ignored. The overridden fields in the subclass will be populated.
setByValue
in interface Expression
setByValue
in class ExpressionImpl
public void setComparator(String comparator)
setComparator
in interface Criteria
public void setCriteria(Object criteria)
setCriteria
in interface Criteria
criteria
- criteria to be addedpublic void setProperty(String property)
setProperty
in interface Criteria
public void setScope(String scope)
setScope
in interface Criteria
public Object value()
value
in interface Expression
value
in class ExpressionImpl
public void valueOf(String expression) throws IllegalArgumentException
valueOf
in interface Expression
valueOf
in class ExpressionImpl
IllegalArgumentException
- thrown on an invalid expression
string.ExpressionHelper.parse(java.lang.String)
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |