/** *enum to String, gets the name of this enum constant as a string. * *@param aEnum the constant of ValueType *@return return the name of ValueType */ public static String toString(ValueType aEnum) { return aEnum.toString(); }
/** *enum to String, gets the name of this enum constant as a string. * *@param aEnum the constant of ValueType *@return return the name of ValueType */ public static String toString(ValueType aEnum) { return aEnum.toString(); }
/** *enum to String, gets the name of this enum constant as a string. * *@param aEnum the constant of ValueType *@return return the name of ValueType */ public static String toString(ValueType aEnum) { return aEnum.toString(); }
/** *String to enum, turns a String into its corresponding enum constant * *@param stringValue * the name of ValueType *@return return the constant of ValueType */ public static ValueType enumValueOf(String stringValue) { for (ValueType aIter : values()) { if (stringValue.equals(aIter.toString())) { return aIter; } } return null; }
/** *String to enum, turns a String into its corresponding enum constant * *@param stringValue * the name of ValueType *@return return the constant of ValueType */ public static ValueType enumValueOf(String stringValue) { for (ValueType aIter : values()) { if (stringValue.equals(aIter.toString())) { return aIter; } } return null; }
/** *String to enum, turns a String into its corresponding enum constant * *@param stringValue * the name of ValueType *@return return the constant of ValueType */ public static ValueType enumValueOf(String stringValue) { for (ValueType aIter : values()) { if (stringValue.equals(aIter.toString())) { return aIter; } } return null; }