com.ibm.broker.config.appdev.nodes

Class ComputeNode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class ComputeNode
    extends Node

    ComputeNode instance

    Use the Compute node to route or transform the incoming message, create new output messages by using the ESQL language.

     Change Activity:
     -------- ----------- -------------   ------------------------------------
     Reason:  Date:       Originator:     Comments:
     -------- ----------- -------------   ------------------------------------
     xxxxx.x  2010-08-10  dstorey         creation
     xxxxx.x  xxxx-xx-xx  generated       7.0.0.2 Release
     
    See Also:
    Serialized Form
    • Constructor Detail

      • ComputeNode

        public ComputeNode()
    • Method Detail

      • getInputTerminals

        public InputTerminal[] getInputTerminals()
        Description copied from class: Node
        Gets the full list of available InputTerminals for this Node
        Specified by:
        getInputTerminals in class Node
        Returns:
        InputTerminal[]
      • getOutputTerminals

        public OutputTerminal[] getOutputTerminals()
        Description copied from class: Node
        Gets the full list of available OutputTerminals for this Node
        Specified by:
        getOutputTerminals in class Node
        Returns:
        OutputTerminal[]
      • getTypeName

        public java.lang.String getTypeName()
        Description copied from class: Node
        Gets the node type of this node
        Specified by:
        getTypeName in class Node
        Returns:
        String; the node type
      • setDataSource

        public ComputeNode setDataSource(java.lang.String value)
        Set the ComputeNode "Data source" property
        Parameters:
        value - String ; the value to set the property "Data source"
      • getDataSource

        public java.lang.String getDataSource()
        Get the ComputeNode "Data source" property
        Returns:
        String; the value of the property "Data source"
      • setConnectDatasourceBeforeFlowStarts

        public ComputeNode setConnectDatasourceBeforeFlowStarts(boolean value)
        Set the ComputeNode "Connect before flow starts" property
        Parameters:
        value - boolean ; the value to set the property "Connect before flow starts"
      • getConnectDatasourceBeforeFlowStarts

        public boolean getConnectDatasourceBeforeFlowStarts()
        Get the ComputeNode "Connect before flow starts" property
        Returns:
        boolean; the value of the property "Connect before flow starts"
      • getTransaction

        public ComputeNode.ENUM_COMPUTE_TRANSACTION getTransaction()
        Get the ComputeNode "Transaction" property
        Returns:
        ENUM_COMPUTE_TRANSACTION; the value of the property "Transaction"
      • setComputeExpression

        public ComputeNode setComputeExpression(ESQLModule value)
        Set the ComputeNode "ESQL module" property
        Parameters:
        value - ESQLModule ; the value to set the property "ESQL module"
      • getComputeExpression

        public ESQLModule getComputeExpression()
        Get the ComputeNode "ESQL module" property
        Returns:
        ESQLModule ; the value of the property "ESQL module"
      • getComputeMode

        public ComputeNode.ENUM_COMPUTE_COMPUTEMODE getComputeMode()
        Get the ComputeNode "Compute mode" property
        Returns:
        ENUM_COMPUTE_COMPUTEMODE; the value of the property "Compute mode"
      • setTreatWarningsAsErrors

        public ComputeNode setTreatWarningsAsErrors(boolean value)
        Set the ComputeNode "Treat warnings as errors" property
        Parameters:
        value - boolean ; the value to set the property "Treat warnings as errors"
      • getTreatWarningsAsErrors

        public boolean getTreatWarningsAsErrors()
        Get the ComputeNode "Treat warnings as errors" property
        Returns:
        boolean; the value of the property "Treat warnings as errors"
      • setThrowExceptionOnDatabaseError

        public ComputeNode setThrowExceptionOnDatabaseError(boolean value)
        Set the ComputeNode "Throw exception on database error" property
        Parameters:
        value - boolean ; the value to set the property "Throw exception on database error"
      • getThrowExceptionOnDatabaseError

        public boolean getThrowExceptionOnDatabaseError()
        Get the ComputeNode "Throw exception on database error" property
        Returns:
        boolean; the value of the property "Throw exception on database error"
      • setDummyForDBService

        public ComputeNode setDummyForDBService(java.lang.String value)
        Set the ComputeNode "DummyForDBService" property
        Parameters:
        value - String ; the value to set the property "DummyForDBService"
      • getDummyForDBService

        public java.lang.String getDummyForDBService()
        Get the ComputeNode "DummyForDBService" property
        Returns:
        String; the value of the property "DummyForDBService"
      • getValidateTiming

        public ComputeNode.ENUM_COMPUTE_VALIDATETIMING getValidateTiming()
        Get the ComputeNode "Parse timing" property
        Returns:
        ENUM_COMPUTE_VALIDATETIMING; the value of the property "Parse timing"
      • setParserMqrfh2cUseForMqrfh2Domain

        public ComputeNode setParserMqrfh2cUseForMqrfh2Domain(boolean value)
        Set the ComputeNode "Use MQRFH2C compact parser for MQRFH2 domain" property
        Parameters:
        value - boolean ; the value to set the property "Use MQRFH2C compact parser for MQRFH2 domain"
      • getParserMqrfh2cUseForMqrfh2Domain

        public boolean getParserMqrfh2cUseForMqrfh2Domain()
        Get the ComputeNode "Use MQRFH2C compact parser for MQRFH2 domain" property
        Returns:
        boolean; the value of the property "Use MQRFH2C compact parser for MQRFH2 domain"
      • setParserXmlnscUseForXmlnsDomain

        public ComputeNode setParserXmlnscUseForXmlnsDomain(boolean value)
        Set the ComputeNode "Use XMLNSC compact parser for XMLNS domain" property
        Parameters:
        value - boolean ; the value to set the property "Use XMLNSC compact parser for XMLNS domain"
      • getParserXmlnscUseForXmlnsDomain

        public boolean getParserXmlnscUseForXmlnsDomain()
        Get the ComputeNode "Use XMLNSC compact parser for XMLNS domain" property
        Returns:
        boolean; the value of the property "Use XMLNSC compact parser for XMLNS domain"
      • getParserXmlnscMixedContentRetainMode

        public ComputeNode.ENUM_COMPUTE_PARSERXMLNSCMIXEDCONTENTRETAINMODE getParserXmlnscMixedContentRetainMode()
        Get the ComputeNode "Retain mixed content" property
        Returns:
        ENUM_COMPUTE_PARSERXMLNSCMIXEDCONTENTRETAINMODE; the value of the property "Retain mixed content"
      • getParserXmlnscCommentsRetainMode

        public ComputeNode.ENUM_COMPUTE_PARSERXMLNSCCOMMENTSRETAINMODE getParserXmlnscCommentsRetainMode()
        Get the ComputeNode "Retain comments" property
        Returns:
        ENUM_COMPUTE_PARSERXMLNSCCOMMENTSRETAINMODE; the value of the property "Retain comments"
      • setParserXmlnscProcessingInstructionsRetainMode

        public ComputeNode setParserXmlnscProcessingInstructionsRetainMode(ComputeNode.ENUM_COMPUTE_PARSERXMLNSCPROCESSINGINSTRUCTIONSRETAINMODE value)
        Set the ComputeNode "Retain processing instructions" property
        Parameters:
        value - ENUM_COMPUTE_PARSERXMLNSCPROCESSINGINSTRUCTIONSRETAINMODE ; the value to set the property "Retain processing instructions"
      • getParserXmlnscProcessingInstructionsRetainMode

        public ComputeNode.ENUM_COMPUTE_PARSERXMLNSCPROCESSINGINSTRUCTIONSRETAINMODE getParserXmlnscProcessingInstructionsRetainMode()
        Get the ComputeNode "Retain processing instructions" property
        Returns:
        ENUM_COMPUTE_PARSERXMLNSCPROCESSINGINSTRUCTIONSRETAINMODE; the value of the property "Retain processing instructions"
      • getValidateMaster

        public ComputeNode.ENUM_COMPUTE_VALIDATEMASTER getValidateMaster()
        Get the ComputeNode "Validate" property
        Returns:
        ENUM_COMPUTE_VALIDATEMASTER; the value of the property "Validate"
      • getValidateFailureAction

        public ComputeNode.ENUM_COMPUTE_VALIDATEFAILUREACTION getValidateFailureAction()
        Get the ComputeNode "Failure action" property
        Returns:
        ENUM_COMPUTE_VALIDATEFAILUREACTION; the value of the property "Failure action"
      • setValidateAllValueConstraints

        public ComputeNode setValidateAllValueConstraints(boolean value)
        Set the ComputeNode "Include all value constraints" property
        Parameters:
        value - boolean ; the value to set the property "Include all value constraints"
      • getValidateAllValueConstraints

        public boolean getValidateAllValueConstraints()
        Get the ComputeNode "Include all value constraints" property
        Returns:
        boolean; the value of the property "Include all value constraints"
      • getNodeName

        public java.lang.String getNodeName()
        Description copied from class: Node
        Gets the label name of this node
          MessageFlow mf1 = patternInstanceManager.getMessageFlow("MyFlowProject", "mf1.msgflow");
          Node inputMQNode = mf1.getNodeByName("My Input Node");
          inputMQNode.setNodeName("Renamed Input Node");
         
        Overrides:
        getNodeName in class Node
        Returns:
        String; the node name