public class AccessDevice extends BroadWorksObject
Modifier and Type | Field and Description |
---|---|
AccessDeviceLevel |
deviceLevel |
String |
deviceName |
bws, populated
Modifier | Constructor and Description |
---|---|
|
AccessDevice(BroadWorksServer bws)
Call used exclusively for Node Parsing
|
protected |
AccessDevice(BroadWorksServer bws,
AccessDeviceLevel deviceLevel)
Creates an Access Device
|
|
AccessDevice(BroadWorksServer bws,
AccessDeviceLevel deviceLevel,
String deviceName)
Creates an Access Device while specifying the Device Name
|
Modifier and Type | Method and Description |
---|---|
static AccessDevice |
fromProxy(BroadWorksServer broadWorksServer,
AccessDeviceProxy proxy)
Converts a proxy version of an Access Device to a non-serializable version
|
AccessDeviceLevel |
getDeviceLevel() |
String |
getDeviceName() |
static AccessDevice |
getFromNode(Node node)
Retrieves an Access Device from a BroadWorks Response Node
|
static AccessDevice[] |
getListFromNode(Node[] node)
Gets the List of Access Devices from the BroadWorks Node
|
static AccessDevice[] |
getListFromNode(Node node,
String elementName)
Gets the List of Access Devices from the BroadWorks Node
|
AccessDeviceProxy |
getProxy()
Returns the Serializable version of the AccessDevice
|
<E extends Response> |
populate() |
String |
toString() |
getBroadWorksServer, hasPopulated, setBroadWorksServer
@NotNull public AccessDeviceLevel deviceLevel
@NotNull @Size(min=1, max=40) public String deviceName
protected AccessDevice(BroadWorksServer bws, AccessDeviceLevel deviceLevel)
bws
- deviceLevel
- public AccessDevice(BroadWorksServer bws, AccessDeviceLevel deviceLevel, String deviceName)
bws
- deviceLevel
- deviceName
- public AccessDevice(BroadWorksServer bws)
bws
- public AccessDeviceLevel getDeviceLevel()
public String getDeviceName()
public static AccessDevice getFromNode(Node node)
node
- public static AccessDevice[] getListFromNode(Node node, String elementName)
node
- elementName
- public static AccessDevice[] getListFromNode(Node[] node)
node
- public <E extends Response> E populate() throws RequestException, BroadWorksObjectException
populate
in class BroadWorksObject
RequestException
BroadWorksObjectException
public AccessDeviceProxy getProxy()
public static AccessDevice fromProxy(BroadWorksServer broadWorksServer, AccessDeviceProxy proxy)
broadWorksServer
- proxy
- Copyright © 2016 ECG, Inc. All rights reserved.