|
Copyright © 2008 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.LogicalImpl
Expression instead.
public class LogicalImpl
An expression which does a boolean AND or OR against a list of child expression.
Logical,
LogicalHome,
ExpressionHelper,
Serialized Form| Field Summary | |
|---|---|
Collection |
children
Deprecated The list of children Expressions. |
String |
logical
Deprecated The boolean logical operator. |
| Fields inherited from class com.beasys.commerce.foundation.expression.ExpressionImpl |
|---|
not |
| Constructor Summary | |
|---|---|
LogicalImpl()
Deprecated Constructor. |
|
| Method Summary | |
|---|---|
boolean |
addAllChildren(Collection collection)
Deprecated Adds all of the expressions in the specified collection to our list of children expressions. |
boolean |
addChildren(Expression element)
Deprecated Ensures that the list of children expressions contains the specified expression. |
void |
clearChildren()
Deprecated Removes all children expressions. |
int |
compareTo(Object o)
Deprecated Compare this belonging to another |
boolean |
containsAllChildren(Collection collection)
Deprecated Returns true if all the specified expressions are our children. |
boolean |
containsChildren(Expression element)
Deprecated Returns true if the specified expression is one of our children. |
boolean |
equalsChildren(Object object)
Deprecated Compares the specified object with the list of children expressions. |
Collection |
getAllChildren()
Deprecated Returns the list of children expressions. |
String |
getLogical()
Deprecated Get the boolean logical operator. |
int |
hashCodeChildren()
Deprecated Returns the hash code value for the list of children expressions. |
String |
interfaceName()
Deprecated interfaceName() returns the unqualified name of the interface from the UML model. |
boolean |
isEmptyChildren()
Deprecated Returns true if we have no children. |
Iterator |
iteratorChildren()
Deprecated Returns an iterator over the list of children expressions. |
boolean |
removeAllChildren(Collection collection)
Deprecated Removes, from our children, all of the expressions specified. |
boolean |
removeChildren(Expression element)
Deprecated Removes a single child expression from us. |
boolean |
retainAllChildren(Collection collection)
Deprecated Retains only the children which are also contained in the specified collection. |
void |
setAllChildren(Collection collection)
Deprecated Sets the list of children expressions. |
void |
setByValue(Object value)
Deprecated It is possible to call set-by-value with a superclass. |
void |
setLogical(String logical)
Deprecated Set the boolean logical operator. |
int |
sizeChildren()
Deprecated Returns the number of children expressions. |
Object |
value()
Deprecated value() is a more typesafe implementation of clone() |
void |
valueOf(String expression)
Deprecated Populate this Logical from the given expression string. |
| 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 Collection children
public String logical
| Constructor Detail |
|---|
public LogicalImpl()
| Method Detail |
|---|
public Collection getAllChildren()
getAllChildren in interface Logicalpublic void setAllChildren(Collection collection)
setAllChildren in interface Logicalpublic boolean addChildren(Expression element)
addChildren in interface Logicalpublic boolean addAllChildren(Collection collection)
addAllChildren in interface Logicalpublic void clearChildren()
clearChildren in interface Logicalpublic boolean containsChildren(Expression element)
containsChildren in interface Logicalpublic boolean containsAllChildren(Collection collection)
containsAllChildren in interface Logicalpublic boolean equalsChildren(Object object)
equalsChildren in interface Logicalpublic int hashCodeChildren()
hashCodeChildren in interface Logicalpublic boolean isEmptyChildren()
isEmptyChildren in interface Logicalpublic Iterator iteratorChildren()
iteratorChildren in interface Logicalpublic boolean removeChildren(Expression element)
removeChildren in interface Logicalpublic boolean removeAllChildren(Collection collection)
removeAllChildren in interface Logicalpublic boolean retainAllChildren(Collection collection)
retainAllChildren in interface Logicalpublic int sizeChildren()
sizeChildren in interface Logicalpublic String getLogical()
getLogical in interface Logicalpublic void setLogical(String logical)
setLogical in interface Logicalpublic 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 © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||