com.sforce.soap.partner
Class LoginResult

java.lang.Object
  extended by com.sforce.soap.partner.LoginResult
All Implemented Interfaces:
XMLizable

public class LoginResult
extends Object
implements XMLizable

Generated class, please do not edit.


Constructor Summary
LoginResult()
          Constructor
 
Method Summary
 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
protected  void loadFields(XmlInputStream __in, TypeMapper __typeMapper)
           
 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  void writeFields(XmlOutputStream __out, TypeMapper __typeMapper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginResult

public LoginResult()
Constructor

Method Detail

getMetadataServerUrl

public String getMetadataServerUrl()

setMetadataServerUrl

public void setMetadataServerUrl(String metadataServerUrl)

getPasswordExpired

public boolean getPasswordExpired()

isPasswordExpired

public boolean isPasswordExpired()

setPasswordExpired

public void setPasswordExpired(boolean passwordExpired)

getSandbox

public boolean getSandbox()

isSandbox

public boolean isSandbox()

setSandbox

public void setSandbox(boolean sandbox)

getServerUrl

public String getServerUrl()

setServerUrl

public void setServerUrl(String serverUrl)

getSessionId

public String getSessionId()

setSessionId

public void setSessionId(String sessionId)

getUserId

public String getUserId()

setUserId

public void setUserId(String userId)

getUserInfo

public GetUserInfoResult getUserInfo()

setUserInfo

public void setUserInfo(GetUserInfoResult userInfo)

write

public void write(QName __element,
                  XmlOutputStream __out,
                  TypeMapper __typeMapper)
           throws IOException
Description copied from interface: XMLizable
write this instace as xml.

Specified by:
write in interface XMLizable
Parameters:
__element - xml element name
__out - xml output stream
__typeMapper - type mapper to be used
Throws:
IOException - failed to write xml

writeFields

protected void writeFields(XmlOutputStream __out,
                           TypeMapper __typeMapper)
                    throws IOException
Throws:
IOException

load

public void load(XmlInputStream __in,
                 TypeMapper __typeMapper)
          throws IOException,
                 ConnectionException
Description copied from interface: XMLizable
load the fileds/children from the specified xml stream

Specified by:
load in interface XMLizable
Parameters:
__in - xml input stream from which the data is read
__typeMapper - type mapper to be used
Throws:
IOException - failed to read xml
ConnectionException - failed to read/parser/bind xml

loadFields

protected void loadFields(XmlInputStream __in,
                          TypeMapper __typeMapper)
                   throws IOException,
                          ConnectionException
Throws:
IOException
ConnectionException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.