SearchImpl Class
DEPRECATED Use com.bea.p13n.content.expression.Search
instead.
- public class SearchImpl
extends Object
implements com.beasys.commerce.foundation.expression.Search
An implementation of the Search interface.
Related Topics
Search
SearchHome
-
Hierarchy
-
Object
SearchImpl
-
All Implemented Interfaces
-
Cloneable
, Comparable
, com.beasys.commerce.foundation.expression.Search
, Serializable
expression
public com.beasys.commerce.foundation.expression.Expression
expression
- The search expression.
- Containment: By Value
- Multiplicity: 1:1
maxReturn
public long maxReturn
- The maximum number of objects to return.
- Containment: By Value
- Multiplicity: 1:1
sort
public String
sort
- The sorting criteria
- Containment: By Value
- Multiplicity: 1:1
SearchImpl
public SearchImpl()
- Constructor.
clone() Method
public Object
clone()
-
Overrides
-
Object.clone()
compareTo(Object) Method
public int compareTo(Object
o)
Compare this belonging to another
Parameters
-
o
- target object for comparision
Returns
- 0 objects are equal
equals(Object) Method
public boolean equals(Object
o)
-
Overrides
-
Object.equals(Object)
getExpression() Method
public Expression
getExpression()
Get the search expression.
getMaxReturn() Method
public long getMaxReturn()
Get the maximum number of objects to return.
getSort() Method
public String
getSort()
Get the sort criteria.
interfaceName() Method
public String
interfaceName()
interfaceName() returns the unqualified name of the interface from
the UML model
Returns
- the unqualified name of the belonging interface
setByValue(Object) Method
public void setByValue(Object
value)
It is possible to call set-by-value with a superclass.
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.
setExpression(Expression) Method
public void setExpression(Expression
expression)
Set the search expression.
setMaxReturn(long) Method
public void setMaxReturn(long maxReturn)
Set the maximum number of objects to return.
setSort(String) Method
public void setSort(String
sort)
Set the sort criteria.
value() Method
public Object
value()
value() is a more typesafe implementation of clone()
Returns
- a clone of this instance