public class ExchangeUserNamePassword extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
password |
protected String |
userName |
Constructor and Description |
---|
ExchangeUserNamePassword()
Serializable Constructor
|
ExchangeUserNamePassword(String userName,
String password) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Element |
formRequest(Request<?> request,
ExchangeUserNamePassword datatype,
String elementName)
Appends this DataType to the given Request
|
static ExchangeUserNamePassword[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type ExchangeUserNamePassword by parsing the XML node.
|
static ExchangeUserNamePassword |
getFromNode(Node node)
Retrieves an elements of type ExchangeUserNamePassword by parsing an XML node.
|
String |
getPassword() |
String |
getUserName() |
int |
hashCode() |
ExchangeUserNamePassword |
setPassword(String password) |
ExchangeUserNamePassword |
setUserName(String userName) |
@NotNull @Size(min=1, max=64) protected String userName
@NotNull @Size(min=1, max=104) protected String password
public ExchangeUserNamePassword()
public String getUserName()
public ExchangeUserNamePassword setUserName(String userName)
public String getPassword()
public ExchangeUserNamePassword setPassword(String password)
@GwtIncompatible public static Element formRequest(Request<?> request, ExchangeUserNamePassword datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static ExchangeUserNamePassword getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static ExchangeUserNamePassword[] getArrayFromNode(Node node, String elementName)
node
- The source node to retrieve the array.elementName
- The element name to iterate through.Copyright © 2016 ECG. All rights reserved.