private static <T extends Enum<?>> String extractSystem(Enumeration<T> theBoundCode) { if (theBoundCode.getValue() != null) { return theBoundCode.getEnumFactory().toSystem(theBoundCode.getValue()); } return null; }
@Override protected T parse(String theValue) { if (myEnumFactory != null) { return myEnumFactory.fromCode(theValue); } return null; }
@Override protected String encode(T theValue) { return myEnumFactory.toCode(theValue); }
public String toSystem() { return getEnumFactory().toSystem(getValue()); }