public boolean addLoadName(String load){
  if (_loadList.contains(load)) {
    return false;
  }
  _loadList.add(load);
  log.debug("train (" + getName() + ") add car load "+ load);
  setDirtyAndFirePropertyChange(LOADS_CHANGED_PROPERTY,_loadList.size() - 1,_loadList.size());
  return true;
}

public boolean addLoadName ( String load ) { if ( _loadList . contains ( load ) ) { return false ; } _loadList . add ( load ) ; log . debug ( "train (" + getName ( ) + ") add car load " + load ) ; setDirtyAndFirePropertyChange ( LOADS_CHANGED_PROPERTY , _loadList . size ( ) - 1 , _loadList . size ( ) ) ; return true ; }
add a load that the train will either service or exclude . see setloadoption
