Loosely coupling Java enum