|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.foundation.expression.SearchImpl
An implementation of the Search interface.
Search
,
SearchHome
, Serialized FormField Summary | |
Expression |
expression
The search expression. |
long |
maxReturn
The maximum number of objects to return. |
java.lang.String |
sort
The sorting criteria Containment: By Value Multiplicity: 1:1 |
Constructor Summary | |
SearchImpl()
Constructor. |
Method Summary | |
java.lang.Object |
clone()
Returns a shallow copy of the Belonging instance. |
int |
compareTo(java.lang.Object o)
Compare this belonging to another |
boolean |
equals(java.lang.Object o)
Indicates whether some other Belonging is equivalent to this Belonging. |
Expression |
getExpression()
Get the search expression. |
long |
getMaxReturn()
Get the maximum number of objects to return. |
java.lang.String |
getSort()
Get the sort criteria. |
java.lang.String |
interfaceName()
interfaceName() returns the unqualified name of the interface from the UML model |
void |
setByValue(Belonging value)
It is possible to call set-by-value with a superclass. |
void |
setExpression(Expression expression)
Set the search expression. |
void |
setMaxReturn(long maxReturn)
Set the maximum number of objects to return. |
void |
setSort(java.lang.String sort)
Set the sort criteria. |
Belonging |
value()
value() is a more typesafe implementation of clone() |
Methods inherited from class java.lang.Object |
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public long maxReturn
public java.lang.String sort
public Expression expression
Constructor Detail |
public SearchImpl()
Method Detail |
public long getMaxReturn()
public void setMaxReturn(long maxReturn)
public java.lang.String getSort()
public void setSort(java.lang.String sort)
public Expression getExpression()
public void setExpression(Expression expression)
public Belonging value()
public java.lang.Object clone()
public java.lang.String interfaceName()
public void setByValue(Belonging 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.
belonging
- The Belonging
to use for initialization.public int compareTo(java.lang.Object o)
o
- target object for comparisionpublic boolean equals(java.lang.Object o)
o
- the Object to be compared.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |