|
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 Form| Field 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()
getMaxReturn in interface Searchpublic void setMaxReturn(long maxReturn)
setMaxReturn in interface Searchpublic java.lang.String getSort()
getSort in interface Searchpublic void setSort(java.lang.String sort)
setSort in interface Searchpublic Expression getExpression()
getExpression in interface Searchpublic void setExpression(Expression expression)
setExpression in interface Searchpublic Belonging value()
value in interface Belongingpublic java.lang.Object clone()
Belongingclone in interface Belongingclone in class java.lang.Objectcom.beasys.commerce.foundation.Belongingpublic java.lang.String interfaceName()
interfaceName in interface Belongingpublic 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.
setByValue in interface Belongingcom.beasys.commerce.foundation.Belongingbelonging - The Belonging to use for initialization.public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - target object for comparisionpublic boolean equals(java.lang.Object o)
Belongingequals in interface Belongingequals in class java.lang.Objectcom.beasys.commerce.foundation.Belongingo - the Object to be compared.java.lang.ClassCastException - if the specified object is not of the same
type as this Belonging.
|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||