net.lucidviews.util.text
Class Strings.EnumValueMustBeValid

java.lang.Object
  extended by net.lucidviews.util.EnumValue<Strings.EnumValueMustBeValid>
      extended by net.lucidviews.util.text.Strings.EnumValueMustBeValid
All Implemented Interfaces:
Serializable
Enclosing class:
Strings

protected static class Strings.EnumValueMustBeValid
extends EnumValue<Strings.EnumValueMustBeValid>

Helper class required for exported constant ENUM_VALUE_MUST_BE_VALID, which must be unique/different to avoid confusion with any other value a client may use.

See Also:
Serialized Form

Field Summary
static Enumeration<Strings.EnumValueMustBeValid> ENUMERATION
          Enumeration holding the values in this enum.
private static long serialVersionUID
          Serialisation version id.
 
Fields inherited from class net.lucidviews.util.EnumValue
_index, _isCaseSensitive, _textValue, ENUMERATION_FIELD_NAME, UNDEFINED_INDEX
 
Constructor Summary
protected Strings.EnumValueMustBeValid()
           
 
Method Summary
 Enumeration<Strings.EnumValueMustBeValid> getEnumeration()
          Obtain the enumeration this value belongs to.
 
Methods inherited from class net.lucidviews.util.EnumValue
compareTo, equals, getIndex, getTextValue, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serialisation version id.

See Also:
Constant Field Values

ENUMERATION

public static final Enumeration<Strings.EnumValueMustBeValid> ENUMERATION
Enumeration holding the values in this enum.

Constructor Detail

Strings.EnumValueMustBeValid

protected Strings.EnumValueMustBeValid()
Method Detail

getEnumeration

public Enumeration<Strings.EnumValueMustBeValid> getEnumeration()
Obtain the enumeration this value belongs to.
See the class JavaDoc, at the top of this page, for information on how to implement this method correctly.

Specified by:
getEnumeration in class EnumValue<Strings.EnumValueMustBeValid>
Returns:
a list of enumeration values that this value is part of