|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.synchronoss.cpo.jdbc.JdbcCpoOrderBy
public class JdbcCpoOrderBy
JdbcCpoOrderBy is an interface for specifying the sort order in which objects are returned from the Datasource.
| Constructor Summary | |
|---|---|
JdbcCpoOrderBy(java.lang.String attr,
boolean asc)
|
|
JdbcCpoOrderBy(java.lang.String attr,
boolean asc,
java.lang.String func)
|
|
| Method Summary | |
|---|---|
boolean |
getAscending()
Gets the boolean that determines if the objects will be returned from from the CpoAdapter in Ascending order or Descending order |
java.lang.String |
getAttribute()
Gets the name of the attribute that is to be used to sort the results from the CpoAdapter. |
java.lang.String |
getFunction()
Gets a string representing a datasource specific function call that must be applied to the attribute that will be used for sorting. |
void |
setAscending(boolean b)
Sets the boolean that determines if the objects will be returned from from the CpoAdapter in Ascending order or Descending order |
void |
setAttribute(java.lang.String s)
Sets the name of the attribute that is to be used to sort the results from the CpoAdapter. |
void |
setFunction(java.lang.String s)
Sets a string representing a datasource specific function call that must be applied to the attribute that will be used for sorting. |
java.lang.String |
toString(JdbcMetaClass<?> jmc)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JdbcCpoOrderBy(java.lang.String attr,
boolean asc)
public JdbcCpoOrderBy(java.lang.String attr,
boolean asc,
java.lang.String func)
| Method Detail |
|---|
public boolean getAscending()
getAscending in interface CpoOrderBypublic void setAscending(boolean b)
setAscending in interface CpoOrderByb - true if it is to sort in Ascensing Order
false if it is to be sorted in Descending Orderpublic java.lang.String getAttribute()
getAttribute in interface CpoOrderBypublic void setAttribute(java.lang.String s)
setAttribute in interface CpoOrderBys - The name of the attributepublic java.lang.String getFunction()
getFunction in interface CpoOrderBypublic void setFunction(java.lang.String s)
setFunction in interface CpoOrderBys - The name of the function
public java.lang.String toString(JdbcMetaClass<?> jmc)
throws CpoException
CpoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||