|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| 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.
public class CriteriaImpl
The default Criteria implementation.
Unlinke most Belonging implementations, this does not attempt to clone everything.
ExpressionHelper,
Serialized Form| Field 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 Object criteria
public String property
public String scope
public String comparator
| Constructor Detail |
|---|
public CriteriaImpl()
All values are initialized to null.
| Method Detail |
|---|
public Object getCriteria()
getCriteria in interface Criteriapublic void setCriteria(Object criteria)
setCriteria in interface Criteriacriteria - criteria to be addedpublic String getProperty()
getProperty in interface Criteriapublic void setProperty(String property)
setProperty in interface Criteriapublic String getScope()
getScope in interface Criteriapublic void setScope(String scope)
setScope in interface Criteriapublic String getComparator()
getComparator in interface Criteriapublic void setComparator(String comparator)
setComparator in interface Criteriapublic Object value()
value in interface Expressionvalue in class ExpressionImplpublic String interfaceName()
interfaceName in interface ExpressioninterfaceName in class ExpressionImplpublic 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 ExpressionsetByValue in class ExpressionImplpublic int compareTo(Object o)
compareTo in interface ComparablecompareTo in class ExpressionImplo - target object for comparision
public void valueOf(String expression)
throws IllegalArgumentException
valueOf in interface ExpressionvalueOf in class ExpressionImplIllegalArgumentException - thrown on an invalid expression
string.ExpressionHelper.parse(java.lang.String)
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||