Class AcceptableOrderType

java.lang.Object
org.opentcs.data.model.AcceptableOrderType
All Implemented Interfaces:
Serializable

public class AcceptableOrderType extends Object implements Serializable
Acceptable order type with priority.
See Also:
  • Constructor Details

    • AcceptableOrderType

      public AcceptableOrderType(String name, int priority)
      Creates a new vehicle.
      Parameters:
      name - The name of the order type.
      priority - Priority of the order type, with a lower value indicating a higher priority.
  • Method Details

    • getName

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

      public int getPriority()
      Returns the priority of the order type, with a lower value indicating a higher priority.
      Returns:
      The priority of the order type.
    • 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