Klasse DestinationCreationTO

java.lang.Object
org.opentcs.access.to.CreationTO
org.opentcs.access.to.order.DestinationCreationTO
Alle implementierten Schnittstellen:
Serializable

public class DestinationCreationTO extends CreationTO implements Serializable
A transfer object describing a destination of a drive order.
Siehe auch:
  • Konstruktordetails

    • DestinationCreationTO

      public DestinationCreationTO(@Nonnull String destLocationName, @Nonnull String destOperation)
      Creates a new instance.
      Parameter:
      destLocationName - The name of the destination location (or destination point).
      destOperation - The operation to be performed at the destination.
  • Methodendetails

    • withName

      public DestinationCreationTO withName(@Nonnull String name)
      Creates a copy of this object with the given name.
      Setzt außer Kraft:
      withName in Klasse CreationTO
      Parameter:
      name - the new name of the instance.
      Gibt zurück:
      A copy of this object, differing in the given value.
    • withProperties

      public DestinationCreationTO withProperties(@Nonnull Map<String,String> properties)
      Creates a copy of this object with the given properties.
      Setzt außer Kraft:
      withProperties in Klasse CreationTO
      Parameter:
      properties - The new properties.
      Gibt zurück:
      A copy of this object, differing in the given value.
    • withProperty

      public DestinationCreationTO withProperty(@Nonnull String key, @Nonnull String value)
      Creates a copy of this object and adds the given property. If value == null, then the key-value pair is removed from the properties.
      Setzt außer Kraft:
      withProperty in Klasse CreationTO
      Parameter:
      key - the key.
      value - the value
      Gibt zurück:
      A copy of this object that either includes the given entry in it's current properties, if value != null or excludes the entry otherwise.
    • getDestLocationName

      @Nonnull public String getDestLocationName()
      Returns the destination location (or point) name.
      Gibt zurück:
      The destination location (or point) name.
    • withDestLocationName

      public DestinationCreationTO withDestLocationName(@Nonnull String desLocationName)
      Creates a copy of this object with the given destination location (or point) name.
      Parameter:
      desLocationName - The destination location (or point) name.
      Gibt zurück:
      A copy of this object, differing in the given destination.
    • getDestOperation

      @Nonnull public String getDestOperation()
      Returns the operation to be performed at the destination.
      Gibt zurück:
      The operation to be performed at the destination.
    • withDestOperation

      public DestinationCreationTO withDestOperation(@Nonnull String destOperation)
      Creates a copy of this object with the given operation to be performed at the destination.
      Parameter:
      destOperation - The operation.
      Gibt zurück:
      A copy of this object, differing in the given destination operation.