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