org.lexevs.dao.database.setup.script
Enum ScriptFactory.ScriptType

java.lang.Object
  extended by java.lang.Enum<ScriptFactory.ScriptType>
      extended by org.lexevs.dao.database.setup.script.ScriptFactory.ScriptType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ScriptFactory.ScriptType>
Enclosing class:
ScriptFactory

public static enum ScriptFactory.ScriptType
extends java.lang.Enum<ScriptFactory.ScriptType>

The Enum ScriptType.

Author:
Kevin Peterson

Enum Constant Summary
create
           
drop
           
 
Method Summary
static ScriptFactory.ScriptType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ScriptFactory.ScriptType[] 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

create

public static final ScriptFactory.ScriptType create

drop

public static final ScriptFactory.ScriptType drop
Method Detail

values

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

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

valueOf

public static ScriptFactory.ScriptType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.