1String tableName;
2switch(PARAM):
3 case "Value1": tableName = "fooTable";
4 break;
5 case "Value2": tableName = "barTable";
6 break;
7 ...
8 default : throw new InputValidationException("unexpected value provided"
9
10