Interface InstanceDataContainer

    • Field Detail

      • serialVersionUID

        static final long serialVersionUID
        Generated ID for serialisation.
        See Also:
        Constant Field Values
    • Method Detail

      • setNull

        void setNull​(String parameterName)
              throws NoSuchParameterException
        Sets the value of the designated instance input parameter to NULL, which means the value is undefined.
        Parameters:
        parameterName - The name of the instance input parameter to be set to null.
        Throws:
        NoSuchParameterException - If the instance input parameter of the designated name does not exist, a NoSuchParameterException will be thrown.
      • setInteger

        void setInteger​(String parameterName,
                        long value)
                 throws InvalidDataTypeException,
                        NoSuchParameterException
        Sets the INTEGER value of the designated instance input parameter.
        Parameters:
        parameterName - The name of the instance input parameter to be set.
        value - The value as Java-type long of the instance input parameter of ADEPT2-type INTEGER.
        Throws:
        InvalidDataTypeException - If the designated instance input parameter is not of type INTEGER, an InvalidDataTypeException will be raised.
        NoSuchParameterException - If the instance input parameter of the designated name does not exist, a NoSuchParameterException will be thrown.
        See Also:
        ProcessConstants.AdeptDataType.INTEGER
      • setBoolean

        void setBoolean​(String parameterName,
                        boolean value)
                 throws InvalidDataTypeException,
                        NoSuchParameterException
        Sets the BOOLEAN value of the designated instance input parameter.
        Parameters:
        parameterName - The name of the instance input parameter to be set.
        value - The value as Java-type boolean of the instance input parameter of ADEPT2-type BOOLEAN.
        Throws:
        InvalidDataTypeException - If the designated instance input parameter is not of type BOOLEAN, an InvalidDataTypeException will be raised.
        NoSuchParameterException - If the instance input parameter of the designated name does not exist, a NoSuchParameterException will be thrown.
        See Also:
        ProcessConstants.AdeptDataType.BOOLEAN
      • setUDT

        void setUDT​(String parameterName,
                    UDTValue value)
             throws InvalidDataTypeException,
                    NoSuchParameterException
        Sets the value of the designated instance input parameter of the process instance and the corresponding metadata which is the writing node and its current iteration.
        Parameters:
        parameterName - The name of the instance input parameter to be read.
        value - The value of the instance input parameter of ADEPT2-type USERDEFINED. The caller is responsible for closing.
        Throws:
        InvalidDataTypeException - If the designated instance input parameter is not of type USERDEFINED, an InvalidDataTypeException will be raised.
        NoSuchParameterException - If the instance input parameter of the designated name does not exist, a NoSuchParameterException will be thrown.
        See Also:
        ProcessConstants.AdeptDataType.USERDEFINED