I can't catch your meaning.
Maybe use "enum orientation{ .. }" in java?