This sort of thing:

Code:
class DoorMessage {
  static int CLOSE_FAST = 1;
  static int CLOSE_SLOW = 2;
  static int OPEN_FAST = 3;
  static int OPEN_SLOW = 4;
}