Package org.opentcs.data.model
Class LocationType.Layout
java.lang.Object
org.opentcs.data.model.LocationType.Layout
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- LocationType
public static class LocationType.Layout
extends java.lang.Object
implements java.io.Serializable
Contains information regarding the grahical representation of a location type.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Layout()
Creates a new instance.Layout(LocationRepresentation locationRepresentation)
Creates a new instance. -
Method Summary
Modifier and Type Method Description LocationRepresentation
getLocationRepresentation()
Returns the location representation to use for locations with this location type.LocationType.Layout
withLocationRepresentation(LocationRepresentation locationRepresentation)
Creates a copy of this object, with the given location representation.
-
Constructor Details
-
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.
-