Package org.opentcs.access.to.order
Klasse DestinationCreationTO
java.lang.Object
org.opentcs.access.to.CreationTO
org.opentcs.access.to.order.DestinationCreationTO
- Alle implementierten Schnittstellen:
Serializable
A transfer object describing a destination of a drive order.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungDestinationCreationTO
(String destLocationName, String destOperation) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the destination location (or point) name.Returns the operation to be performed at the destination.withDestLocationName
(String desLocationName) Creates a copy of this object with the given destination location (or point) name.withDestOperation
(String destOperation) Creates a copy of this object with the given operation to be performed at the destination.Creates a copy of this object with the given name.withProperties
(Map<String, String> properties) Creates a copy of this object with the given properties.withProperty
(String key, String value) Creates a copy of this object and adds the given property.Von Klasse geerbte Methoden org.opentcs.access.to.CreationTO
getModifiableProperties, getName, getProperties, listWithAppendix, mapWithMapping, propertiesWith
-
Konstruktordetails
-
DestinationCreationTO
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
Creates a copy of this object with the given name.- Setzt außer Kraft:
withName
in KlasseCreationTO
- Parameter:
name
- the new name of the instance.- Gibt zurück:
- A copy of this object, differing in the given value.
-
withProperties
Creates a copy of this object with the given properties.- Setzt außer Kraft:
withProperties
in KlasseCreationTO
- Parameter:
properties
- The new properties.- Gibt zurück:
- A copy of this object, differing in the given value.
-
withProperty
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 KlasseCreationTO
- 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
Returns the destination location (or point) name.- Gibt zurück:
- The destination location (or point) name.
-
withDestLocationName
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
Returns the operation to be performed at the destination.- Gibt zurück:
- The operation to be performed at the destination.
-
withDestOperation
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.
-