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()
          Get ColumnInfo of this order by.
 java.lang.String getOrder()
          Get 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()
Get ColumnInfo of this order by.

Returns:
the ColumnInfo of this order by.

getOrder

public java.lang.String getOrder()
Get 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 is 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.