org.rhq.core.domain.util
Class OrderingField

java.lang.Object
  extended by org.rhq.core.domain.util.OrderingField
All Implemented Interfaces:
Serializable

public class OrderingField
extends Object
implements Serializable

Object to hold an ORDER BY field argument including the name and sort order.

See Also:
Serialized Form

Constructor Summary
protected OrderingField()
           
  OrderingField(String field, PageOrdering ordering)
           
 
Method Summary
 boolean equals(Object o)
           
 void flipOrdering()
           
 String getField()
           
 PageOrdering getOrdering()
           
 int hashCode()
           
 void setField(String field)
           
 void setOrdering(PageOrdering ordering)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderingField

protected OrderingField()

OrderingField

public OrderingField(String field,
                     PageOrdering ordering)
Method Detail

getField

public String getField()

setField

public void setField(String field)

getOrdering

@NotNull
public PageOrdering getOrdering()

setOrdering

public void setOrdering(PageOrdering ordering)

flipOrdering

public void flipOrdering()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.