public static enum DBObjectValidator.NamespaceType extends java.lang.Enum<DBObjectValidator.NamespaceType>
The order of the enum values is significant. The namespace gets progressively bigger from NONE to SCHEMA.
| Enum Constant and Description |
|---|
NONE
Do not check whether the name is unique.
|
SCHEMA
The object type should be unique in the main namespace of its schema.
|
TYPE
The name of the object should be unique only within its own type, but not "globally" in the database.
|
TYPE_PARENT
Name should be unique within all objects of the same type that are owned by the same parent object.
|
| Modifier and Type | Method and Description |
|---|---|
static DBObjectValidator.NamespaceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DBObjectValidator.NamespaceType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final DBObjectValidator.NamespaceType NONE
public static final DBObjectValidator.NamespaceType TYPE_PARENT
public static final DBObjectValidator.NamespaceType TYPE
public static final DBObjectValidator.NamespaceType SCHEMA
public static DBObjectValidator.NamespaceType[] values()
for (DBObjectValidator.NamespaceType c : DBObjectValidator.NamespaceType.values())
System.out.println(c);
public static DBObjectValidator.NamespaceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null