Correct way to use allowablevalues annotation