© 2005 BEA Systems, Inc.

com.beasys.commerce.foundation.expression
Interface Expression

All Superinterfaces:
Cloneable, Comparable, Serializable
All Known Subinterfaces:
Criteria, Logical
All Known Implementing Classes:
CriteriaImpl, ExpressionImpl, LogicalImpl

Deprecated. Use Expression instead.

public interface Expression
extends Comparable, Cloneable, Serializable

An Expression represent a comparision expression.

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

Attribute: not

See Also:
ExpressionHome, ExpressionImpl, ExpressionHelper

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

Method Detail

getNot

public boolean getNot()
Deprecated. 
Get the value of not


interfaceName

public String interfaceName()
Deprecated. 
Get the interface name.


setByValue

public void setByValue(Object val)
Deprecated. 
Set this object.


setNot

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


toString

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

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

See Also:
ExpressionHelper

value

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


valueOf

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

Throws:
IllegalArgumentException - thrown on an invalid expression string.
See Also:
ExpressionHelper.parse(java.lang.String)

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved