com.ibm.commerce.beans
Class SortedListBean
java.lang.Object
|
+--com.ibm.commerce.beans.InputDataBeanImpl
|
+--com.ibm.commerce.beans.SmartDataBeanImpl
|
+--com.ibm.commerce.beans.SortedListBean
- All Implemented Interfaces:
- DataBean,
InputDataBean,
java.io.Serializable,
SmartDataBean,
SortedListInputDataBean
- public abstract class SortedListBean
- extends
SmartDataBeanImpl
- implements
SortedListInputDataBean
Abstract implementation class of a data bean the provides the sorting of
elements inside the bean.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
IBM Copyright notice field. |
protected
int |
listSize
|
com.ibm.commerce.base.util.SortingAttribute |
sortingAtt
The sorting attribute. |
Method Summary |
int |
getLength()
Return the number of elements in the databean. |
com.ibm.commerce.base.util.SortingAttribute |
getSortAtt()
The attribute to sort the elements in the databean. |
void |
setSortAtt(com.ibm.commerce.base.util.SortingAttribute newSortAtt)
Sets the sorting attribute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM Copyright notice field.
- See Also:
-
Constant Field Values
sortingAtt
public com.ibm.commerce.base.util.SortingAttribute sortingAtt
- The sorting attribute.
listSize
protected int listSize
SortedListBean
public SortedListBean()
- Creates the SortedList databean.
getLength
public int getLength()
- Return the number of elements in the databean.
-
- Returns:
- The number of elements.
getSortAtt
public com.ibm.commerce.base.util.SortingAttribute getSortAtt()
- The attribute to sort the elements in the databean.
-
- Returns:
- The sorting attribute.
setSortAtt
public void setSortAtt(com.ibm.commerce.base.util.SortingAttribute newSortAtt)
- Sets the sorting attribute.
-
- Specified by:
-
setSortAtt
in interface
SortedListInputDataBean
-
- Parameters:
newSortAtt
- the sorting attribute.