Package com.uc4.api.objects
Class SAPConnection
java.lang.Object
com.uc4.api.objects.UC4Object
com.uc4.api.objects.SAPConnection
This class represents an SAP Connection object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Type of the connection object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionheader()
Returns the header data of this object.http()
This method provides access to the HTTP settings of this connection object.boolean
Returnstrue
if this Object can be executed.protected void
loadContent
(com.uc4.util.XMLDocument doc, ConnectionAttributes session) rfc()
This method provides access to the RFC settings of this connection object.void
setConnectionType
(SAPConnection.ConnectionTyp connectionType) Sets the type of the SAP connection.protected void
storeContent
(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes sessionInfo) Methods inherited from class com.uc4.api.objects.UC4Object
docu, getAccess, getIdnr, getModCount, getName, getObjectClient, getType, isOldVersion, load, store, validate
-
Constructor Details
-
SAPConnection
public SAPConnection()
-
-
Method Details
-
loadContent
-
getConnectionType
- Returns:
- The type of the SAP connection
-
setConnectionType
Sets the type of the SAP connection.- Parameters:
connectionType
- Connection type
-
header
Returns the header data of this object. This is the information of the header tab in the dialog client.- Returns:
- header
-
rfc
This method provides access to the RFC settings of this connection object.- Returns:
- RFC Connection values
-
http
This method provides access to the HTTP settings of this connection object.- Returns:
- HTTP Connection values
-
storeContent
protected void storeContent(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes sessionInfo) -
isExecutable
public boolean isExecutable()Description copied from class:UC4Object
Returnstrue
if this Object can be executed.- Specified by:
isExecutable
in classUC4Object
- Returns:
- true if the Object can be executed, false if not.
-