Package de.uplanet.lucy.server.ixvalue
Class IxValueFactory
java.lang.Object
de.uplanet.lucy.server.ixvalue.IxValueFactory
-
Field Summary
Modifier and TypeFieldDescriptionstatic IIxValue
static IxBooleanValue
static IxDateTimeValue
static IxDoubleValue
static IxIntValue
static IxLongValue
static IxObjectValue
static IxStringValue
static IxStringValue
static IxStringValue
static IxStringValue
static IxStringValue
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
static IIxValue
static IxStringValue
static IxDateTimeValue
static IIxValue
createEmpty
(de.uplanet.lucy.types.UP_TYPE p_type) Creates a empty value for the specific type.static IxBooleanValue
static IxDateTimeValue
static IxDoubleValue
static IxIntValue
static IxLongValue
static IIxValue
static IxStringValue
static IxStringValue
static IxStringValue
createText
(String p_strValue)
-
Field Details
-
NULL_STRING
-
EMPTY_STRING
-
RECID_STRING
-
NULL_TEXT
-
EMPTY_TEXT
-
EMPTY_BOOLEAN
-
EMPTY_DATE
-
EMPTY_DOUBLE
-
EMPTY_OBJECT
-
EMPTY_INT
-
EMPTY_LONG
-
EMPTY
-
-
Method Details
-
createEmpty
Creates a empty value for the specific type.- Parameters:
p_type
- The type (notnull
)- Returns:
- The empty physical value.
-
createEmptyString
- Returns:
- Returns an empty string value.
-
createEmptyText
- Returns:
- Returns an empty text value
-
createEmptyBoolean
- Returns:
- Returns an empty boolean value.
-
createEmptyInteger
- Returns:
- Returns an empty integer value.
-
createEmptyLong
- Returns:
- Returns an empty long value.
-
createEmptyDouble
- Returns:
- Returns an empty double value.
-
createEmptyDateTime
- Returns:
- Returns an empty date time value.
-
createEmptyObject
- Returns:
- Returns an empty object value.
-
create
- Parameters:
p_strValue
- The value (could benull
)- Returns:
- Returns a physical string value.
-
createText
- Parameters:
p_strValue
- The value (could benull
)- Returns:
- Returns a physical text value.
-
create
- Parameters:
p_iValue
- The value.- Returns:
- Returns a physical integer value.
-
create
- Parameters:
p_lValue
- The value.- Returns:
- Returns a physical long value.
-
create
- Parameters:
p_bValue
- The value.- Returns:
- Returns a physical boolean value.
-
create
- Parameters:
p_dValue
- The value.- Returns:
- Returns a physical double value.
-
create
- Parameters:
p_value
- The value (could benull
).- Returns:
- Returns a physical date value.
-
create
- Parameters:
p_value
- The value (could benull
).- Returns:
- Returns a physical date value.
-
create
- Parameters:
p_value
- The value (could benull
).- Returns:
- Returns a physical type specific value.
-
create
-