Class NullConstants
java.lang.Object
com.onenetwork.platform.data.model.NullConstants
public class NullConstants
extends java.lang.Object
These constants should be used in write APIs to signal that a value in the DB
should be forcibly set to null. (The default behavior of Model write operations
is to leave "true null" fields untouched in the DB, and nullify the DB value only
if one of these NULL constants is supplied.)
These values will never be returned from a Model read API, they are purely used
by clients during write operations.
-
Field Summary
Fields Modifier and Type Field Description static Address
NULL_ADDRESS_VALUE
static byte
NULL_BYTE_VALUE
static java.util.Calendar
NULL_CALENDAR_VALUE
static java.sql.Date
NULL_DATE_VALUE
static double
NULL_DOUBLE_VALUE
static float
NULL_FLOAT_VALUE
static int
NULL_INT_VALUE
static long
NULL_LONG_VALUE
static short
NULL_SHORT_VALUE
static java.lang.String
NULL_STRING_VALUE
-
Constructor Summary
Constructors Constructor Description NullConstants()
-
Method Summary
-
Field Details
-
NULL_STRING_VALUE
public static final java.lang.String NULL_STRING_VALUE- See Also:
- Constant Field Values
-
NULL_FLOAT_VALUE
public static final float NULL_FLOAT_VALUE- See Also:
- Constant Field Values
-
NULL_LONG_VALUE
public static final long NULL_LONG_VALUE- See Also:
- Constant Field Values
-
NULL_DOUBLE_VALUE
public static final double NULL_DOUBLE_VALUE- See Also:
- Constant Field Values
-
NULL_INT_VALUE
public static final int NULL_INT_VALUE- See Also:
- Constant Field Values
-
NULL_DATE_VALUE
public static final java.sql.Date NULL_DATE_VALUE -
NULL_BYTE_VALUE
public static final byte NULL_BYTE_VALUE- See Also:
- Constant Field Values
-
NULL_SHORT_VALUE
public static final short NULL_SHORT_VALUE- See Also:
- Constant Field Values
-
NULL_CALENDAR_VALUE
public static final java.util.Calendar NULL_CALENDAR_VALUE -
NULL_ADDRESS_VALUE
-
-
Constructor Details
-
NullConstants
public NullConstants()
-