public class OCIMessage extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected OCICommand[] |
command |
protected String |
phoneNumber |
protected String |
sessionId |
protected String |
userId |
Constructor and Description |
---|
OCIMessage()
Serializable Constructor
|
OCIMessage(OCICommand... command) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Element |
formRequest(Request<?> request,
OCIMessage datatype,
String elementName)
Appends this DataType to the given Request
|
static OCIMessage[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type OCIMessage by parsing the XML node.
|
OCICommand[] |
getCommand() |
static OCIMessage |
getFromNode(Node node)
Retrieves an elements of type OCIMessage by parsing an XML node.
|
String |
getPhoneNumber() |
String |
getSessionId() |
String |
getUserId() |
int |
hashCode() |
OCIMessage |
setCommand(OCICommand... command) |
OCIMessage |
setPhoneNumber(String phoneNumber) |
OCIMessage |
setSessionId(String sessionId) |
OCIMessage |
setUserId(String userId) |
protected String sessionId
protected String userId
protected String phoneNumber
@NotNull @Size(min=1, max=15) protected OCICommand[] command
public OCIMessage(OCICommand... command)
public OCIMessage()
public String getSessionId()
public OCIMessage setSessionId(String sessionId)
public String getUserId()
public OCIMessage setUserId(String userId)
public String getPhoneNumber()
public OCIMessage setPhoneNumber(String phoneNumber)
public OCICommand[] getCommand()
public OCIMessage setCommand(OCICommand... command)
@GwtIncompatible public static Element formRequest(Request<?> request, OCIMessage datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static OCIMessage getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static OCIMessage[] 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.