We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.data.util.sqlcontainer.query.
Class OrderBy
java.lang.Object
com.vaadin.data.util.sqlcontainer.query.OrderBy
All Implemented Interfaces:
- extends Object
- implements Serializable
public class OrderBy
OrderBy represents a sorting rule to be applied to a query made by the SQLContainer's QueryDelegate. The sorting rule is simple and contains only the affected column's name and the direction of the sort.
See Also:
Constructor Summary | |
---|---|
OrderBy(String column,
boolean isAscending)
|
Method Summary | |
---|---|
String |
getColumn()
|
boolean |
isAscending()
|
void |
setAscending(boolean isAscending)
|
void |
setColumn(String column)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
OrderBy
public OrderBy(String column,
boolean isAscending)
Method Detail |
---|
setColumn
public void setColumn(String column)
getColumn
public String getColumn()
setAscending
public void setAscending(boolean isAscending)
isAscending
public boolean isAscending()