toolkit.db.api
Class OrderByInfo

java.lang.Object
  extended by toolkit.db.api.OrderByInfo

public class OrderByInfo
extends java.lang.Object

Class OrderByInfo wraps all sort info.


Method Summary
 boolean equals(java.lang.Object obj)
          Compares this OrderByInfo to the specified object.
 ColumnInfo getColumn()
          Gets the ColumnInfo of this order by.
 java.lang.String getOrder()
          Gets the order string of this order by.
 java.lang.String toString()
          Returns a string representing this OrderByInfo's values.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getColumn

public ColumnInfo getColumn()
Gets the ColumnInfo of this order by.

Returns:
the ColumnInfo of this order by.

getOrder

public java.lang.String getOrder()
Gets the order string of this order by.

Returns:
the order string of this order by.

equals

public boolean equals(java.lang.Object obj)
Compares this OrderByInfo to the specified object.

Overrides:
equals in class java.lang.Object
Returns:
true if the OrderByInfo are the same, false otherwise.

toString

public java.lang.String toString()
Returns a string representing this OrderByInfo's values. The format is as follows:

  className@hashCode[ columnMappingNameName | order ]
        

Overrides:
toString in class java.lang.Object
Returns:
a string representing this OrderByInfo.