Class LoadHandlingDevice

java.lang.Object
org.opentcs.drivers.vehicle.LoadHandlingDevice
All Implemented Interfaces:
Serializable

public class LoadHandlingDevice extends Object implements Serializable
Describes a single load handling device on a vehicle.
See Also:
  • Constructor Details

    • LoadHandlingDevice

      public LoadHandlingDevice(String label, boolean full)
      Creates a new LoadHandlingDevice.
      Parameters:
      label - The device's name/label.
      full - A flag indicating whether this device is filled to its maximum capacity or not.
  • Method Details

    • getLabel

      public String getLabel()
      Returns this load handling device's name/label.
      Returns:
      This load handling device's name/label.
    • isFull

      public boolean isFull()
      Returns a flag indicating whether this device is filled to its maximum capacity or not.
      Returns:
      A flag indicating whether this device is filled to its maximum capacity or not.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object