toValue method
Implementation
String toValue() {
switch (this) {
case Permission.all:
return 'ALL';
case Permission.select:
return 'SELECT';
case Permission.alter:
return 'ALTER';
case Permission.drop:
return 'DROP';
case Permission.delete:
return 'DELETE';
case Permission.insert:
return 'INSERT';
case Permission.describe:
return 'DESCRIBE';
case Permission.createDatabase:
return 'CREATE_DATABASE';
case Permission.createTable:
return 'CREATE_TABLE';
case Permission.dataLocationAccess:
return 'DATA_LOCATION_ACCESS';
}
}