org.tridas.annotations
Enum TridasCustomDictionaryType

java.lang.Object
  extended by java.lang.Enum<TridasCustomDictionaryType>
      extended by org.tridas.annotations.TridasCustomDictionaryType
All Implemented Interfaces:
Serializable, Comparable<TridasCustomDictionaryType>

public enum TridasCustomDictionaryType
extends Enum<TridasCustomDictionaryType>


Enum Constant Summary
CORINA_CONTROLLEDVOC
          Dictionary uses a Tridas ControlledVoc format
CORINA_GENERICID
          Dictionary uses a custom generic field (via identifierField) for identifiers
CORINA_PLAIN
          Dictionary is just a plain text reference
UNKNOWN
           
 
Method Summary
static TridasCustomDictionaryType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TridasCustomDictionaryType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CORINA_GENERICID

public static final TridasCustomDictionaryType CORINA_GENERICID
Dictionary uses a custom generic field (via identifierField) for identifiers


CORINA_CONTROLLEDVOC

public static final TridasCustomDictionaryType CORINA_CONTROLLEDVOC
Dictionary uses a Tridas ControlledVoc format


CORINA_PLAIN

public static final TridasCustomDictionaryType CORINA_PLAIN
Dictionary is just a plain text reference


UNKNOWN

public static final TridasCustomDictionaryType UNKNOWN
Method Detail

values

public static TridasCustomDictionaryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TridasCustomDictionaryType c : TridasCustomDictionaryType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TridasCustomDictionaryType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011 TRiDaS. All Rights Reserved.