public class CommunicationBarringCallMeNowRule extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected CommunicationBarringCallMeNowAction |
action |
protected com.google.common.base.Optional<Integer> |
callTimeoutSeconds |
protected String |
criteria |
Constructor and Description |
---|
CommunicationBarringCallMeNowRule()
Serializable Constructor
|
CommunicationBarringCallMeNowRule(String criteria,
CommunicationBarringCallMeNowAction action) |
Modifier and Type | Method and Description |
---|---|
static Element |
formRequest(Request<?> request,
CommunicationBarringCallMeNowRule datatype,
String elementName)
Appends this DataType to the given Request
|
CommunicationBarringCallMeNowAction |
getAction() |
static CommunicationBarringCallMeNowRule[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type CommunicationBarringCallMeNowRule by parsing the XML node.
|
com.google.common.base.Optional<Integer> |
getCallTimeoutSeconds() |
String |
getCriteria() |
static CommunicationBarringCallMeNowRule |
getFromNode(Node node)
Retrieves an elements of type CommunicationBarringCallMeNowRule by parsing an XML node.
|
CommunicationBarringCallMeNowRule |
setAction(CommunicationBarringCallMeNowAction action) |
CommunicationBarringCallMeNowRule |
setCallTimeoutSeconds(Integer callTimeoutSeconds) |
CommunicationBarringCallMeNowRule |
setCriteria(String criteria) |
@Size(min=1, max=40) protected String criteria
protected CommunicationBarringCallMeNowAction action
protected com.google.common.base.Optional<Integer> callTimeoutSeconds
public CommunicationBarringCallMeNowRule(String criteria, CommunicationBarringCallMeNowAction action)
public CommunicationBarringCallMeNowRule()
public String getCriteria()
public CommunicationBarringCallMeNowRule setCriteria(String criteria)
public CommunicationBarringCallMeNowAction getAction()
public CommunicationBarringCallMeNowRule setAction(CommunicationBarringCallMeNowAction action)
public com.google.common.base.Optional<Integer> getCallTimeoutSeconds()
public CommunicationBarringCallMeNowRule setCallTimeoutSeconds(Integer callTimeoutSeconds)
@GwtIncompatible public static Element formRequest(Request<?> request, CommunicationBarringCallMeNowRule datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static CommunicationBarringCallMeNowRule getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static CommunicationBarringCallMeNowRule[] 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.