public class

LoginResult

extends Object
implements XMLizable
java.lang.Object
   ↳ com.sforce.soap.partner.LoginResult

Class Overview

Generated class, please do not edit.

Summary

Fields
private String metadataServerUrl
private boolean metadataServerUrl__is_set
private static final TypeInfo metadataServerUrl__typeInfo element : metadataServerUrl of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
private boolean passwordExpired
private boolean passwordExpired__is_set
private static final TypeInfo passwordExpired__typeInfo element : passwordExpired of type {http://www.w3.org/2001/XMLSchema}boolean java type: boolean
private boolean sandbox
private boolean sandbox__is_set
private static final TypeInfo sandbox__typeInfo element : sandbox of type {http://www.w3.org/2001/XMLSchema}boolean java type: boolean
private String serverUrl
private boolean serverUrl__is_set
private static final TypeInfo serverUrl__typeInfo element : serverUrl of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
private String sessionId
private boolean sessionId__is_set
private static final TypeInfo sessionId__typeInfo element : sessionId of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
private String userId
private boolean userId__is_set
private static final TypeInfo userId__typeInfo element : userId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String
private GetUserInfoResult userInfo
private boolean userInfo__is_set
private static final TypeInfo userInfo__typeInfo element : userInfo of type {urn:partner.soap.sforce.com}GetUserInfoResult java type: com.sforce.soap.partner.GetUserInfoResult
Public Constructors
LoginResult()
Constructor
Public Methods
String getMetadataServerUrl()
boolean getPasswordExpired()
boolean getSandbox()
String getServerUrl()
String getSessionId()
String getUserId()
GetUserInfoResult getUserInfo()
boolean isPasswordExpired()
boolean isSandbox()
void load(XmlInputStream __in, TypeMapper __typeMapper)
load the fileds/children from the specified xml stream
void setMetadataServerUrl(String metadataServerUrl)
void setPasswordExpired(boolean passwordExpired)
void setSandbox(boolean sandbox)
void setServerUrl(String serverUrl)
void setSessionId(String sessionId)
void setUserId(String userId)
void setUserInfo(GetUserInfoResult userInfo)
String toString()
void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper)
write this instace as xml.
Protected Methods
void loadFields(XmlInputStream __in, TypeMapper __typeMapper)
void writeFields(XmlOutputStream __out, TypeMapper __typeMapper)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.sforce.ws.bind.XMLizable

Fields

private String metadataServerUrl

private boolean metadataServerUrl__is_set

private static final TypeInfo metadataServerUrl__typeInfo

element : metadataServerUrl of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String

private boolean passwordExpired

private boolean passwordExpired__is_set

private static final TypeInfo passwordExpired__typeInfo

element : passwordExpired of type {http://www.w3.org/2001/XMLSchema}boolean java type: boolean

private boolean sandbox

private boolean sandbox__is_set

private static final TypeInfo sandbox__typeInfo

element : sandbox of type {http://www.w3.org/2001/XMLSchema}boolean java type: boolean

private String serverUrl

private boolean serverUrl__is_set

private static final TypeInfo serverUrl__typeInfo

element : serverUrl of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String

private String sessionId

private boolean sessionId__is_set

private static final TypeInfo sessionId__typeInfo

element : sessionId of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String

private String userId

private boolean userId__is_set

private static final TypeInfo userId__typeInfo

element : userId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String

private GetUserInfoResult userInfo

private boolean userInfo__is_set

private static final TypeInfo userInfo__typeInfo

element : userInfo of type {urn:partner.soap.sforce.com}GetUserInfoResult java type: com.sforce.soap.partner.GetUserInfoResult

Public Constructors

public LoginResult ()

Constructor

Public Methods

public String getMetadataServerUrl ()

public boolean getPasswordExpired ()

public boolean getSandbox ()

public String getServerUrl ()

public String getSessionId ()

public String getUserId ()

public GetUserInfoResult getUserInfo ()

public boolean isPasswordExpired ()

public boolean isSandbox ()

public void load (XmlInputStream __in, TypeMapper __typeMapper)

load the fileds/children from the specified xml stream

Parameters
__in Xml input stream from which the data is read
__typeMapper Type mapper to be used
Throws
ConnectionException
IOException

public void setMetadataServerUrl (String metadataServerUrl)

Parameters
metadataServerUrl

public void setPasswordExpired (boolean passwordExpired)

Parameters
passwordExpired

public void setSandbox (boolean sandbox)

Parameters
sandbox

public void setServerUrl (String serverUrl)

Parameters
serverUrl

public void setSessionId (String sessionId)

Parameters
sessionId

public void setUserId (String userId)

Parameters
userId

public void setUserInfo (GetUserInfoResult userInfo)

Parameters
userInfo

public String toString ()

public void write (QName __element, XmlOutputStream __out, TypeMapper __typeMapper)

write this instace as xml.

Parameters
__element Xml element name
__out Xml output stream
__typeMapper Type mapper to be used
Throws
IOException

Protected Methods

protected void loadFields (XmlInputStream __in, TypeMapper __typeMapper)

Parameters
__in
__typeMapper
Throws
ConnectionException
IOException

protected void writeFields (XmlOutputStream __out, TypeMapper __typeMapper)

Parameters
__out
__typeMapper
Throws
IOException