Package org.opennms.core.criteria
Class Order
- java.lang.Object
-
- org.opennms.core.criteria.Order
-
public class Order extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Order.OrderVisitor
-
Constructor Summary
Constructors Constructor Description Order(java.lang.String attribute, boolean ascending)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
asc()
static Order
asc(java.lang.String attribute)
boolean
desc()
static Order
desc(java.lang.String attribute)
boolean
equals(java.lang.Object obj)
java.lang.String
getAttribute()
int
hashCode()
java.lang.String
toString()
void
visit(Order.OrderVisitor visitor)
-
-
-
Method Detail
-
visit
public void visit(Order.OrderVisitor visitor)
-
getAttribute
public java.lang.String getAttribute()
-
asc
public boolean asc()
-
desc
public boolean desc()
-
asc
public static Order asc(java.lang.String attribute)
-
desc
public static Order desc(java.lang.String attribute)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-