public class InterceptDNListEntry extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Optional<String> |
description |
protected String |
phoneNumber |
Constructor and Description |
---|
InterceptDNListEntry()
Serializable Constructor
|
InterceptDNListEntry(String phoneNumber) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Element |
formRequest(Request<?> request,
InterceptDNListEntry datatype,
String elementName)
Appends this DataType to the given Request
|
static InterceptDNListEntry[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type InterceptDNListEntry by parsing the XML node.
|
com.google.common.base.Optional<String> |
getDescription() |
static InterceptDNListEntry |
getFromNode(Node node)
Retrieves an elements of type InterceptDNListEntry by parsing an XML node.
|
String |
getPhoneNumber() |
int |
hashCode() |
InterceptDNListEntry |
setDescription(String description) |
InterceptDNListEntry |
setPhoneNumber(String phoneNumber) |
@NotNull @Size(min=1, max=23) protected String phoneNumber
protected com.google.common.base.Optional<String> description
public InterceptDNListEntry(String phoneNumber)
public InterceptDNListEntry()
public String getPhoneNumber()
public InterceptDNListEntry setPhoneNumber(String phoneNumber)
public com.google.common.base.Optional<String> getDescription()
public InterceptDNListEntry setDescription(String description)
@GwtIncompatible public static Element formRequest(Request<?> request, InterceptDNListEntry datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static InterceptDNListEntry getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static InterceptDNListEntry[] 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.