|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DataMode>
org.apache.empire.data.DataMode
public enum DataMode
DataMode is an enumeration that specifies whether the value of a column is readonly, optional (nullable), required (NotNull), or auto-generated
Enum Constant Summary | |
---|---|
AutoGenerated
AutoGenerated = value is automatically generated by the database on inserts |
|
NotNull
Required = value may not be null |
|
Nullable
Optional = value may be null |
|
ReadOnly
ReadOnly = value cannot be changed |
Method Summary | |
---|---|
static DataMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DataMode[] |
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 DataMode ReadOnly
public static final DataMode Nullable
public static final DataMode NotNull
public static final DataMode AutoGenerated
Method Detail |
---|
public static DataMode[] values()
for (DataMode c : DataMode.values()) System.out.println(c);
public static DataMode 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 null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |