Package org.planit.project
Class PlanItProjectInput.ProjectODPathSets
- java.lang.Object
-
- org.planit.project.PlanItProjectInput.ProjectODPathSets
-
- Enclosing class:
- PlanItProjectInput
public class PlanItProjectInput.ProjectODPathSets extends Object
Internal class for registered od path sets
-
-
Constructor Summary
Constructors Constructor Description ProjectODPathSets()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ODPathSets
getFirstOdPathSets()
Collect the first od path set that is registered (if any).int
getNumberOfOdPathSets()
Get the number of od path setsODPathSets
getODPathSets(long id)
Get od rotue sets by idboolean
hasRegisteredOdPathSets()
Check if od path sets have already been registeredList<ODPathSets>
toList()
Returns a List of od path sets
-
-
-
Method Detail
-
toList
public List<ODPathSets> toList()
Returns a List of od path sets- Returns:
- List of od path sets
-
getODPathSets
public ODPathSets getODPathSets(long id)
Get od rotue sets by id- Parameters:
id
- the id of the link- Returns:
- the retrieved link
-
getNumberOfOdPathSets
public int getNumberOfOdPathSets()
Get the number of od path sets- Returns:
- the number of od path sets in the project
-
hasRegisteredOdPathSets
public boolean hasRegisteredOdPathSets()
Check if od path sets have already been registered- Returns:
- true if registered od rotue sets exist, false otherwise
-
getFirstOdPathSets
public ODPathSets getFirstOdPathSets()
Collect the first od path set that is registered (if any). Otherwise return null- Returns:
- first od path set that is registered if none return null
-
-