2.17.2: 2011-06-17

net.sf.basedb.core.plugin
Enum Plugin.MainType

java.lang.Object
  extended by java.lang.Enum<Plugin.MainType>
      extended by net.sf.basedb.core.plugin.Plugin.MainType
All Implemented Interfaces:
Serializable, Comparable<Plugin.MainType>
Enclosing interface:
Plugin

public static enum Plugin.MainType
extends Enum<Plugin.MainType>


Enum Constant Summary
ANALYZE
           
EXPORT
           
IMPORT
           
INTENSITY
           
OTHER
           
 
Field Summary
private  String displayValue
           
private  int value
           
private static Map<Integer,Plugin.MainType> valueMapping
          Maps an integer to a type.
 
Method Summary
static Plugin.MainType fromValue(int value)
           
 int getValue()
           
 String toString()
           
static Plugin.MainType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Plugin.MainType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IMPORT

public static final Plugin.MainType IMPORT

EXPORT

public static final Plugin.MainType EXPORT

INTENSITY

public static final Plugin.MainType INTENSITY

ANALYZE

public static final Plugin.MainType ANALYZE

OTHER

public static final Plugin.MainType OTHER
Field Detail

valueMapping

private static final Map<Integer,Plugin.MainType> valueMapping
Maps an integer to a type.


value

private final int value

displayValue

private final String displayValue
Method Detail

values

public static Plugin.MainType[] 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 (Plugin.MainType c : Plugin.MainType.values())
    System.out.println(c);

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

valueOf

public static Plugin.MainType 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

fromValue

public static Plugin.MainType fromValue(int value)

getValue

public int getValue()

toString

public String toString()
Overrides:
toString in class Enum<Plugin.MainType>

2.17.2: 2011-06-17