Package org.opentcs.data.model
Class LocationType.Layout
java.lang.Object
org.opentcs.data.model.LocationType.Layout
- All Implemented Interfaces:
Serializable
- Enclosing class:
LocationType
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.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 LocationType.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.
-