public void addTypeName(String type){
  if (type == null || _listTypes.contains(type)) {
    return;
  }
  _listTypes.add(0,type);
  log.debug("Location ({}) add rolling stock type ({})",getName(),type);
  setDirtyAndFirePropertyChange(TYPES_CHANGED_PROPERTY,_listTypes.size() - 1,_listTypes.size());
}

public void addTypeName ( String type ) { if ( type == null || _listTypes . contains ( type ) ) { return ; } _listTypes . add ( 0 , type ) ; log . debug ( "Location ({}) add rolling stock type ({})" , getName ( ) , type ) ; setDirtyAndFirePropertyChange ( TYPES_CHANGED_PROPERTY , _listTypes . size ( ) - 1 , _listTypes . size ( ) ) ; }
adds the specific type of rolling stock to the will service list
