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 classSAPConnection.ConnectionTypType of the connection object.
-
Constructor Summary
Constructors Constructor Description SAPConnection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SAPConnection.ConnectionTypgetConnectionType()Headerheader()Returns the header data of this object.SAPConnectionHTTPhttp()This method provides access to the HTTP settings of this connection object.booleanisExecutable()Returnstrueif this Object can be executed.protected voidloadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)SAPConnectionRFCrfc()This method provides access to the RFC settings of this connection object.voidsetConnectionType(SAPConnection.ConnectionTyp connectionType)Sets the type of the SAP connection.protected voidstoreContent(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:UC4ObjectReturnstrueif this Object can be executed.- Specified by:
isExecutablein classUC4Object- Returns:
- true if the Object can be executed, false if not.
-
-