public enum TorqueSchemaIdMethod extends Enum<TorqueSchemaIdMethod>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final TorqueSchemaIdMethod IDBROKER
public static final TorqueSchemaIdMethod NATIVE
public static final TorqueSchemaIdMethod NONE
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 nameNullPointerException
- if the argument is nullpublic String getName()
public String toString()
toString
in class Enum<TorqueSchemaIdMethod>
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.