public class HuntAgentWeight extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
agentUserId |
protected Integer |
weight |
Constructor and Description |
---|
HuntAgentWeight()
Serializable Constructor
|
HuntAgentWeight(String agentUserId,
Integer weight) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Element |
formRequest(Request<?> request,
HuntAgentWeight datatype,
String elementName)
Appends this DataType to the given Request
|
String |
getAgentUserId() |
static HuntAgentWeight[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type HuntAgentWeight by parsing the XML node.
|
static HuntAgentWeight |
getFromNode(Node node)
Retrieves an elements of type HuntAgentWeight by parsing an XML node.
|
Integer |
getWeight() |
int |
hashCode() |
HuntAgentWeight |
setAgentUserId(String agentUserId) |
HuntAgentWeight |
setWeight(Integer weight) |
@NotNull @Size(min=1, max=161) protected String agentUserId
@NotNull protected Integer weight
public String getAgentUserId()
public HuntAgentWeight setAgentUserId(String agentUserId)
public Integer getWeight()
public HuntAgentWeight setWeight(Integer weight)
@GwtIncompatible public static Element formRequest(Request<?> request, HuntAgentWeight datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static HuntAgentWeight getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static HuntAgentWeight[] 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.