public class SAPConnectionHTTP
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
SAPConnectionHTTP(com.uc4.util.XMLDocument doc,
ConnectionAttributes session)
Creates a new instance of the
SAPConnectionHTTP
class by using the values provided in the XML Document. |
Modifier and Type | Method and Description |
---|---|
UC4ObjectName |
getLogin()
Returns the Login
|
java.lang.String |
getURL()
Returns the URL of the Service (XI, JXBP, SLD).
|
java.lang.String |
getUser()
Returns the name of the user.
|
void |
setLogin(UC4ObjectName login)
Sets the login.
|
void |
setPassword(java.lang.String pass)
Sets the password for the HTTP user.
|
void |
setURL(java.lang.String url)
Sets the URL of the Service (XI, JXBP, SLD).
|
void |
setUser(java.lang.String user)
Sets the name of the user.
|
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
|
protected SAPConnectionHTTP(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
SAPConnectionHTTP
class by using the values provided in the XML Document.doc
- XML documentpublic java.lang.String getURL()
null
if not setpublic java.lang.String getUser()
null
if not setpublic void setURL(java.lang.String url)
url
- HTTP URLpublic void setUser(java.lang.String user)
user
- User namepublic void setPassword(java.lang.String pass)
pass
- Passwordpublic void setLogin(UC4ObjectName login)
login
- the new login which should never be nullpublic UC4ObjectName getLogin()
null
if not setprotected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes session, java.lang.String ocvType)
doc
- XML documentobjectElement
- Parent element