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