Package org.opentcs.access.to.model
Class LocationTypeCreationTO.Layout
java.lang.Object
org.opentcs.access.to.model.LocationTypeCreationTO.Layout
- All Implemented Interfaces:
Serializable
- Enclosing class:
LocationTypeCreationTO
Contains information regarding the grahical representation of a location type.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLayout()
Creates a new instance.Layout
(LocationRepresentation locationRepresentation) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the location representation to use for locations with this location type.toString()
withLocationRepresentation
(LocationRepresentation locationRepresentation) Creates a copy of this object, with the given location representation.
-
Constructor Details
-
Layout
public Layout()Creates a new instance. -
Layout
Creates a new instance.- Parameters:
locationRepresentation
- The location representation to use for locations with this location type.
-
-
Method Details
-
getLocationRepresentation
Returns the location representation to use for locations with this location type.- Returns:
- The location representation to use for locations with this location type.
-
withLocationRepresentation
public LocationTypeCreationTO.Layout withLocationRepresentation(LocationRepresentation locationRepresentation) Creates a copy of this object, with the given location representation.- Parameters:
locationRepresentation
- The value to be set in the copy.- Returns:
- A copy of this object, differing in the given value.
-
toString
-