Class IxValueFactory


  • public final class IxValueFactory
    extends Object
    • 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 (not null)
        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 be null)
        Returns:
        Returns a physical string value.
      • createText

        public static IxStringValue createText​(String p_strValue)
        Parameters:
        p_strValue - The value (could be null)
        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 be null).
        Returns:
        Returns a physical date value.
      • create

        public static IIxValue create​(IIxValue p_value)
        Parameters:
        p_value - The value (could be null).
        Returns:
        Returns a physical date value.
      • create

        public static IIxValue create​(Object p_value)
        Parameters:
        p_value - The value (could be null).
        Returns:
        Returns a physical type specific value.