asVerb method
Implementation
Rule_Verb asVerb() {
switch (this) {
case 'READ':
return Rule_Verb.READ;
case 'CREATE':
return Rule_Verb.CREATE;
case 'UPDATE':
return Rule_Verb.UPDATE;
case 'DELETE':
return Rule_Verb.DELETE;
case 'TRANSACT':
return Rule_Verb.TRANSACT;
case 'INITIATE':
return Rule_Verb.INITIATE;
case 'COMMIT':
return Rule_Verb.COMMIT;
default:
throw 'unknown verb';
}
}