com.ibm.broker.config.appdev.nodes

Class DatabaseInputNode

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


    public class DatabaseInputNode
    extends Node

    DatabaseInputNode instance

    The Database Input node reacts to Database changes and reads the new data from 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
    • Field Detail

      • OUTPUT_TERMINAL_CATCH

        public final OutputTerminal OUTPUT_TERMINAL_CATCH
      • OUTPUT_TERMINAL_FAILURE

        public final OutputTerminal OUTPUT_TERMINAL_FAILURE
      • OUTPUT_TERMINAL_OUT

        public final OutputTerminal OUTPUT_TERMINAL_OUT
    • Constructor Detail

      • DatabaseInputNode

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

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

        public DatabaseInputNode setDatabaseInputExpression(ESQLModule value)
        Set the DatabaseInputNode "ESQL module" property
        Parameters:
        value - ESQLModule ; the value to set the property "ESQL module"
      • getDatabaseInputExpression

        public ESQLModule getDatabaseInputExpression()
        Get the DatabaseInputNode "ESQL module" property
        Returns:
        ESQLModule ; the value of the property "ESQL module"
      • setWaitInterval

        public DatabaseInputNode setWaitInterval(int value)
        Set the DatabaseInputNode "Polling interval (seconds)" property
        Parameters:
        value - int ; the value to set the property "Polling interval (seconds)"
      • getWaitInterval

        public int getWaitInterval()
        Get the DatabaseInputNode Polling interval (seconds) property
        Returns:
        int; the value of the property "Polling interval (seconds)"
      • setRetryThreshold

        public DatabaseInputNode setRetryThreshold(int value)
        Set the DatabaseInputNode "Retry threshold" property
        Parameters:
        value - int ; the value to set the property "Retry threshold"
      • getRetryThreshold

        public int getRetryThreshold()
        Get the DatabaseInputNode Retry threshold property
        Returns:
        int; the value of the property "Retry threshold"
      • setShortRetryInterval

        public DatabaseInputNode setShortRetryInterval(int value)
        Set the DatabaseInputNode "Short retry interval (seconds)" property
        Parameters:
        value - int ; the value to set the property "Short retry interval (seconds)"
      • getShortRetryInterval

        public int getShortRetryInterval()
        Get the DatabaseInputNode Short retry interval (seconds) property
        Returns:
        int; the value of the property "Short retry interval (seconds)"
      • setLongRetryInterval

        public DatabaseInputNode setLongRetryInterval(int value)
        Set the DatabaseInputNode "Long retry interval (seconds)" property
        Parameters:
        value - int ; the value to set the property "Long retry interval (seconds)"
      • getLongRetryInterval

        public int getLongRetryInterval()
        Get the DatabaseInputNode Long retry interval (seconds) property
        Returns:
        int; the value of the property "Long retry interval (seconds)"
      • getComponentLevel

        public DatabaseInputNode.ENUM_DATABASEINPUT_COMPONENTLEVEL getComponentLevel()
        Get the DatabaseInputNode "Additional instances pool" property
        Returns:
        ENUM_DATABASEINPUT_COMPONENTLEVEL; the value of the property "Additional instances pool"
      • setAdditionalInstances

        public DatabaseInputNode setAdditionalInstances(int value)
        Set the DatabaseInputNode "Additional instances" property
        Parameters:
        value - int ; the value to set the property "Additional instances"
      • getAdditionalInstances

        public int getAdditionalInstances()
        Get the DatabaseInputNode Additional instances property
        Returns:
        int; the value of the property "Additional instances"
      • 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