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 IIxValueEMPTYstatic IxBooleanValueEMPTY_BOOLEANstatic IxDateTimeValueEMPTY_DATEstatic IxDoubleValueEMPTY_DOUBLEstatic IxIntValueEMPTY_INTstatic IxLongValueEMPTY_LONGstatic IxObjectValueEMPTY_OBJECTstatic IxStringValueEMPTY_STRINGstatic IxStringValueEMPTY_TEXTstatic IxStringValueNULL_STRINGstatic IxStringValueNULL_TEXTstatic IxStringValueRECID_STRING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IxBooleanValuecreate(boolean p_bValue)static IxDoubleValuecreate(double p_dValue)static IxIntValuecreate(int p_iValue)static IxLongValuecreate(long p_lValue)static IIxValuecreate(IValueHolder<?> p_vh)static IIxValuecreate(IIxValue p_value)static IIxValuecreate(Object p_value)static IxStringValuecreate(String p_strValue)static IxDateTimeValuecreate(Date p_value)static IIxValuecreateEmpty(de.uplanet.lucy.types.UP_TYPE p_type)Creates a empty value for the specific type.static IxBooleanValuecreateEmptyBoolean()static IxDateTimeValuecreateEmptyDateTime()static IxDoubleValuecreateEmptyDouble()static IxIntValuecreateEmptyInteger()static IxLongValuecreateEmptyLong()static IIxValuecreateEmptyObject()static IxStringValuecreateEmptyString()static IxStringValuecreateEmptyText()static IxStringValuecreateText(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)
-
-