Instead of using a String, how about you use an enum type for this?