public static EnumType getFromStringValue(String value) { for(EnumType type: EnumType.values()) { if(value != null && type.toString().equals(value)) { return type;} } return null; }
public static EnumType getFromStringValue(String value) { for(EnumType type: EnumType.values()) { if(value != null && type.toString().equals(value)) { return type;} } return null; }