Package org.opentcs.access.to.order
Klasse OrderSequenceCreationTO
java.lang.Object
org.opentcs.access.to.CreationTO
org.opentcs.access.to.order.OrderSequenceCreationTO
- Alle implementierten Schnittstellen:
Serializable
A transfer object describing a transport order.
- Siehe auch:
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the (optional) name of the vehicle that is supposed to execute the transport order.getType()
Returns the (optional) type of the order sequence.boolean
Indicates whether the name is incomplete and requires to be completed when creating the actual order sequence.boolean
Returns whether failure of one transport order in the sequence makes subsequent ones fail, too.withFailureFatal
(boolean failureFatal) Creates a copy of this object with the given failureFatal flag.withIncompleteName
(boolean incompleteName) Creates a copy of this object with the given nameIncomplete flag.withIntendedVehicleName
(String intendedVehicleName) Creates a copy of this object with the given (optional) name of the vehicle that is supposed to execute the transport order.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.Creates a copy of this object with the given type.Von Klasse geerbte Methoden org.opentcs.access.to.CreationTO
getModifiableProperties, getName, getProperties, listWithAppendix, mapWithMapping, propertiesWith
-
Konstruktordetails
-
OrderSequenceCreationTO
Creates a new instance.- Parameter:
name
- The name of this transport order.
-
-
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 name.
-
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.
-
hasIncompleteName
public boolean hasIncompleteName()Indicates whether the name is incomplete and requires to be completed when creating the actual order sequence. (How exactly this is done is decided by the kernel.)- Gibt zurück:
true
if, and only if, the name is incomplete and requires to be completed by the kernel.
-
withIncompleteName
Creates a copy of this object with the given nameIncomplete flag.- Parameter:
incompleteName
- Whether the name is incomplete and requires to be completed when creating the actual order sequence.- Gibt zurück:
- A copy of this object, differing in the given value.
-
getType
Returns the (optional) type of the order sequence.- Gibt zurück:
- The (optional) type of the order sequence.
-
withType
Creates a copy of this object with the given type.- Parameter:
type
- The type.- Gibt zurück:
- A copy of this object, differing in the given type.
-
getIntendedVehicleName
Returns the (optional) name of the vehicle that is supposed to execute the transport order.- Gibt zurück:
- The (optional) name of the vehicle that is supposed to execute the transport order.
-
withIntendedVehicleName
Creates a copy of this object with the given (optional) name of the vehicle that is supposed to execute the transport order.- Parameter:
intendedVehicleName
- The vehicle name.- Gibt zurück:
- A copy of this object, differing in the given name of the intended vehicle.
-
isFailureFatal
public boolean isFailureFatal()Returns whether failure of one transport order in the sequence makes subsequent ones fail, too.- Gibt zurück:
- Whether failure of one transport order in the sequence makes subsequent ones fail, too.
-
withFailureFatal
Creates a copy of this object with the given failureFatal flag.- Parameter:
failureFatal
- Whether failure of one transport order in the sequence makes subsequent ones fail, too.- Gibt zurück:
- A copy of this object, differing in the given value.
-