public class PlanningLocationFactory extends Object
PlanningLocations.| Modifier and Type | Method and Description |
|---|---|
static PlanningLocation |
fromDomain(Location location)
Create planning location without a distance map.
|
static PlanningLocation |
fromDomain(Location location,
DistanceMap distanceMap)
Create planning location from a domain location and a distance map.
|
static PlanningLocation |
testLocation(long id)
Create test location without distance map and coordinates.
|
static PlanningLocation |
testLocation(long id,
DistanceMap distanceMap)
Create test location with distance map and without coordinates.
|
public static PlanningLocation fromDomain(Location location)
location - domain locationpublic static PlanningLocation fromDomain(Location location, DistanceMap distanceMap)
location - domain locationdistanceMap - distance map of this planning locationpublic static PlanningLocation testLocation(long id)
id - location IDpublic static PlanningLocation testLocation(long id, DistanceMap distanceMap)
id - location IDdistanceMap - distance mapCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.