DEPRECATED Use com.bea.p13n.expression.Expression instead.
com.beasys.commerce.foundation.expression.Expression
An expression which does a boolean AND or OR against a list of child expression.
This represents a branch in an expression tree. Its children will be
either Criteria or other Logical.
children
logical
TypesHelper.AND or
TypesHelper.OR.
Related Topics
LogicalHome
LogicalImpl
ExpressionHelper
com.beasys.commerce.foundation.expression.LogicalImpl
Cloneable, Comparable, com.beasys.commerce.foundation.expression.Expression, Serializable
Method Summary |
public boolean |
|
public boolean |
|
public void |
|
public boolean |
|
public boolean |
|
public boolean |
|
public |
|
public |
|
public int |
|
public boolean |
|
public |
|
public boolean |
|
public boolean |
|
public boolean |
|
public void |
|
public void |
|
public int |
|
Methods from interface java.lang. |
compareTo |
Methods from interface com.beasys.commerce.foundation.expression. |
|
Method Detail |
public boolean addAllChildren(Collection collection)
Adds all of the expressions in the specified collection to our list of
children expressions.
public boolean addChildren(Expression element)
Ensures that the list of children expressions contains the specified
expression.
public void clearChildren()Removes all children expressions.
public boolean containsAllChildren(Collection c)
Returns true if all the specified expressions are our children.
public boolean containsChildren(Expression element)
Returns true if the specified expression is one of our children.
public boolean equalsChildren(Object object)
Compares the specified object with the list of children expressions.
public Collection getAllChildren()
Returns the list of children expressions.
public String getLogical()
Get the boolean logical operator.
public int hashCodeChildren()Returns the hash code value for the list of children expressions.
public boolean isEmptyChildren()Returns true if we have no children.
public Iterator iteratorChildren()
Returns an iterator over the list of children expressions.
public boolean removeAllChildren(Collection collection)
Removes, from our children, all of the expressions specified.
public boolean removeChildren(Expression element)
Removes a single child expression from us.
public boolean retainAllChildren(Collection collection)
Retains only the children which are also contained in the specified
collection.
public void setAllChildren(Collection collection)
Sets the list of children expressions.
public void setLogical(String logical)
Set the boolean logical operator.
public int sizeChildren()Returns the number of children expressions.