|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.foundation.expression.ExpressionImpl | +--com.beasys.commerce.foundation.expression.CriteriaImpl
The default Criteria implementation.
Unlinke most Belonging implementations, this does not attempt to clone everything.
Field Summary | |
java.lang.String |
comparator
The comparision operator. |
java.lang.Object |
criteria
The criteria value. |
java.lang.String |
property
The property name. |
java.lang.String |
scope
The property scope. |
Fields inherited from class com.beasys.commerce.foundation.expression.ExpressionImpl |
not |
Constructor Summary | |
CriteriaImpl()
Constructor. |
Method Summary | |
int |
compareTo(java.lang.Object o)
Compare this belonging to another |
java.lang.String |
getComparator()
Get the value of comparator |
java.lang.Object |
getCriteria()
Get the value of criteria |
java.lang.String |
getProperty()
Get the value of property |
java.lang.String |
getScope()
Get the value of scope |
java.lang.String |
interfaceName()
interfaceName() returns the unqualified name of the interface from the UML model. |
void |
setByValue(Belonging value)
It is possible to call set-by-value with a superclass. |
void |
setComparator(java.lang.String comparator)
Set the value of comparator |
void |
setCriteria(java.lang.Object criteria)
Set the value of criteria |
void |
setProperty(java.lang.String property)
Set the value of property |
void |
setScope(java.lang.String scope)
Set the value of scope |
Belonging |
value()
value() is a more typesafe implementation of clone() |
void |
valueOf(java.lang.String expression)
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 |
Field Detail |
public java.lang.Object criteria
public java.lang.String property
public java.lang.String scope
public java.lang.String comparator
Constructor Detail |
public CriteriaImpl()
All values are initialized to null.
Method Detail |
public java.lang.Object getCriteria()
public void setCriteria(java.lang.Object criteria)
criteria
- criteria to be addedpublic java.lang.String getProperty()
public void setProperty(java.lang.String property)
public java.lang.String getScope()
public void setScope(java.lang.String scope)
public java.lang.String getComparator()
public void setComparator(java.lang.String comparator)
public Belonging value()
public java.lang.String interfaceName()
public void setByValue(Belonging 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.
belonging
- The Belonging
to use for initialization.public int compareTo(java.lang.Object o)
o
- target object for comparisionpublic void valueOf(java.lang.String expression) throws java.lang.IllegalArgumentException
ExpressionHelper.parse(java.lang.String)
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |