com.buildforge.services.common.dbo
Enum ScopeDBO.Active

java.lang.Object
  extended by java.lang.Enum<ScopeDBO.Active>
      extended by com.buildforge.services.common.dbo.ScopeDBO.Active
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ScopeDBO.Active>
Enclosing class:
ScopeDBO

public static enum ScopeDBO.Active
extends java.lang.Enum<ScopeDBO.Active>

Identifies whether an adaptor is active, inactive, or being debugged. The values used here should be self-explanatory.


Enum Constant Summary
DEBUG
           
NO
           
YES
           
 
Field Summary
static java.lang.Class<ScopeDBO.Active> CLASS
           
 char code
           
 
Method Summary
static ScopeDBO.Active fromDB(char c)
           
static ScopeDBO.Active fromObject(java.lang.Object o)
           
static ScopeDBO.Active valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ScopeDBO.Active[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEBUG

public static final ScopeDBO.Active DEBUG

NO

public static final ScopeDBO.Active NO

YES

public static final ScopeDBO.Active YES
Field Detail

CLASS

public static final java.lang.Class<ScopeDBO.Active> CLASS

code

public final char code
Method Detail

values

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

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

valueOf

public static ScopeDBO.Active 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

fromDB

public static ScopeDBO.Active fromDB(char c)

fromObject

public static ScopeDBO.Active fromObject(java.lang.Object o)
                                  throws APIException
Throws:
APIException