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

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