Class Table.Order

java.lang.Object
org.assertj.db.type.Table.Order
Enclosing class:
Table

public static class Table.Order extends Object
Indicates an order with the name on which is the order and the type.
See Also:
  • Method Details

    • asc

      public static Table.Order asc(String name)
      Builds an ascending order.
      Parameters:
      name - The name of the order.
      Returns:
      An ascending order.
    • desc

      public static Table.Order desc(String name)
      Builds the descending order.
      Parameters:
      name - The name of the order.
      Returns:
      The descending order.
    • getName

      public String getName()
      Returns the name of the order.
      Returns:
      The name of the order.
    • getType

      public Table.Order.OrderType getType()
      Returns the type of the order.
      Returns:
      The type of the order.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

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