|
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 Expression
public void setNot(boolean not)
setNot
in interface Expression
public Belonging value()
value
in interface Belonging
public java.lang.Object clone()
Belonging
clone
in interface Belonging
clone
in class java.lang.Object
com.beasys.commerce.foundation.Belonging
public java.lang.String interfaceName()
interfaceName
in interface Belonging
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.
setByValue
in interface Belonging
com.beasys.commerce.foundation.Belonging
belonging
- The Belonging
to use for initialization.public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- target object for comparisionpublic boolean equals(java.lang.Object o)
Belonging
equals
in interface Belonging
equals
in class java.lang.Object
com.beasys.commerce.foundation.Belonging
o
- 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 Expression
toString
in class java.lang.Object
ExpressionHelper.toString(com.beasys.commerce.foundation.expression.Expression)
public void valueOf(java.lang.String searchExpression)
This methods should be marked as abstract.
valueOf
in interface Expression
com.beasys.commerce.foundation.expression.Expression
java.lang.IllegalArgumentException
- thrown on an invalid expression
string.ExpressionHelper.parse(java.lang.String)
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |