|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TorqueSchemaIdMethod>
org.apache.torque.templates.TorqueSchemaIdMethod
public enum TorqueSchemaIdMethod
Holds all IdMethods known in the Torque schema
| Enum Constant Summary | |
|---|---|
IDBROKER
Primary keys are generated via the IdBroker. |
|
NATIVE
Primary keys are generated via the native method of the database (i.e. |
|
NONE
Primary keys are not generated automatically. |
|
| Method Summary | |
|---|---|
String |
getName()
Returns the name of the idMethod. |
String |
toString()
|
static TorqueSchemaIdMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TorqueSchemaIdMethod[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TorqueSchemaIdMethod IDBROKER
public static final TorqueSchemaIdMethod NATIVE
public static final TorqueSchemaIdMethod NONE
| Method Detail |
|---|
public static TorqueSchemaIdMethod[] values()
for (TorqueSchemaIdMethod c : TorqueSchemaIdMethod.values()) System.out.println(c);
public static TorqueSchemaIdMethod 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()
public String toString()
toString in class Enum<TorqueSchemaIdMethod>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||