Class WorkItem.Route

  • Enclosing class:
    WorkItem

    public class WorkItem.Route
    extends Object
    Simple inner class wrapping one route
    • Constructor Detail

      • Route

        protected Route​(com.fasterxml.jackson.databind.JsonNode node)
        The only constructor
        Parameters:
        node - the JSON node containing all the information
    • Method Detail

      • getId

        public String getId()
        the id of the route
        Returns:
        the id
      • getName

        public String getName()
        The name of this route
        Returns:
        the name
      • getDestinations

        public Map<String,​String> getDestinations()
        Map of all possible destinations
        Returns:
        map where the key is the id of the destination, the value is the title of the destination