public Route newRoute(String name){
  Route route=getRouteByName(name);
  if (route == null) {
    _id++;
    route=new Route(Integer.toString(_id),name);
    Integer oldSize=Integer.valueOf(_routeHashTable.size());
    _routeHashTable.put(route.getId(),route);
    setDirtyAndFirePropertyChange(LISTLENGTH_CHANGED_PROPERTY,oldSize,Integer.valueOf(_routeHashTable.size()));
  }
  return route;
}

public Route newRoute ( String name ) { Route route = getRouteByName ( name ) ; if ( route == null ) { _id ++ ; route = new Route ( Integer . toString ( _id ) , name ) ; Integer oldSize = Integer . valueOf ( _routeHashTable . size ( ) ) ; _routeHashTable . put ( route . getId ( ) , route ) ; setDirtyAndFirePropertyChange ( LISTLENGTH_CHANGED_PROPERTY , oldSize , Integer . valueOf ( _routeHashTable . size ( ) ) ) ; } return route ; }
finds an existing route or creates a new route if needed requires route ' s name creates a unique id for this route
