Package org.opentcs.drivers.vehicle
Class LoadHandlingDevice
java.lang.Object
org.opentcs.drivers.vehicle.LoadHandlingDevice
- All Implemented Interfaces:
java.io.Serializable
public class LoadHandlingDevice
extends java.lang.Object
implements java.io.Serializable
Describes a single load handling device on a vehicle.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description LoadHandlingDevice(java.lang.String label, boolean full)
Creates a new LoadHandlingDevice.LoadHandlingDevice(LoadHandlingDevice original)
Deprecated.Copying this immutable data structure does not make sense. -
Method Summary
-
Constructor Details
-
LoadHandlingDevice
public LoadHandlingDevice(java.lang.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.
-
LoadHandlingDevice
@Deprecated @ScheduledApiChange(details="Will be removed", when="6.0") public LoadHandlingDevice(LoadHandlingDevice original)Deprecated.Copying this immutable data structure does not make sense.Creates a new LoadHandlingDevice as a copy of the given one.- Parameters:
original
- The instance to be copied.
-
-
Method Details
-
getLabel
public java.lang.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 java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-