com.sforce.soap.partner
Class LoginResult

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

public class LoginResult
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
LoginResult()
           
LoginResult(java.lang.String metadataServerUrl, boolean passwordExpired, boolean sandbox, java.lang.String serverUrl, java.lang.String sessionId, java.lang.String userId, GetUserInfoResult userInfo)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getMetadataServerUrl()
          Gets the metadataServerUrl value for this LoginResult.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.lang.String getServerUrl()
          Gets the serverUrl value for this LoginResult.
 java.lang.String getSessionId()
          Gets the sessionId value for this LoginResult.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 java.lang.String getUserId()
          Gets the userId value for this LoginResult.
 GetUserInfoResult getUserInfo()
          Gets the userInfo value for this LoginResult.
 int hashCode()
           
 boolean isPasswordExpired()
          Gets the passwordExpired value for this LoginResult.
 boolean isSandbox()
          Gets the sandbox value for this LoginResult.
 void setMetadataServerUrl(java.lang.String metadataServerUrl)
          Sets the metadataServerUrl value for this LoginResult.
 void setPasswordExpired(boolean passwordExpired)
          Sets the passwordExpired value for this LoginResult.
 void setSandbox(boolean sandbox)
          Sets the sandbox value for this LoginResult.
 void setServerUrl(java.lang.String serverUrl)
          Sets the serverUrl value for this LoginResult.
 void setSessionId(java.lang.String sessionId)
          Sets the sessionId value for this LoginResult.
 void setUserId(java.lang.String userId)
          Sets the userId value for this LoginResult.
 void setUserInfo(GetUserInfoResult userInfo)
          Sets the userInfo value for this LoginResult.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginResult

public LoginResult()

LoginResult

public LoginResult(java.lang.String metadataServerUrl,
                   boolean passwordExpired,
                   boolean sandbox,
                   java.lang.String serverUrl,
                   java.lang.String sessionId,
                   java.lang.String userId,
                   GetUserInfoResult userInfo)
Method Detail

getMetadataServerUrl

public java.lang.String getMetadataServerUrl()
Gets the metadataServerUrl value for this LoginResult.

Returns:
metadataServerUrl

setMetadataServerUrl

public void setMetadataServerUrl(java.lang.String metadataServerUrl)
Sets the metadataServerUrl value for this LoginResult.

Parameters:
metadataServerUrl -

isPasswordExpired

public boolean isPasswordExpired()
Gets the passwordExpired value for this LoginResult.

Returns:
passwordExpired

setPasswordExpired

public void setPasswordExpired(boolean passwordExpired)
Sets the passwordExpired value for this LoginResult.

Parameters:
passwordExpired -

isSandbox

public boolean isSandbox()
Gets the sandbox value for this LoginResult.

Returns:
sandbox

setSandbox

public void setSandbox(boolean sandbox)
Sets the sandbox value for this LoginResult.

Parameters:
sandbox -

getServerUrl

public java.lang.String getServerUrl()
Gets the serverUrl value for this LoginResult.

Returns:
serverUrl

setServerUrl

public void setServerUrl(java.lang.String serverUrl)
Sets the serverUrl value for this LoginResult.

Parameters:
serverUrl -

getSessionId

public java.lang.String getSessionId()
Gets the sessionId value for this LoginResult.

Returns:
sessionId

setSessionId

public void setSessionId(java.lang.String sessionId)
Sets the sessionId value for this LoginResult.

Parameters:
sessionId -

getUserId

public java.lang.String getUserId()
Gets the userId value for this LoginResult.

Returns:
userId

setUserId

public void setUserId(java.lang.String userId)
Sets the userId value for this LoginResult.

Parameters:
userId -

getUserInfo

public GetUserInfoResult getUserInfo()
Gets the userInfo value for this LoginResult.

Returns:
userInfo

setUserInfo

public void setUserInfo(GetUserInfoResult userInfo)
Sets the userInfo value for this LoginResult.

Parameters:
userInfo -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer



Copyright © 2009. All Rights Reserved.