Package com.uc4.api.objects
Class SAPConnectionHTTP
- java.lang.Object
-
- com.uc4.api.objects.SAPConnectionHTTP
-
public class SAPConnectionHTTP extends java.lang.ObjectThis class can be used to read or set the HTTP connection data for SAP Connection objects (PI, SLD, JXBP).
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSAPConnectionHTTP(com.uc4.util.XMLDocument doc, ConnectionAttributes session)Creates a new instance of theSAPConnectionHTTPclass by using the values provided in the XML Document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UC4ObjectNamegetLogin()Returns the Loginjava.lang.StringgetURL()Returns the URL of the Service (XI, JXBP, SLD).java.lang.StringgetUser()Returns the name of the user.voidsetLogin(UC4ObjectName login)Sets the login.voidsetPassword(java.lang.String pass)Sets the password for the HTTP user.voidsetURL(java.lang.String url)Sets the URL of the Service (XI, JXBP, SLD).voidsetUser(java.lang.String user)Sets the name of the user.protected voidstore(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes session, java.lang.String ocvType)Saves the content of this instance in the specified XML document
-
-
-
Constructor Detail
-
SAPConnectionHTTP
protected SAPConnectionHTTP(com.uc4.util.XMLDocument doc, ConnectionAttributes session)Creates a new instance of theSAPConnectionHTTPclass by using the values provided in the XML Document.- Parameters:
doc- XML document
-
-
Method Detail
-
getURL
public java.lang.String getURL()
Returns the URL of the Service (XI, JXBP, SLD).- Returns:
- HTTP URL or
nullif not set
-
getUser
public java.lang.String getUser()
Returns the name of the user.- Returns:
- User name or
nullif not set
-
setURL
public void setURL(java.lang.String url)
Sets the URL of the Service (XI, JXBP, SLD).- Parameters:
url- HTTP URL
-
setUser
public void setUser(java.lang.String user)
Sets the name of the user.- Parameters:
user- User name
-
setPassword
public void setPassword(java.lang.String pass)
Sets the password for the HTTP user.- Parameters:
pass- Password
-
setLogin
public void setLogin(UC4ObjectName login)
Sets the login.- Parameters:
login- the new login which should never be null
-
getLogin
public UC4ObjectName getLogin()
Returns the Login- Returns:
- Login or
nullif not set
-
store
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes session, java.lang.String ocvType)Saves the content of this instance in the specified XML document- Parameters:
doc- XML documentobjectElement- Parent element
-
-