com.im.df/1 5.8

com.im.df.util
Enum DBNameUtils.VType

java.lang.Object
  extended by java.lang.Enum<DBNameUtils.VType>
      extended by com.im.df.util.DBNameUtils.VType
All Implemented Interfaces:
Serializable, Comparable<DBNameUtils.VType>
Enclosing class:
DBNameUtils

public static enum DBNameUtils.VType
extends Enum<DBNameUtils.VType>

Types of default validator. It is used because of appropriate error messages (for example "Column name cannot be empty" vs. "Table name cannot be empty").


Enum Constant Summary
COLUMN
           
DATATREE
           
ENTITY
           
FIELD
           
FK
           
INDEX
           
LIST
           
QUERY
           
RELATIONSHIP
           
SCHEMA
           
SCRIPT
           
SEQUENCE
           
TABLE
           
VIEW
           
 
Method Summary
static DBNameUtils.VType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DBNameUtils.VType[] 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

COLUMN

public static final DBNameUtils.VType COLUMN

TABLE

public static final DBNameUtils.VType TABLE

SEQUENCE

public static final DBNameUtils.VType SEQUENCE

SCHEMA

public static final DBNameUtils.VType SCHEMA

ENTITY

public static final DBNameUtils.VType ENTITY

FIELD

public static final DBNameUtils.VType FIELD

RELATIONSHIP

public static final DBNameUtils.VType RELATIONSHIP

DATATREE

public static final DBNameUtils.VType DATATREE

VIEW

public static final DBNameUtils.VType VIEW

LIST

public static final DBNameUtils.VType LIST

QUERY

public static final DBNameUtils.VType QUERY

SCRIPT

public static final DBNameUtils.VType SCRIPT

FK

public static final DBNameUtils.VType FK

INDEX

public static final DBNameUtils.VType INDEX
Method Detail

values

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

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

valueOf

public static DBNameUtils.VType 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

com.im.df/1 5.8