|
© 2001 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 |
| Methods inherited from interface com.beasys.commerce.foundation.expression.Expression |
getNot, setNot, toString |
| Methods inherited from interface com.beasys.commerce.foundation.Belonging |
clone, equals |
| 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()
getCriteria in interface Criteriapublic void setCriteria(java.lang.Object criteria)
setCriteria in interface Criteriacriteria - criteria to be addedpublic java.lang.String getProperty()
getProperty in interface Criteriapublic void setProperty(java.lang.String property)
setProperty in interface Criteriapublic java.lang.String getScope()
getScope in interface Criteriapublic void setScope(java.lang.String scope)
setScope in interface Criteriapublic java.lang.String getComparator()
getComparator in interface Criteriapublic void setComparator(java.lang.String comparator)
setComparator in interface Criteriapublic Belonging value()
value in interface Belongingvalue in class ExpressionImplpublic java.lang.String interfaceName()
interfaceName in interface BelonginginterfaceName in class ExpressionImplpublic 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.
setByValue in interface BelongingsetByValue in class ExpressionImplcom.beasys.commerce.foundation.Belongingbelonging - The Belonging to use for initialization.public int compareTo(java.lang.Object o)
compareTo in interface java.lang.ComparablecompareTo in class ExpressionImplo - target object for comparision
public void valueOf(java.lang.String expression)
throws java.lang.IllegalArgumentException
valueOf in interface ExpressionvalueOf in class ExpressionImpljava.lang.IllegalArgumentException - thrown on an invalid expression
string.ExpressionHelper.parse(java.lang.String)
|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||