public boolean addRoadName(String road){
  if (_roadList.contains(road)) {
    return false;
  }
  _roadList.add(road);
  log.debug("train (" + getName() + ") add car road "+ road);
  setDirtyAndFirePropertyChange(ROADS_CHANGED_PROPERTY,_roadList.size() - 1,_roadList.size());
  return true;
}

public boolean addRoadName ( String road ) { if ( _roadList . contains ( road ) ) { return false ; } _roadList . add ( road ) ; log . debug ( "train (" + getName ( ) + ") add car road " + road ) ; setDirtyAndFirePropertyChange ( ROADS_CHANGED_PROPERTY , _roadList . size ( ) - 1 , _roadList . size ( ) ) ; return true ; }
add a road name that the train will either service or exclude . see setroadoption
