Package org.assertj.db.type
Class Table.Order
java.lang.Object
org.assertj.db.type.Table.Order
- Enclosing class:
Table
Indicates an order with the name on which is the order and the type.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumeration of the type of order. -
Method Summary
Modifier and TypeMethodDescriptionstatic Table.OrderBuilds an ascending order.static Table.OrderBuilds the descending order.booleangetName()Returns the name of the order.getType()Returns the type of the order.inthashCode()
-
Method Details
-
asc
Builds an ascending order.- Parameters:
name- The name of the order.- Returns:
- An ascending order.
-
desc
Builds the descending order.- Parameters:
name- The name of the order.- Returns:
- The descending order.
-
getName
Returns the name of the order.- Returns:
- The name of the order.
-
getType
Returns the type of the order.- Returns:
- The type of the order.
-
hashCode
public int hashCode() -
equals
-