org.rhq.core.domain.util
Class OrderingField
java.lang.Object
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
OrderingField
protected OrderingField()
OrderingField
public OrderingField(String field,
PageOrdering ordering)
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.