Package com.sforce.soap.partner
Class LoginResult
- java.lang.Object
-
- com.sforce.soap.partner.LoginResult
-
- All Implemented Interfaces:
ILoginResult,XMLizable
public class LoginResult extends Object implements XMLizable, ILoginResult
This is a generated class for the SObject Enterprise API. Do not edit this file, as your changes will be lost.
-
-
Constructor Summary
Constructors Constructor Description LoginResult()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMetadataServerUrl()element : metadataServerUrl of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringbooleangetPasswordExpired()element : passwordExpired of type {http://www.w3.org/2001/XMLSchema}boolean java type: booleanbooleangetSandbox()element : sandbox of type {http://www.w3.org/2001/XMLSchema}boolean java type: booleanStringgetServerUrl()element : serverUrl of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringStringgetSessionId()element : sessionId of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringStringgetUserId()element : userId of type {urn:partner.soap.sforce.com}ID java type: java.lang.StringGetUserInfoResultgetUserInfo()element : userInfo of type {urn:partner.soap.sforce.com}GetUserInfoResult java type: com.sforce.soap.partner.GetUserInfoResultbooleanisPasswordExpired()booleanisSandbox()voidload(XmlInputStream __in, TypeMapper __typeMapper)protected voidloadFields(XmlInputStream __in, TypeMapper __typeMapper)protected voidsetMetadataServerUrl(XmlInputStream __in, TypeMapper __typeMapper)voidsetMetadataServerUrl(String metadataServerUrl)voidsetPasswordExpired(boolean passwordExpired)protected voidsetPasswordExpired(XmlInputStream __in, TypeMapper __typeMapper)voidsetSandbox(boolean sandbox)protected voidsetSandbox(XmlInputStream __in, TypeMapper __typeMapper)protected voidsetServerUrl(XmlInputStream __in, TypeMapper __typeMapper)voidsetServerUrl(String serverUrl)protected voidsetSessionId(XmlInputStream __in, TypeMapper __typeMapper)voidsetSessionId(String sessionId)protected voidsetUserId(XmlInputStream __in, TypeMapper __typeMapper)voidsetUserId(String userId)voidsetUserInfo(IGetUserInfoResult userInfo)protected voidsetUserInfo(XmlInputStream __in, TypeMapper __typeMapper)StringtoString()voidwrite(QName __element, XmlOutputStream __out, TypeMapper __typeMapper)protected voidwriteFields(XmlOutputStream __out, TypeMapper __typeMapper)
-
-
-
Method Detail
-
getMetadataServerUrl
public String getMetadataServerUrl()
Description copied from interface:ILoginResultelement : metadataServerUrl of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getMetadataServerUrlin interfaceILoginResult
-
setMetadataServerUrl
public void setMetadataServerUrl(String metadataServerUrl)
- Specified by:
setMetadataServerUrlin interfaceILoginResult
-
setMetadataServerUrl
protected void setMetadataServerUrl(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getPasswordExpired
public boolean getPasswordExpired()
Description copied from interface:ILoginResultelement : passwordExpired of type {http://www.w3.org/2001/XMLSchema}boolean java type: boolean- Specified by:
getPasswordExpiredin interfaceILoginResult
-
isPasswordExpired
public boolean isPasswordExpired()
- Specified by:
isPasswordExpiredin interfaceILoginResult
-
setPasswordExpired
public void setPasswordExpired(boolean passwordExpired)
- Specified by:
setPasswordExpiredin interfaceILoginResult
-
setPasswordExpired
protected void setPasswordExpired(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getSandbox
public boolean getSandbox()
Description copied from interface:ILoginResultelement : sandbox of type {http://www.w3.org/2001/XMLSchema}boolean java type: boolean- Specified by:
getSandboxin interfaceILoginResult
-
isSandbox
public boolean isSandbox()
- Specified by:
isSandboxin interfaceILoginResult
-
setSandbox
public void setSandbox(boolean sandbox)
- Specified by:
setSandboxin interfaceILoginResult
-
setSandbox
protected void setSandbox(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getServerUrl
public String getServerUrl()
Description copied from interface:ILoginResultelement : serverUrl of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getServerUrlin interfaceILoginResult
-
setServerUrl
public void setServerUrl(String serverUrl)
- Specified by:
setServerUrlin interfaceILoginResult
-
setServerUrl
protected void setServerUrl(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getSessionId
public String getSessionId()
Description copied from interface:ILoginResultelement : sessionId of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getSessionIdin interfaceILoginResult
-
setSessionId
public void setSessionId(String sessionId)
- Specified by:
setSessionIdin interfaceILoginResult
-
setSessionId
protected void setSessionId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getUserId
public String getUserId()
Description copied from interface:ILoginResultelement : userId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String- Specified by:
getUserIdin interfaceILoginResult
-
setUserId
public void setUserId(String userId)
- Specified by:
setUserIdin interfaceILoginResult
-
setUserId
protected void setUserId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getUserInfo
public GetUserInfoResult getUserInfo()
Description copied from interface:ILoginResultelement : userInfo of type {urn:partner.soap.sforce.com}GetUserInfoResult java type: com.sforce.soap.partner.GetUserInfoResult- Specified by:
getUserInfoin interfaceILoginResult
-
setUserInfo
public void setUserInfo(IGetUserInfoResult userInfo)
- Specified by:
setUserInfoin interfaceILoginResult
-
setUserInfo
protected void setUserInfo(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
write
public void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Specified by:
writein interfaceXMLizable- Throws:
IOException
-
writeFields
protected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Throws:
IOException
-
load
public void load(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Specified by:
loadin interfaceXMLizable- Throws:
IOExceptionConnectionException
-
loadFields
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
-