Class DefaultRFCDestination

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBackendType()
      Returns the backend type.
      java.lang.String getClient()
      Returns the client.
      java.lang.Boolean getConnectionType()
      Returns the type of connection (server or group connection).
      java.lang.String getGroup()
      Returns the logon group name.
      java.lang.String getInstance()
      Returns the instance number of the application server (for server connection only).
      java.lang.Boolean getJcoClientDelta()
      Returns the indicator for table parameter delta management (1 - enable [default] or 0 - disable).
      java.lang.String getJcoCPICTrace()
      Returns the CPIC trace (-1 [take over environment value 'CPIC_TRACE'], 0 no trace, 1,2,3 different trace levels).
      java.lang.String getJcoMsServ()
      Returns the SAP message server or port number.
      java.lang.String getJcoSAPRouter()
      Returns the SAP router string to use for networks being protected by a firewall.
      java.lang.String getJcoTraceLevel()
      Returns the JCo trace level (0-10).
      java.lang.String getJcoTracePath()
      Returns the JCo trace path (null, stdout, stderr or an existing path are allowed).
      java.lang.String getMaxConnections()
      Returns the maximum number of connections.
      java.lang.String getMaxWaitTime()
      Returns the maximum waiting time in milliseconds.
      java.lang.String getMessageServer()
      Returns the message server (for group connection).
      java.lang.String getPassword()
      Returns the password.
      java.lang.Boolean getPooledConnectionMode()
      Returns the indicator whether a pooled connection mode is enabled.
      java.lang.String getPoolSize()
      Returns the pool size.
      java.util.Collection<RFCDestinationAttributeModel> getRFCDestinationAttributes()
      Returns the additional Attributes for RFC Destination.
      java.lang.String getRfcDestinationName()
      Returns the RFC destination name.
      java.lang.String getSid()
      Returns the system id.
      java.lang.String getSncPartnerName()
      Returns SNC name of the communication partner (application server).
      java.lang.String getSncQOP()
      Returns the SNC security level / quality of service.
      java.lang.String getTargetHost()
      Returns the host name of the target application server (for server connection) or the message server (for group connection).
      java.lang.String getUserid()
      Returns the user id.
      java.lang.Boolean isJcoRFCTraceEnabled()
      Returns the indicator whether JCo RFC trace is enabled (0 or 1).
      boolean isOffline()
      Returns the offline indicator.
      java.lang.Boolean isSncEnabled()
      Returns the indicator whether SNC is enabled.
      void setAdditionalAttributes​(java.util.Collection<RFCDestinationAttributeModel> additionalAttributes)
      Sets the additional attributes.
      void setBackendType​(java.lang.String backendType)
      Sets the backend type.
      void setClient​(java.lang.String client)
      Sets the client.
      void setConnectionType​(java.lang.Boolean connectionType)
      Sets the connection type.
      void setGroup​(java.lang.String group)
      Sets the logon group name.
      void setInstance​(java.lang.String instance)
      Sets the instance number.
      void setJcoClientDelta​(java.lang.Boolean jcoClientDelta)
      Sets the client delta switch.
      void setJcoCPICTrace​(java.lang.String jcoCPICTrace)
      Sets the JCo CPIC trace.
      void setJcoMsServ​(java.lang.String jcoMsServ)
      Sets the JCo message server.
      void setJcoRFCTrace​(java.lang.String jcoRFCTrace)
      Sets the JCo trace.
      void setJcoSAPRouter​(java.lang.String jcoSAPRouter)
      Sets the SAP router.
      void setJcoTraceLevel​(java.lang.String jcoTraceLevel)
      Sets the JCo trace level.
      void setJcoTracePath​(java.lang.String jcoTracePath)
      Sets the JCo trace path.
      void setMaxConnections​(java.lang.String maxConnections)
      Sets the maximum number of connections.
      void setMaxWaitTime​(java.lang.String maxWaitTime)
      Sets the maximum waiting time.
      void setMessageServer​(java.lang.String messageServer)
      Sets the message server (for group connection).
      void setOffline​(boolean offline)
      Sets the offline indicator.
      void setPassword​(java.lang.String password)
      Sets the password.
      void setPooledConnectionMode​(java.lang.Boolean pooledConnectionMode)
      Sets the pooled connection activation indicator.
      void setPoolSize​(java.lang.String poolSize)
      Sets the connection pool size.
      void setRfcDestinationName​(java.lang.String rfcDestinationName)
      Sets the RFC destination name.
      void setSid​(java.lang.String sid)
      Sets the system id.
      void setSncMode​(boolean sncMode)
      Sets the SNC activation indicator.
      void setSncPartnerName​(java.lang.String sncPartnerName)
      Sets the SNC communication partner name (application server).
      void setSncQOP​(java.lang.String sncQOP)
      Sets the SNC security level.
      void setTargetHost​(java.lang.String targetHost)
      Sets the target host.
      void setUserid​(java.lang.String userid)
      Sets the user id.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DefaultRFCDestination

        public DefaultRFCDestination()
    • Method Detail

      • getPassword

        public java.lang.String getPassword()
        Description copied from interface: RFCDestination
        Returns the password.
        Specified by:
        getPassword in interface RFCDestination
        Returns:
        the password
      • setPassword

        public void setPassword​(java.lang.String password)
        Sets the password.
        Parameters:
        password - the password to set
      • getSid

        public java.lang.String getSid()
        Description copied from interface: RFCDestination
        Returns the system id.
        Specified by:
        getSid in interface RFCDestination
        Returns:
        the sid
      • setSid

        public void setSid​(java.lang.String sid)
        Sets the system id.
        Parameters:
        sid - the sid to set
      • getGroup

        public java.lang.String getGroup()
        Description copied from interface: RFCDestination
        Returns the logon group name.
        Specified by:
        getGroup in interface RFCDestination
        Returns:
        the group
      • setGroup

        public void setGroup​(java.lang.String group)
        Sets the logon group name.
        Parameters:
        group - the group to set
      • getPoolSize

        public java.lang.String getPoolSize()
        Description copied from interface: RFCDestination
        Returns the pool size.
        Specified by:
        getPoolSize in interface RFCDestination
        Returns:
        the poolSize
      • setPoolSize

        public void setPoolSize​(java.lang.String poolSize)
        Sets the connection pool size.
        Parameters:
        poolSize - the poolSize to set
      • getClient

        public java.lang.String getClient()
        Description copied from interface: RFCDestination
        Returns the client.
        Specified by:
        getClient in interface RFCDestination
        Returns:
        the client
      • setClient

        public void setClient​(java.lang.String client)
        Sets the client.
        Parameters:
        client - the client to set
      • getMaxWaitTime

        public java.lang.String getMaxWaitTime()
        Description copied from interface: RFCDestination
        Returns the maximum waiting time in milliseconds.
        Specified by:
        getMaxWaitTime in interface RFCDestination
        Returns:
        the maxWaitTime
      • setMaxWaitTime

        public void setMaxWaitTime​(java.lang.String maxWaitTime)
        Sets the maximum waiting time.
        Parameters:
        maxWaitTime - the maxWaitTime to set
      • getTargetHost

        public java.lang.String getTargetHost()
        Description copied from interface: RFCDestination
        Returns the host name of the target application server (for server connection) or the message server (for group connection).
        Specified by:
        getTargetHost in interface RFCDestination
        Returns:
        the targetHost
      • setTargetHost

        public void setTargetHost​(java.lang.String targetHost)
        Sets the target host.
        Parameters:
        targetHost - the targetHost to set
      • getUserid

        public java.lang.String getUserid()
        Description copied from interface: RFCDestination
        Returns the user id.
        Specified by:
        getUserid in interface RFCDestination
        Returns:
        the userid
      • setUserid

        public void setUserid​(java.lang.String userid)
        Sets the user id.
        Parameters:
        userid - the userid to set
      • getPooledConnectionMode

        public java.lang.Boolean getPooledConnectionMode()
        Description copied from interface: RFCDestination
        Returns the indicator whether a pooled connection mode is enabled.
        Specified by:
        getPooledConnectionMode in interface RFCDestination
        Returns:
        the pooledConnectionMode
      • setPooledConnectionMode

        public void setPooledConnectionMode​(java.lang.Boolean pooledConnectionMode)
        Sets the pooled connection activation indicator.
        Parameters:
        pooledConnectionMode - the pooledConnectionMode to set
      • getMessageServer

        public java.lang.String getMessageServer()
        Description copied from interface: RFCDestination
        Returns the message server (for group connection).
        Specified by:
        getMessageServer in interface RFCDestination
        Returns:
        the messageServer
      • setMessageServer

        public void setMessageServer​(java.lang.String messageServer)
        Sets the message server (for group connection).
        Parameters:
        messageServer - the messageServer to set
      • getInstance

        public java.lang.String getInstance()
        Description copied from interface: RFCDestination
        Returns the instance number of the application server (for server connection only).
        Specified by:
        getInstance in interface RFCDestination
        Returns:
        the instance
      • setInstance

        public void setInstance​(java.lang.String instance)
        Sets the instance number.
        Parameters:
        instance - the instance to set
      • getMaxConnections

        public java.lang.String getMaxConnections()
        Description copied from interface: RFCDestination
        Returns the maximum number of connections.
        Specified by:
        getMaxConnections in interface RFCDestination
        Returns:
        the maxConnections
      • setMaxConnections

        public void setMaxConnections​(java.lang.String maxConnections)
        Sets the maximum number of connections.
        Parameters:
        maxConnections - the maxConnections to set
      • getRfcDestinationName

        public java.lang.String getRfcDestinationName()
        Description copied from interface: RFCDestination
        Returns the RFC destination name.
        Specified by:
        getRfcDestinationName in interface RFCDestination
        Returns:
        the rfcDestinationName
      • setRfcDestinationName

        public void setRfcDestinationName​(java.lang.String rfcDestinationName)
        Sets the RFC destination name.
        Parameters:
        rfcDestinationName - the rfcDestinationName to set
      • getConnectionType

        public java.lang.Boolean getConnectionType()
        Description copied from interface: RFCDestination
        Returns the type of connection (server or group connection).
        Specified by:
        getConnectionType in interface RFCDestination
        Returns:
        the connectionType
      • setConnectionType

        public void setConnectionType​(java.lang.Boolean connectionType)
        Sets the connection type.
        Parameters:
        connectionType - the connectionType to set
      • getJcoTraceLevel

        public java.lang.String getJcoTraceLevel()
        Description copied from interface: RFCDestination
        Returns the JCo trace level (0-10).
        Specified by:
        getJcoTraceLevel in interface RFCDestination
        Returns:
        the jcoTraceLevel - Turns on the JCo trace. Allowed levels are [0 .. 10]
      • setJcoTraceLevel

        public void setJcoTraceLevel​(java.lang.String jcoTraceLevel)
        Sets the JCo trace level.
        Parameters:
        jcoTraceLevel - the jcoTraceLevel to set
      • getJcoTracePath

        public java.lang.String getJcoTracePath()
        Description copied from interface: RFCDestination
        Returns the JCo trace path (null, stdout, stderr or an existing path are allowed).
        Specified by:
        getJcoTracePath in interface RFCDestination
        Returns:
        the jcoTracePath
      • setJcoTracePath

        public void setJcoTracePath​(java.lang.String jcoTracePath)
        Sets the JCo trace path.
        Parameters:
        jcoTracePath - the jcoTracePath to set
      • isJcoRFCTraceEnabled

        public java.lang.Boolean isJcoRFCTraceEnabled()
        Description copied from interface: RFCDestination
        Returns the indicator whether JCo RFC trace is enabled (0 or 1).
        Specified by:
        isJcoRFCTraceEnabled in interface RFCDestination
        Returns:
        the jcoRFCTrace
      • setJcoRFCTrace

        public void setJcoRFCTrace​(java.lang.String jcoRFCTrace)
        Sets the JCo trace.
        Parameters:
        jcoRFCTrace - the jcoRFCTrace to set
      • getJcoCPICTrace

        public java.lang.String getJcoCPICTrace()
        Description copied from interface: RFCDestination
        Returns the CPIC trace (-1 [take over environment value 'CPIC_TRACE'], 0 no trace, 1,2,3 different trace levels).
        Specified by:
        getJcoCPICTrace in interface RFCDestination
        Returns:
        the jcoCPICTrace - Enable/disable CPIC trace
      • setJcoCPICTrace

        public void setJcoCPICTrace​(java.lang.String jcoCPICTrace)
        Sets the JCo CPIC trace.
        Parameters:
        jcoCPICTrace - the jcoCPICTrace to set
      • getJcoMsServ

        public java.lang.String getJcoMsServ()
        Description copied from interface: RFCDestination
        Returns the SAP message server or port number.
        Specified by:
        getJcoMsServ in interface RFCDestination
        Returns:
        the jcoMsServ
      • setJcoMsServ

        public void setJcoMsServ​(java.lang.String jcoMsServ)
        Sets the JCo message server.
        Parameters:
        jcoMsServ - the jcoMsServ to set
      • getJcoSAPRouter

        public java.lang.String getJcoSAPRouter()
        Description copied from interface: RFCDestination
        Returns the SAP router string to use for networks being protected by a firewall.
        Specified by:
        getJcoSAPRouter in interface RFCDestination
        Returns:
        the jcoSAPRouter string
      • setJcoSAPRouter

        public void setJcoSAPRouter​(java.lang.String jcoSAPRouter)
        Sets the SAP router.
        Parameters:
        jcoSAPRouter - the jcoSAPRouter to set
      • getJcoClientDelta

        public java.lang.Boolean getJcoClientDelta()
        Description copied from interface: RFCDestination
        Returns the indicator for table parameter delta management (1 - enable [default] or 0 - disable).
        Specified by:
        getJcoClientDelta in interface RFCDestination
        Returns:
        the jcoClientDelta indicator
      • setJcoClientDelta

        public void setJcoClientDelta​(java.lang.Boolean jcoClientDelta)
        Sets the client delta switch.
        Parameters:
        jcoClientDelta - the jcoClientDelta to set
      • getBackendType

        public java.lang.String getBackendType()
        Description copied from interface: RFCDestination
        Returns the backend type.
        Specified by:
        getBackendType in interface RFCDestination
        Returns:
        the backend Type
      • setBackendType

        public void setBackendType​(java.lang.String backendType)
        Sets the backend type.
        Parameters:
        backendType - the backend type
      • isSncEnabled

        public java.lang.Boolean isSncEnabled()
        Description copied from interface: RFCDestination
        Returns the indicator whether SNC is enabled.
        Specified by:
        isSncEnabled in interface RFCDestination
        Returns:
        true, if SNC is enabled
      • setSncMode

        public void setSncMode​(boolean sncMode)
        Sets the SNC activation indicator.
        Parameters:
        sncMode - SNC activation indicator
      • getSncQOP

        public java.lang.String getSncQOP()
        Description copied from interface: RFCDestination
        Returns the SNC security level / quality of service.
        Specified by:
        getSncQOP in interface RFCDestination
        Returns:
        SNC security level / quality of service
      • setSncQOP

        public void setSncQOP​(java.lang.String sncQOP)
        Sets the SNC security level.
        Parameters:
        sncQOP - SNC security level
      • getSncPartnerName

        public java.lang.String getSncPartnerName()
        Description copied from interface: RFCDestination
        Returns SNC name of the communication partner (application server).
        Specified by:
        getSncPartnerName in interface RFCDestination
        Returns:
        name of SNC partner
      • setSncPartnerName

        public void setSncPartnerName​(java.lang.String sncPartnerName)
        Sets the SNC communication partner name (application server).
        Parameters:
        sncPartnerName - SNC partner name
      • isOffline

        public boolean isOffline()
        Description copied from interface: RFCDestination
        Returns the offline indicator.
        Specified by:
        isOffline in interface RFCDestination
        Returns:
        true if offline
      • setOffline

        public void setOffline​(boolean offline)
        Sets the offline indicator.
        Parameters:
        offline - offline indicator
      • setAdditionalAttributes

        public void setAdditionalAttributes​(java.util.Collection<RFCDestinationAttributeModel> additionalAttributes)
        Sets the additional attributes.
        Parameters:
        additionalAttributes - the additional attributes to set
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object