public class NullValueTreatment
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT
Constant representing converting a null value of a field of nullable type
to the default value for the type in the datastore.
|
static int |
EXCEPTION
Constant representing throwing an exception when storing a null value of
field of a nullable type that is mapped to non-nullable type in the
datastore.
|
static int |
NONE
Constant representing converting a null value of a field of nullable type
to the default value for the type in the datastore.
|
Constructor and Description |
---|
NullValueTreatment() |
Modifier and Type | Method and Description |
---|---|
static int |
toNullValueTreatment(java.lang.String nullValueTreatment)
Returns the NullValueTreatment constant for the string representation.
|
static java.lang.String |
toString(int nullValueTreatment)
Returns a string representation of the specified NullValueTreatment
constant.
|
public static final int NONE
public static final int EXCEPTION
public static final int DEFAULT
public static java.lang.String toString(int nullValueTreatment)
public static int toNullValueTreatment(java.lang.String nullValueTreatment)
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.