Make this a map from constants to strings:

DIRECTION_NONE => 'NONE', etc.

This way we can change the value of the constants without changing this code.