Class PlanItProjectInput.ProjectODPathSets

  • Enclosing class:
    PlanItProjectInput

    public class PlanItProjectInput.ProjectODPathSets
    extends Object
    Internal class for registered od path sets
    • Constructor Detail

      • ProjectODPathSets

        public ProjectODPathSets()
    • 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