com.ibm.broker.config.appdev.nodes

Class DataUpdateNode

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


    public class DataUpdateNode
    extends Node

    DataUpdateNode instance

    DataUpdate node is a specialized form of the Database node used to update one or more rows from a table within the database

     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

      • DataUpdateNode

        public DataUpdateNode()
    • 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 DataUpdateNode setDataSource(java.lang.String value)
        Set the DataUpdateNode "DataSource" property
        Parameters:
        value - String ; the value to set the property "DataSource"
      • getDataSource

        public java.lang.String getDataSource()
        Get the DataUpdateNode "DataSource" property
        Returns:
        String; the value of the property "DataSource"
      • setConnectDatasourceBeforeFlowStarts

        public DataUpdateNode setConnectDatasourceBeforeFlowStarts(boolean value)
        Set the DataUpdateNode "ConnectDatasourceBeforeFlowStarts" property
        Parameters:
        value - boolean ; the value to set the property "ConnectDatasourceBeforeFlowStarts"
      • getConnectDatasourceBeforeFlowStarts

        public boolean getConnectDatasourceBeforeFlowStarts()
        Get the DataUpdateNode "ConnectDatasourceBeforeFlowStarts" property
        Returns:
        boolean; the value of the property "ConnectDatasourceBeforeFlowStarts"
      • setStatement

        public DataUpdateNode setStatement(MessageMap value)
        Set the DataUpdateNode "Statement" property
        Parameters:
        value - MessageMap ; the value to set the property "Statement"
      • getStatement

        public MessageMap getStatement()
        Get the DataUpdateNode "Statement" property
        Returns:
        MessageMap; the value of the property "Statement"
      • setTreatWarningsAsErrors

        public DataUpdateNode setTreatWarningsAsErrors(boolean value)
        Set the DataUpdateNode "TreatWarningsAsErrors" property
        Parameters:
        value - boolean ; the value to set the property "TreatWarningsAsErrors"
      • getTreatWarningsAsErrors

        public boolean getTreatWarningsAsErrors()
        Get the DataUpdateNode "TreatWarningsAsErrors" property
        Returns:
        boolean; the value of the property "TreatWarningsAsErrors"
      • setThrowExceptionOnDatabaseError

        public DataUpdateNode setThrowExceptionOnDatabaseError(boolean value)
        Set the DataUpdateNode "ThrowExceptionOnDatabaseError" property
        Parameters:
        value - boolean ; the value to set the property "ThrowExceptionOnDatabaseError"
      • getThrowExceptionOnDatabaseError

        public boolean getThrowExceptionOnDatabaseError()
        Get the DataUpdateNode "ThrowExceptionOnDatabaseError" property
        Returns:
        boolean; the value of the property "ThrowExceptionOnDatabaseError"
      • 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