Package com.uc4.api.objects
Class SAPConnection
- java.lang.Object
-
- com.uc4.api.objects.UC4Object
-
- com.uc4.api.objects.SAPConnection
-
public class SAPConnection extends UC4Object
This class represents an SAP Connection object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SAPConnection.ConnectionTyp
Type of the connection object.
-
Constructor Summary
Constructors Constructor Description SAPConnection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SAPConnection.ConnectionTyp
getConnectionType()
Header
header()
Returns the header data of this object.SAPConnectionHTTP
http()
This method provides access to the HTTP settings of this connection object.boolean
isExecutable()
Returnstrue
if this Object can be executed.protected void
loadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
SAPConnectionRFC
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, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)
-
Methods inherited from class com.uc4.api.objects.UC4Object
docu, getAccess, getIdnr, getModCount, getName, getObjectClient, getType, isOldVersion, load, store, validate
-
-
-
-
Method Detail
-
loadContent
protected void loadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
-
getConnectionType
public SAPConnection.ConnectionTyp getConnectionType()
- Returns:
- The type of the SAP connection
-
setConnectionType
public void setConnectionType(SAPConnection.ConnectionTyp connectionType)
Sets the type of the SAP connection.- Parameters:
connectionType
- Connection type
-
header
public Header header()
Returns the header data of this object. This is the information of the header tab in the dialog client.- Returns:
- header
-
rfc
public SAPConnectionRFC rfc()
This method provides access to the RFC settings of this connection object.- Returns:
- RFC Connection values
-
http
public SAPConnectionHTTP 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, org.w3c.dom.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.
-
-