org.plasma.provisioning.rdb.oracle.g11.sys
Enum Constraint.PROPERTY

java.lang.Object
  extended by java.lang.Enum<Constraint.PROPERTY>
      extended by org.plasma.provisioning.rdb.oracle.g11.sys.Constraint.PROPERTY
All Implemented Interfaces:
Serializable, Comparable<Constraint.PROPERTY>
Enclosing interface:
Constraint

public static enum Constraint.PROPERTY
extends Enum<Constraint.PROPERTY>

The declared logical property names for this Type.


Enum Constant Summary
constraintName
          Name of the constraint definition
constraintType
          Type of constraint definition: C (check constraint on a table) P (primary key) U (unique key) R (referential integrity) V (with check option, on a view) O (with read only, on a view)
deleteRule
          Delete rule for a referential constraint (CASCADE or NO ACTION)
indexName
          Name of the index (only shown for unique and primary-key constraints)
indexOwner
          Name of the user owning the index
owner
          Owner of the constraint definition
refConstraintName
          Name of the unique constraint definition for referenced table
refOwner
          Owner of table referred to in a referential constraint
searchCondition
          Text of search condition for a check constraint
table
          The reference to the owning table
 
Method Summary
static Constraint.PROPERTY valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Constraint.PROPERTY[] 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

owner

public static final Constraint.PROPERTY owner
Owner of the constraint definition

Represents the logical Property owner which is part of the Type Constraint.

Data Store Mapping: Corresponds to the physical data store element ALL_CONSTRAINTS.OWNER.


table

public static final Constraint.PROPERTY table
The reference to the owning table

Represents the logical Property table which is part of the Type Constraint.

Data Store Mapping: Corresponds to the physical data store element ALL_CONSTRAINTS.TABLE_NAME.


constraintName

public static final Constraint.PROPERTY constraintName
Name of the constraint definition

Represents the logical Property constraintName which is part of the Type Constraint.

Data Store Mapping: Corresponds to the physical data store element ALL_CONSTRAINTS.CONSTRAINT_NAME.


constraintType

public static final Constraint.PROPERTY constraintType
Type of constraint definition: C (check constraint on a table) P (primary key) U (unique key) R (referential integrity) V (with check option, on a view) O (with read only, on a view)

Represents the logical Property constraintType which is part of the Type Constraint.

Data Store Mapping: Corresponds to the physical data store element ALL_CONSTRAINTS.CONSTRAINT_TYPE.


searchCondition

public static final Constraint.PROPERTY searchCondition
Text of search condition for a check constraint

Represents the logical Property searchCondition which is part of the Type Constraint.

Data Store Mapping: Corresponds to the physical data store element ALL_CONSTRAINTS.SEARCH_CONDITION.


refOwner

public static final Constraint.PROPERTY refOwner
Owner of table referred to in a referential constraint

Represents the logical Property refOwner which is part of the Type Constraint.

Data Store Mapping: Corresponds to the physical data store element ALL_CONSTRAINTS.R_OWNER.


refConstraintName

public static final Constraint.PROPERTY refConstraintName
Name of the unique constraint definition for referenced table

Represents the logical Property refConstraintName which is part of the Type Constraint.

Data Store Mapping: Corresponds to the physical data store element ALL_CONSTRAINTS.R_CONSTRAINT_NAME.


deleteRule

public static final Constraint.PROPERTY deleteRule
Delete rule for a referential constraint (CASCADE or NO ACTION)

Represents the logical Property deleteRule which is part of the Type Constraint.

Data Store Mapping: Corresponds to the physical data store element ALL_CONSTRAINTS.DELETE_RULE.


indexOwner

public static final Constraint.PROPERTY indexOwner
Name of the user owning the index

Represents the logical Property indexOwner which is part of the Type Constraint.

Data Store Mapping: Corresponds to the physical data store element ALL_CONSTRAINTS.INDEX_OWNER.


indexName

public static final Constraint.PROPERTY indexName
Name of the index (only shown for unique and primary-key constraints)

Represents the logical Property indexName which is part of the Type Constraint.

Data Store Mapping: Corresponds to the physical data store element ALL_CONSTRAINTS.INDEX_NAME.

Method Detail

values

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

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

valueOf

public static Constraint.PROPERTY 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


Copyright © 2014. All rights reserved.