com.flexive.shared.search
Class ResultOrderByInfo

java.lang.Object
  extended by com.flexive.shared.search.ResultColumnInfo
      extended by com.flexive.shared.search.ResultOrderByInfo
All Implemented Interfaces:
java.io.Serializable

public class ResultOrderByInfo
extends ResultColumnInfo
implements java.io.Serializable

An order-by property for the result preferences.

Version:
$Rev: 2906 $
Author:
Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
See Also:
Serialized Form

Constructor Summary
ResultOrderByInfo(java.lang.String propertyName, SortDirection direction)
           
ResultOrderByInfo(Table table, java.lang.String propertyName, java.lang.String suffix, SortDirection direction)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          
 SortDirection getDirection()
           
 int hashCode()
          
 java.lang.String toString()
          
 
Methods inherited from class com.flexive.shared.search.ResultColumnInfo
getColumnName, getLabel, getPropertyName, getSuffix, getTable, isStructureNode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResultOrderByInfo

public ResultOrderByInfo(Table table,
                         java.lang.String propertyName,
                         java.lang.String suffix,
                         SortDirection direction)

ResultOrderByInfo

public ResultOrderByInfo(java.lang.String propertyName,
                         SortDirection direction)
Method Detail

getDirection

public SortDirection getDirection()

equals

public boolean equals(java.lang.Object o)

Overrides:
equals in class ResultColumnInfo

hashCode

public int hashCode()

Overrides:
hashCode in class ResultColumnInfo

toString

public java.lang.String toString()

Overrides:
toString in class ResultColumnInfo