Package org.opentcs.data.model
Klasse PlantModel
java.lang.Object
org.opentcs.data.model.PlantModel
- Alle implementierten Schnittstellen:
Serializable
An immutable representation of a complete plant model's state.
- Siehe auch:
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the blocks in this plant model.Returns the locations in this plant model.Returns the location types in this plant model.getName()
Returns the name of the plant model.getPaths()
Returns the paths in this plant model.Returns the points in this plant model.Returns the plant model's properties.Returns the vehicles in this plant model.Returns the visual layout in this plant model.toString()
withBlocks
(Set<Block> blocks) Returns a copy of this plant model, with its blocks replaced by the given ones.withLocations
(Set<Location> locations) Returns a copy of this plant model, with its locations replaced by the given ones.withLocationTypes
(Set<LocationType> locationTypes) Returns a copy of this plant model, with its location types replaced by the given ones.Returns a copy of this plant model, with its paths replaced by the given ones.withPoints
(Set<Point> points) Returns a copy of this plant model, with its points replaced by the given ones.withProperties
(Map<String, String> properties) Returns a copy of this plant model, with its properties replaced by the given ones.withVehicles
(Set<Vehicle> vehicles) Returns a copy of this plant model, with its vehicles replaced by the given ones.withVisualLayout
(VisualLayout visualLayout) Returns a copy of this plant model, with its visual layout replaced by the given one.
-
Konstruktordetails
-
PlantModel
Creates a new instance.- Parameter:
name
- The model's name.
-
-
Methodendetails
-
getName
Returns the name of the plant model.- Gibt zurück:
- The name of the plant model.
-
getProperties
Returns the plant model's properties.- Gibt zurück:
- The plant model's properties.
-
withProperties
Returns a copy of this plant model, with its properties replaced by the given ones.- Parameter:
properties
- The properties.- Gibt zurück:
- A copy of this plant model, with its properties replaced by the given ones.
-
getPoints
Returns the points in this plant model.- Gibt zurück:
- The points in this plant model.
-
withPoints
Returns a copy of this plant model, with its points replaced by the given ones.- Parameter:
points
- The points.- Gibt zurück:
- A copy of this plant model, with its points replaced by the given ones.
-
getPaths
Returns the paths in this plant model.- Gibt zurück:
- The paths in this plant model.
-
withPaths
Returns a copy of this plant model, with its paths replaced by the given ones.- Parameter:
paths
- The paths.- Gibt zurück:
- A copy of this plant model, with its paths replaced by the given ones.
-
getLocationTypes
Returns the location types in this plant model.- Gibt zurück:
- The location types in this plant model.
-
withLocationTypes
Returns a copy of this plant model, with its location types replaced by the given ones.- Parameter:
locationTypes
- The location types.- Gibt zurück:
- A copy of this plant model, with its location types replaced by the given ones.
-
getLocations
Returns the locations in this plant model.- Gibt zurück:
- The locations in this plant model.
-
withLocations
Returns a copy of this plant model, with its locations replaced by the given ones.- Parameter:
locations
- The locations.- Gibt zurück:
- A copy of this plant model, with its locations replaced by the given ones.
-
getBlocks
Returns the blocks in this plant model.- Gibt zurück:
- The blocks in this plant model.
-
withBlocks
Returns a copy of this plant model, with its blocks replaced by the given ones.- Parameter:
blocks
- The blocks.- Gibt zurück:
- A copy of this plant model, with its blocks replaced by the given ones.
-
getVehicles
Returns the vehicles in this plant model.- Gibt zurück:
- The vehicles in this plant model.
-
withVehicles
Returns a copy of this plant model, with its vehicles replaced by the given ones.- Parameter:
vehicles
- The vehicles.- Gibt zurück:
- A copy of this plant model, with its vehicles replaced by the given ones.
-
getVisualLayout
Returns the visual layout in this plant model.- Gibt zurück:
- The visual layout in this plant model.
-
withVisualLayout
Returns a copy of this plant model, with its visual layout replaced by the given one.- Parameter:
visualLayout
- The visual layout to be set.- Gibt zurück:
- A copy of this plant model, with its visual layout replaced by the given one.
-
toString
-