com.atlassian.query.order
Class OrderByImpl

java.lang.Object
  extended by com.atlassian.query.order.OrderByImpl
All Implemented Interfaces:
OrderBy

public class OrderByImpl
extends Object
implements OrderBy

Default implementation of OrderBy.

Since:
4.0

Field Summary
static OrderByImpl NO_ORDER
           
 
Constructor Summary
OrderByImpl(Collection<SearchSort> searchSorts)
           
OrderByImpl(SearchSort... searchSorts)
           
 
Method Summary
 boolean equals(Object o)
           
 List<SearchSort> getSearchSorts()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_ORDER

public static final OrderByImpl NO_ORDER
Constructor Detail

OrderByImpl

public OrderByImpl(SearchSort... searchSorts)

OrderByImpl

public OrderByImpl(Collection<SearchSort> searchSorts)
Method Detail

getSearchSorts

public List<SearchSort> getSearchSorts()
Specified by:
getSearchSorts in interface OrderBy
Returns:
a list of SearchSort objects that represent the specified sorting requested for this OrderBy clause. Cannot be null.

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2009 Atlassian. All Rights Reserved.