com.buildforge.services.common.dbo
Enum ManifestPropertyDBO.Category

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

public static enum ManifestPropertyDBO.Category
extends java.lang.Enum<ManifestPropertyDBO.Category>

Identifies the kind of property that this is.

ValueMeaning
AUTO Automatic (generated) property
NORMAL Normal (built-in) property
USER User-defined (custom) property


Enum Constant Summary
AUTO
           
NORMAL
           
USER
           
 
Field Summary
static java.lang.Class<ManifestPropertyDBO.Category> CLASS
           
 char code
           
 
Method Summary
static ManifestPropertyDBO.Category fromDB(char c)
           
static ManifestPropertyDBO.Category fromObject(java.lang.Object o)
           
static ManifestPropertyDBO.Category valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ManifestPropertyDBO.Category[] 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

AUTO

public static final ManifestPropertyDBO.Category AUTO

NORMAL

public static final ManifestPropertyDBO.Category NORMAL

USER

public static final ManifestPropertyDBO.Category USER
Field Detail

CLASS

public static final java.lang.Class<ManifestPropertyDBO.Category> CLASS

code

public final char code
Method Detail

values

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

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

valueOf

public static ManifestPropertyDBO.Category 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 ManifestPropertyDBO.Category fromDB(char c)

fromObject

public static ManifestPropertyDBO.Category fromObject(java.lang.Object o)
                                               throws APIException
Throws:
APIException