public class LoginResult extends Object implements Serializable
Java class for LoginResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LoginResult"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="sessionId" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="msUntilPwdExpiration" type="{http://www.w3.org/2001/XMLSchema}long"/> <element name="error" type="{urn:sfobject.sfapi.successfactors.com}Error" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Error> |
errors |
protected Long |
msUntilPwdExpiration |
protected String |
sessionId |
Constructor and Description |
---|
LoginResult() |
Modifier and Type | Method and Description |
---|---|
List<Error> |
getErrors()
Gets the value of the errors property.
|
Long |
getMsUntilPwdExpiration()
Gets the value of the msUntilPwdExpiration property.
|
String |
getSessionId()
Gets the value of the sessionId property.
|
void |
setErrors(List<Error> errors)
Sets the value of the errors property.
|
void |
setMsUntilPwdExpiration(Long value)
Sets the value of the msUntilPwdExpiration property.
|
void |
setSessionId(String value)
Sets the value of the sessionId property.
|
protected String sessionId
protected Long msUntilPwdExpiration
public String getSessionId()
String
public void setSessionId(String value)
value
- allowed object is
String
public Long getMsUntilPwdExpiration()
Long
public void setMsUntilPwdExpiration(Long value)
value
- allowed object is
Long
public List<Error> getErrors()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the errors property.
For example, to add a new item, do as follows:
getErrors().add(newItem);
Objects of the following type(s) are allowed in the list
Error
Copyright © 2010–2017. All rights reserved.