org.plasma.provisioning.rdb.oracle.g11.sys
Enum ConstraintType

java.lang.Object
  extended by java.lang.Enum<ConstraintType>
      extended by org.plasma.provisioning.rdb.oracle.g11.sys.ConstraintType
All Implemented Interfaces:
Serializable, Comparable<ConstraintType>, PlasmaEnum

public enum ConstraintType
extends Enum<ConstraintType>
implements PlasmaEnum

This generated Enumeration represents the domain model enumeration ConstraintType which is part of namespace http://org.plasma/sdo/oracle/11g/sys as defined within the Configuration.

* Generated SDO enumerations embody not only logical-name literals but also physical or instance names, which are often shorter (possibly abbreviated) and applicable as a data-store space-saving device. Application programs should typically use the physical or instance name for an enumeration literal when setting a data object property which is constrained by an enumeration.


Enum Constant Summary
C
          check constraint on a table
O
          with read only, on a view
P
          primary key
R
          referential integrity
U
          unique key
V
          with check option, on a view
 
Method Summary
static PlasmaEnum[] enumValues()
          Returns the enum values for this class as an array of implemented interfaces
static ConstraintType fromInstanceName(String instanceName)
          Returns the enumeration value matching the given physical or instance name.
static ConstraintType fromName(String name)
          Returns the enumeration value matching the given name.
 String getDescription()
          Returns the descriptive text associated with this enumeration literal.
 String getInstanceName()
          Returns the physical or instance name associated with this enumeration literal.
 String getName()
          Returns the logical name associated with this enumeration literal.
static ConstraintType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConstraintType[] 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

C

public static final ConstraintType C
check constraint on a table

Holds the logical and physical names for literal C.


P

public static final ConstraintType P
primary key

Holds the logical and physical names for literal P.


U

public static final ConstraintType U
unique key

Holds the logical and physical names for literal U.


R

public static final ConstraintType R
referential integrity

Holds the logical and physical names for literal R.


V

public static final ConstraintType V
with check option, on a view

Holds the logical and physical names for literal V.


O

public static final ConstraintType O
with read only, on a view

Holds the logical and physical names for literal O.

Method Detail

values

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

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

valueOf

public static ConstraintType 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

getName

public String getName()
Returns the logical name associated with this enumeration literal.

Specified by:
getName in interface PlasmaEnum

getInstanceName

public String getInstanceName()
Returns the physical or instance name associated with this enumeration literal.

Specified by:
getInstanceName in interface PlasmaEnum

getDescription

public String getDescription()
Returns the descriptive text associated with this enumeration literal.

Specified by:
getDescription in interface PlasmaEnum

enumValues

public static PlasmaEnum[] enumValues()
Returns the enum values for this class as an array of implemented interfaces

See Also:
PlasmaEnum

fromName

public static ConstraintType fromName(String name)
Returns the enumeration value matching the given name.


fromInstanceName

public static ConstraintType fromInstanceName(String instanceName)
Returns the enumeration value matching the given physical or instance name.



Copyright © 2013. All rights reserved.