Expression Interface

DEPRECATED Use com.bea.p13n.expression.Expression instead.

com.beasys.commerce.foundation.expression
Expression Interface

public interface Expression

    extends Cloneable, Comparable, Serializable

An Expression represent a comparision expression.

The Expression interface is supposed to be abstract. The only instances of Expressions should be either Criteria or Logical.

Attribute: not

Related Topics

ExpressionHome
ExpressionImpl
ExpressionHelper


All Known Implementing Classes
com.beasys.commerce.foundation.expression.ExpressionImpl, com.beasys.commerce.foundation.expression.CriteriaImpl, com.beasys.commerce.foundation.expression.LogicalImpl
All Superinterfaces
Cloneable, Comparable, Serializable
All Known Subinterfaces

com.beasys.commerce.foundation.expression.Criteria, com.beasys.commerce.foundation.expression.Logical

Method Summary

public boolean
getNot()
Get the value of not
public String
interfaceName()
Get the interface name.
public void
setByValue(Object val)
Set this object.
public void
setNot(boolean not)
Set the value of not
public String
toString()
Render the expression as a string.
public Object
value()
Get a value object initialized from this.
public void
valueOf(String searchExpression)
Populate this Expression from the specified expression string.
 
Methods from interface java.lang.Comparable
compareTo
   

Method Detail

getNot() Method

public boolean getNot()
Get the value of not


interfaceName() Method

public String interfaceName()
Get the interface name.


setByValue(Object) Method

public void setByValue(Object val)
Set this object.


setNot(boolean) Method

public void setNot(boolean not)
Set the value of not


toString() Method

public String toString()
Render the expression as a string.

This will convert the expression to the query syntax form as specified by ExpressionHelper.

Overrides
Object.toString()

Related Topics

ExpressionHelper


value() Method

public Object value()
Get a value object initialized from this.


valueOf(String) Method

public void valueOf(String searchExpression)
Populate this Expression from the specified expression string.

Related Topics

ExpressionHelper.parse(String)