public void register(TrainSchedule schedule){
  Integer oldSize=Integer.valueOf(_scheduleHashTable.size());
  _scheduleHashTable.put(schedule.getId(),schedule);
  int id=Integer.parseInt(schedule.getId());
  if (id > _id) {
    _id=id;
  }
  setDirtyAndFirePropertyChange(LISTLENGTH_CHANGED_PROPERTY,oldSize,Integer.valueOf(_scheduleHashTable.size()));
}

public void register ( TrainSchedule schedule ) { Integer oldSize = Integer . valueOf ( _scheduleHashTable . size ( ) ) ; _scheduleHashTable . put ( schedule . getId ( ) , schedule ) ; int id = Integer . parseInt ( schedule . getId ( ) ) ; if ( id > _id ) { _id = id ; } setDirtyAndFirePropertyChange ( LISTLENGTH_CHANGED_PROPERTY , oldSize , Integer . valueOf ( _scheduleHashTable . size ( ) ) ) ; }
remember a namedbean object created outside the manager .
