public class Contact extends Object
Modifier and Type | Field and Description |
---|---|
String |
contactEmail |
boolean |
contactEmailIsModified |
String |
contactName |
boolean |
contactNameIsModified |
String |
contactNumber |
boolean |
contactNumberIsModified |
Constructor and Description |
---|
Contact() |
Modifier and Type | Method and Description |
---|---|
static Contact |
fromProxy(BroadWorksServer bws,
ContactProxy proxy)
Re-inserts non-serializable information into a Proxy class in order to regain the source DataType class
|
String |
getContactEmail() |
String |
getContactName() |
String |
getContactNumber() |
static Contact |
getFromNode(Node node)
Retrieves an elements of type Contact by parsing an XML node.
|
static Contact[] |
getListFromNode(Node[] nodeList)
Retrieves an Array of elements of type Contact by parsing the XML node.
|
static Contact[] |
getListFromNode(Node node,
String elementName)
Retrieves an Array of elements of type Contact by parsing the XML node.
|
ContactProxy |
getProxy()
Retrieves the Serializable version of this DataType
|
Contact |
setContactEmail(String contactEmail) |
Contact |
setContactName(String contactName) |
Contact |
setContactNumber(String contactNumber) |
String |
toString() |
@Size(min=1, max=30) public String contactName
public transient boolean contactNameIsModified
@Size(min=1, max=30) public String contactNumber
public transient boolean contactNumberIsModified
@Size(min=1, max=80) public String contactEmail
public transient boolean contactEmailIsModified
public String getContactName()
public String getContactNumber()
public String getContactEmail()
public static Contact getFromNode(Node node)
node
- The source node to parse.public static Contact[] getListFromNode(Node node, String elementName)
node
- The source node to retrieve the array.elementName
- The element name to iterate through.public static Contact[] getListFromNode(Node[] nodeList)
nodeList
- The source node array to retrieve the elements.public ContactProxy getProxy()
public static Contact fromProxy(BroadWorksServer bws, ContactProxy proxy)
bws
- The current active BroadWorks Server connection.proxy
- The proxy object to inject.Copyright © 2016 ECG, Inc. All rights reserved.