|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Nullability>
com.googlecode.jdbw.metadata.Nullability
public enum Nullability
This enum represents the state of table column as to whether it can be
assigned the null value or not. This special value has the meaning
of marking the absence of a value from the column. If the column is not
nullable, it must always have a valid value that conforms to the data
type.
Column| Enum Constant Summary | |
|---|---|
NOT_NULLABLE
The column may not contain null values |
|
NULLABLE
The column may contain null values |
|
UNKNOWN
This value means that either the JDBC driver or the database server does not expose information of nullability to us |
|
| Method Summary | |
|---|---|
static Nullability |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Nullability[] |
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 Nullability NULLABLE
null values
public static final Nullability NOT_NULLABLE
null values
public static final Nullability UNKNOWN
| Method Detail |
|---|
public static Nullability[] values()
for (Nullability c : Nullability.values()) System.out.println(c);
public static Nullability 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 | |||||||||