public void setAction ( String action ) throws ApplicationException { action = action . toLowerCase ( ) . trim ( ) ; if ( action . equals ( "getall" ) ) this . action = ACTION_GET_ALL ; else if ( action . equals ( "get" ) ) this . action = ACTION_GET ; else if ( action . equals ( "set" ) ) this . action = ACTION_SET ; else if ( action . equals ( "delete" ) ) this . action = ACTION_DELETE ; else throw new ApplicationException ( "attribute action of the tag registry has an invalid value [" + action + "], valid values are [getAll, get, set, delete]" ) ; }
set the value action action to the registry