public enum DataMode extends Enum<DataMode>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final DataMode ReadOnly
public static final DataMode Nullable
public static final DataMode NotNull
public static final DataMode AutoGenerated
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 nameNullPointerException
- if the argument is nullCopyright © 2008–2017 Apache Software Foundation. All rights reserved.