Package org.opentcs.access.to.model
Klasse PlantModelCreationTO
java.lang.Object
org.opentcs.access.to.CreationTO
org.opentcs.access.to.model.PlantModelCreationTO
- Alle implementierten Schnittstellen:
Serializable
A transfer object describing a plant model.
- Siehe auch:
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns this plant model's blocks.Returns this plant model's locations.Returns this plant model's location types.getPaths()
Returns this plant model's paths.Returns this plant model's points.Returns this plant model's vehicles.Returns this plant model's visual layout.toString()
withBlock
(BlockCreationTO block) Creates a copy of this object that includes the given block in the list of blocks.withBlocks
(List<BlockCreationTO> blocks) Creates a copy of this object with the given blocks.withLocation
(LocationCreationTO location) Creates a copy of this object that includes the given block in the list of locations.withLocations
(List<LocationCreationTO> locations) Creates a copy of this object with the given locations.withLocationType
(LocationTypeCreationTO locationType) Creates a copy of this object that includes the given path in the list of location types.withLocationTypes
(List<LocationTypeCreationTO> locationTypes) Creates a copy of this object with the given location type.withPath
(PathCreationTO path) Creates a copy of this object that includes the given path in the list of paths.withPaths
(List<PathCreationTO> paths) Creates a copy of this object with the given paths.withPoint
(PointCreationTO point) Creates a copy of this object that includes the given point in the list of points.withPoints
(List<PointCreationTO> points) Creates a copy of this object with the given points.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.withVehicle
(VehicleCreationTO vehicle) Creates a copy of this object that includes the given vehicle in the list of vehicles.withVehicles
(List<VehicleCreationTO> vehicles) Creates a copy of this object with the given vehicles.withVisualLayout
(VisualLayoutCreationTO visualLayout) Creates a copy of this object with the given visual layout.Von Klasse geerbte Methoden org.opentcs.access.to.CreationTO
getModifiableProperties, getName, getProperties, listWithAppendix, mapWithMapping, propertiesWith, withName
-
Konstruktordetails
-
PlantModelCreationTO
Creates a new instance.- Parameter:
name
- The name of this plant model.
-
-
Methodendetails
-
getPoints
Returns this plant model's points.- Gibt zurück:
- This plant model's points.
-
withPoints
Creates a copy of this object with the given points.- Parameter:
points
- The new points.- Gibt zurück:
- A copy of this model, differing in the given points.
-
withPoint
Creates a copy of this object that includes the given point in the list of points.- Parameter:
point
- the new point.- Gibt zurück:
- A copy of this model that also includes the given point.
-
getPaths
Returns this plant model's paths.- Gibt zurück:
- This plant model's paths.
-
withPaths
Creates a copy of this object with the given paths.- Parameter:
paths
- The new paths.- Gibt zurück:
- A copy of this model, differing in the given paths.
-
withPath
Creates a copy of this object that includes the given path in the list of paths.- Parameter:
path
- the new path.- Gibt zurück:
- A copy of this model that also includes the given path.
-
getLocationTypes
Returns this plant model's location types.- Gibt zurück:
- This plant model's location types.
-
withLocationTypes
Creates a copy of this object with the given location type.- Parameter:
locationTypes
- The new location types.- Gibt zurück:
- A copy of this model, differing in the given location types.
-
withLocationType
Creates a copy of this object that includes the given path in the list of location types.- Parameter:
locationType
- the new location type.- Gibt zurück:
- A copy of this model that also includes the given location type.
-
getLocations
Returns this plant model's locations.- Gibt zurück:
- This plant model's locations.
-
withLocations
Creates a copy of this object with the given locations.- Parameter:
locations
- The new locations.- Gibt zurück:
- A copy of this model, differing in the given locations.
-
withLocation
Creates a copy of this object that includes the given block in the list of locations.- Parameter:
location
- the new location.- Gibt zurück:
- A copy of this model that also includes the given location.
-
getBlocks
Returns this plant model's blocks.- Gibt zurück:
- This plant model's blocks.
-
withBlocks
Creates a copy of this object with the given blocks.- Parameter:
blocks
- The new blocks.- Gibt zurück:
- A copy of this model, differing in the given blocks.
-
withBlock
Creates a copy of this object that includes the given block in the list of blocks.- Parameter:
block
- the new block.- Gibt zurück:
- A copy of this model that also includes the given block.
-
getVehicles
Returns this plant model's vehicles.- Gibt zurück:
- This plant model's vehicles.
-
withVehicles
Creates a copy of this object with the given vehicles.- Parameter:
vehicles
- The new vehicles.- Gibt zurück:
- A copy of this model, differing in the given vehicles.
-
withVehicle
Creates a copy of this object that includes the given vehicle in the list of vehicles.- Parameter:
vehicle
- the new vehicle.- Gibt zurück:
- A copy of this model that also includes the given vehicle.
-
getVisualLayout
Returns this plant model's visual layout.- Gibt zurück:
- This plant model's visual layout.
-
withVisualLayout
Creates a copy of this object with the given visual layout.- Parameter:
visualLayout
- the new visual layout.- Gibt zurück:
- A copy of this model with the given visual layout.
-
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 properties.
-
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.
-
toString
-