|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ConstraintType>
org.plasma.provisioning.rdb.mysql.v5_5.ConstraintType
public enum ConstraintType
This generated Enumeration represents the domain model enumeration ConstraintType which is part of namespace http://org.plasma/sdo/mysql/5_5 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 | |
|---|---|
FOREIGN_KEY
A primary key constraint |
|
PRIMARY_KEY
A primary key constraint |
|
UNIQUE
Holds the logical and physical names for literal UNIQUE. |
|
| 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 |
|---|
public static final ConstraintType PRIMARY_KEY
public static final ConstraintType FOREIGN_KEY
public static final ConstraintType UNIQUE
| Method Detail |
|---|
public static ConstraintType[] values()
for (ConstraintType c : ConstraintType.values()) System.out.println(c);
public static ConstraintType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getName()
getName in interface PlasmaEnumpublic String getInstanceName()
getInstanceName in interface PlasmaEnumpublic String getDescription()
getDescription in interface PlasmaEnumpublic static PlasmaEnum[] enumValues()
PlasmaEnumpublic static ConstraintType fromName(String name)
public static ConstraintType fromInstanceName(String instanceName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||