|
© 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
This is the abstract base class for CriteriaImpl and LogicalImpl.
This class should not be directly instantiated.
.
| Field Summary | |
boolean |
not
Specifies if this is a negative logical expression. |
| Constructor Summary | |
ExpressionImpl()
|
|
| Method Summary | |
java.lang.Object |
clone()
Returns a shallow copy of the Belonging instance. |
int |
compareTo(java.lang.Object o)
Compare this belonging to another |
boolean |
equals(java.lang.Object o)
Indicates whether some other Belonging is equivalent to this Belonging. |
boolean |
getNot()
Get the value of not |
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 |
setNot(boolean not)
Set the value of not |
java.lang.String |
toString()
Render the expression as a string. |
Belonging |
value()
value() is a more typesafe implementation of clone() |
void |
valueOf(java.lang.String searchExpression)
Build a new expression that represents the string specified. |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public boolean not
| Constructor Detail |
public ExpressionImpl()
| Method Detail |
public boolean getNot()
getNot in interface Expressionpublic void setNot(boolean not)
setNot in interface Expressionpublic Belonging value()
value in interface Belongingpublic java.lang.Object clone()
Belongingclone in interface Belongingclone in class java.lang.Objectcom.beasys.commerce.foundation.Belongingpublic java.lang.String interfaceName()
interfaceName in interface Belongingpublic 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 Belongingcom.beasys.commerce.foundation.Belongingbelonging - The Belonging to use for initialization.public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - target object for comparisionpublic boolean equals(java.lang.Object o)
Belongingequals in interface Belongingequals in class java.lang.Objectcom.beasys.commerce.foundation.Belongingo - the Object to be compared.java.lang.ClassCastException - if the specified object is not of the same
type as this Belonging.public java.lang.String toString()
toString in interface ExpressiontoString in class java.lang.ObjectExpressionHelper.toString(com.beasys.commerce.foundation.expression.Expression)public void valueOf(java.lang.String searchExpression)
This methods should be marked as abstract.
valueOf in interface Expressioncom.beasys.commerce.foundation.expression.Expressionjava.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 | ||||||||