public class OCIMessage extends Object
Modifier and Type | Field and Description |
---|---|
OCICommand[] |
command |
boolean |
commandIsModified |
String |
phoneNumber |
boolean |
phoneNumberIsModified |
String |
sessionId |
boolean |
sessionIdIsModified |
String |
userId |
boolean |
userIdIsModified |
Modifier | Constructor and Description |
---|---|
protected |
OCIMessage()
Protected Call for Use by Node Construction Methods
|
|
OCIMessage(OCICommand... command) |
Modifier and Type | Method and Description |
---|---|
static OCIMessage |
fromProxy(BroadWorksServer bws,
OCIMessageProxy proxy)
Re-inserts non-serializable information into a Proxy class in order to regain the source DataType class
|
OCICommand[] |
getCommand() |
static OCIMessage |
getFromNode(Node node)
Retrieves an elements of type OCIMessage by parsing an XML node.
|
static OCIMessage[] |
getListFromNode(Node[] nodeList)
Retrieves an Array of elements of type OCIMessage by parsing the XML node.
|
static OCIMessage[] |
getListFromNode(Node node,
String elementName)
Retrieves an Array of elements of type OCIMessage by parsing the XML node.
|
String |
getPhoneNumber() |
OCIMessageProxy |
getProxy()
Retrieves the Serializable version of this DataType
|
String |
getSessionId() |
String |
getUserId() |
OCIMessage |
setCommand(OCICommand... command) |
OCIMessage |
setPhoneNumber(String phoneNumber) |
OCIMessage |
setSessionId(String sessionId) |
OCIMessage |
setUserId(String userId) |
String |
toString() |
public String sessionId
public transient boolean sessionIdIsModified
public String userId
public transient boolean userIdIsModified
public String phoneNumber
public transient boolean phoneNumberIsModified
@NotNull @Size(min=1, max=15) public OCICommand[] command
public transient boolean commandIsModified
public OCIMessage(OCICommand... command)
protected 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)
public static OCIMessage getFromNode(Node node)
node
- The source node to parse.public static OCIMessage[] getListFromNode(Node node, String elementName)
node
- The source node to retrieve the array.elementName
- The element name to iterate through.public static OCIMessage[] getListFromNode(Node[] nodeList)
nodeList
- The source node array to retrieve the elements.public OCIMessageProxy getProxy()
public static OCIMessage fromProxy(BroadWorksServer bws, OCIMessageProxy proxy)
bws
- The current active BroadWorks Server connection.proxy
- The proxy object to inject.Copyright © 2016 ECG, Inc. All rights reserved.