com.vaadin.data.util.sqlcontainer.query
Class OrderBy

java.lang.Object
  extended by com.vaadin.data.util.sqlcontainer.query.OrderBy
All Implemented Interfaces:
Serializable

public class OrderBy
extends Object
implements Serializable

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:
Serialized Form

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()


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.