|
||||||||||
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. |
java.lang.String |
getName()
Gets a string representing the name of this instance of the CpoOrderBy |
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. |
void |
setName(java.lang.String name)
Sets a string representing the name of this instance of the CpoOrderBy |
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 CpoOrderBy
public void setAscending(boolean b)
setAscending
in interface CpoOrderBy
b
- 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 CpoOrderBy
public void setAttribute(java.lang.String s)
setAttribute
in interface CpoOrderBy
s
- The name of the attributepublic java.lang.String getFunction()
getFunction
in interface CpoOrderBy
public void setFunction(java.lang.String s)
setFunction
in interface CpoOrderBy
s
- The name of the functionpublic java.lang.String toString(JdbcMetaClass<?> jmc) throws CpoException
CpoException
public java.lang.String getName()
CpoOrderBy
getName
in interface CpoOrderBy
public void setName(java.lang.String name)
CpoOrderBy
setName
in interface CpoOrderBy
name
- The name of the CpoOrderBy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |