|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.caf.rt.bol.util.OrderBy
public class OrderBy
Represents a list of attributes that should be used to sort the result of a query
| Constructor Summary | |
|---|---|
OrderBy()
Constructs empty instance |
|
OrderBy(String attributeName)
Constructs order by clause for a single attribute in ascending order. |
|
OrderBy(String attributeName,
Order order)
Constructs order by clause for a single attribute. |
|
| Method Summary | |
|---|---|
OrderBy |
add(String attributeName)
Adds attribute to be used for sorting |
OrderBy |
add(String attributeName,
Order order)
Adds attribute to be used for sorting |
List<OrderByEntry> |
getEntries()
Returns a list of attributes-order pairs that will be used for sorting |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OrderBy()
public OrderBy(String attributeName,
Order order)
attributeName - the name of the attribute to be used for sortingorder - either of Order.ASC or Order.DESCpublic OrderBy(String attributeName)
attributeName - the name of the attribute to be used for sorting| Method Detail |
|---|
public OrderBy add(String attributeName,
Order order)
attributeName - the name of the attribute to be used for sortingorder - either of Order.ASC or Order.DESC
public OrderBy add(String attributeName)
attributeName - the name of the attribute to be used for sorting
public List<OrderByEntry> getEntries()
public String toString()
toString in class Object| Access Rights |
|---|
| SC | DC |
|---|---|
[sap.com] CAF
|
[sap.com] caf/runtime/ear
|
|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||