Package de.uplanet.lucy.server.ixvalue
Class IxValueFactory
- java.lang.Object
-
- de.uplanet.lucy.server.ixvalue.IxValueFactory
-
public final class IxValueFactory extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static IIxValue
EMPTY
static IxBooleanValue
EMPTY_BOOLEAN
static IxDateTimeValue
EMPTY_DATE
static IxDoubleValue
EMPTY_DOUBLE
static IxIntValue
EMPTY_INT
static IxLongValue
EMPTY_LONG
static IxObjectValue
EMPTY_OBJECT
static IxStringValue
EMPTY_STRING
static IxStringValue
EMPTY_TEXT
static IxStringValue
NULL_STRING
static IxStringValue
NULL_TEXT
static IxStringValue
RECID_STRING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IxBooleanValue
create(boolean p_bValue)
static IxDoubleValue
create(double p_dValue)
static IxIntValue
create(int p_iValue)
static IxLongValue
create(long p_lValue)
static IIxValue
create(IValueHolder<?> p_vh)
static IIxValue
create(IIxValue p_value)
static IIxValue
create(Object p_value)
static IxStringValue
create(String p_strValue)
static IxDateTimeValue
create(Date p_value)
static IIxValue
createEmpty(de.uplanet.lucy.types.UP_TYPE p_type)
Creates a empty value for the specific type.static IxBooleanValue
createEmptyBoolean()
static IxDateTimeValue
createEmptyDateTime()
static IxDoubleValue
createEmptyDouble()
static IxIntValue
createEmptyInteger()
static IxLongValue
createEmptyLong()
static IIxValue
createEmptyObject()
static IxStringValue
createEmptyString()
static IxStringValue
createEmptyText()
static IxStringValue
createText(String p_strValue)
-
-
-
Field Detail
-
NULL_STRING
public static IxStringValue NULL_STRING
-
EMPTY_STRING
public static IxStringValue EMPTY_STRING
-
RECID_STRING
public static IxStringValue RECID_STRING
-
NULL_TEXT
public static IxStringValue NULL_TEXT
-
EMPTY_TEXT
public static IxStringValue EMPTY_TEXT
-
EMPTY_BOOLEAN
public static IxBooleanValue EMPTY_BOOLEAN
-
EMPTY_DATE
public static IxDateTimeValue EMPTY_DATE
-
EMPTY_DOUBLE
public static IxDoubleValue EMPTY_DOUBLE
-
EMPTY_OBJECT
public static IxObjectValue EMPTY_OBJECT
-
EMPTY_INT
public static IxIntValue EMPTY_INT
-
EMPTY_LONG
public static IxLongValue EMPTY_LONG
-
EMPTY
public static IIxValue EMPTY
-
-
Method Detail
-
createEmpty
public static IIxValue createEmpty(de.uplanet.lucy.types.UP_TYPE p_type)
Creates a empty value for the specific type.- Parameters:
p_type
- The type (notnull
)- Returns:
- The empty physical value.
-
createEmptyString
public static IxStringValue createEmptyString()
- Returns:
- Returns an empty string value.
-
createEmptyText
public static IxStringValue createEmptyText()
- Returns:
- Returns an empty text value
-
createEmptyBoolean
public static IxBooleanValue createEmptyBoolean()
- Returns:
- Returns an empty boolean value.
-
createEmptyInteger
public static IxIntValue createEmptyInteger()
- Returns:
- Returns an empty integer value.
-
createEmptyLong
public static IxLongValue createEmptyLong()
- Returns:
- Returns an empty long value.
-
createEmptyDouble
public static IxDoubleValue createEmptyDouble()
- Returns:
- Returns an empty double value.
-
createEmptyDateTime
public static IxDateTimeValue createEmptyDateTime()
- Returns:
- Returns an empty date time value.
-
createEmptyObject
public static IIxValue createEmptyObject()
- Returns:
- Returns an empty object value.
-
create
public static IxStringValue create(String p_strValue)
- Parameters:
p_strValue
- The value (could benull
)- Returns:
- Returns a physical string value.
-
createText
public static IxStringValue createText(String p_strValue)
- Parameters:
p_strValue
- The value (could benull
)- Returns:
- Returns a physical text value.
-
create
public static IxIntValue create(int p_iValue)
- Parameters:
p_iValue
- The value.- Returns:
- Returns a physical integer value.
-
create
public static IxLongValue create(long p_lValue)
- Parameters:
p_lValue
- The value.- Returns:
- Returns a physical long value.
-
create
public static IxBooleanValue create(boolean p_bValue)
- Parameters:
p_bValue
- The value.- Returns:
- Returns a physical boolean value.
-
create
public static IxDoubleValue create(double p_dValue)
- Parameters:
p_dValue
- The value.- Returns:
- Returns a physical double value.
-
create
public static IxDateTimeValue create(Date p_value)
- Parameters:
p_value
- The value (could benull
).- Returns:
- Returns a physical date value.
-
create
public static IIxValue create(IIxValue p_value)
- Parameters:
p_value
- The value (could benull
).- Returns:
- Returns a physical date value.
-
create
public static IIxValue create(Object p_value)
- Parameters:
p_value
- The value (could benull
).- Returns:
- Returns a physical type specific value.
-
create
public static IIxValue create(IValueHolder<?> p_vh)
-
-