question: public Schedule newSchedule ( String name ) { Schedule schedule = getScheduleByName ( name ) ; if ( schedule == null ) { _id ++ ; schedule = new Schedule ( Integer . toString ( _id ) , name ) ; Integer oldSize = Integer . valueOf ( _scheduleHashTable . size ( ) ) ; _scheduleHashTable . put ( schedule . getId ( ) , schedule ) ; setDirtyAndFirePropertyChange ( LISTLENGTH_CHANGED_PROPERTY , oldSize , Integer . valueOf ( _scheduleHashTable . size ( ) ) ) ; } return schedule ; }
target:  Finds an existing schedule or creates a new schedule if needed requires schedule's name creates a unique id for this schedule