|
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()
getMaxReturn
in interface Search
public void setMaxReturn(long maxReturn)
setMaxReturn
in interface Search
public java.lang.String getSort()
getSort
in interface Search
public void setSort(java.lang.String sort)
setSort
in interface Search
public Expression getExpression()
getExpression
in interface Search
public void setExpression(Expression expression)
setExpression
in interface Search
public Belonging value()
value
in interface Belonging
public java.lang.Object clone()
Belonging
clone
in interface Belonging
clone
in class java.lang.Object
com.beasys.commerce.foundation.Belonging
public java.lang.String interfaceName()
interfaceName
in interface Belonging
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.
setByValue
in interface Belonging
com.beasys.commerce.foundation.Belonging
belonging
- The Belonging
to use for initialization.public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- target object for comparisionpublic boolean equals(java.lang.Object o)
Belonging
equals
in interface Belonging
equals
in class java.lang.Object
com.beasys.commerce.foundation.Belonging
o
- 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 |