public class AccessDevice extends BroadWorksObject
Modifier and Type | Field and Description |
---|---|
protected AccessDeviceLevel |
deviceLevel |
protected String |
deviceName |
broadWorksServer, populated
Modifier | Constructor and Description |
---|---|
|
AccessDevice()
Serializable Constructor
|
|
AccessDevice(BroadWorksServer broadWorksServer)
Call used primarily for Node Parsing
|
protected |
AccessDevice(BroadWorksServer broadWorksServer,
AccessDeviceLevel deviceLevel)
Creates an Access Device
|
|
AccessDevice(BroadWorksServer broadWorksServer,
AccessDeviceLevel deviceLevel,
String deviceName)
Creates an Access Device while specifying the Device Name
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Element |
formRequest(Request<?> request,
AccessDevice datatype,
String elementName) |
static AccessDevice[] |
getArrayFromNode(Node[] node)
Gets an array of Access Devices from the BroadWorks Node
|
static AccessDevice[] |
getArrayFromNode(Node node,
String elementName)
Gets an array of Access Devices from the BroadWorks Node
|
String |
getClassName() |
AccessDeviceLevel |
getDeviceLevel() |
String |
getDeviceName() |
static AccessDevice |
getFromNode(Node node)
Retrieves an Access Device from a BroadWorks Response Node
|
int |
hashCode() |
<E extends Response> |
populate() |
AccessDevice |
setDeviceLevel(AccessDeviceLevel deviceLevel) |
AccessDevice |
setDeviceName(String deviceName) |
String |
toString() |
getBroadWorksServer, hasPopulated, isPopulated, setBroadWorksServer, setPopulated
@NotNull protected AccessDeviceLevel deviceLevel
@NotNull @Size(min=1, max=40) protected String deviceName
protected AccessDevice(BroadWorksServer broadWorksServer, AccessDeviceLevel deviceLevel)
broadWorksServer
- deviceLevel
- public AccessDevice(BroadWorksServer broadWorksServer, AccessDeviceLevel deviceLevel, String deviceName)
broadWorksServer
- deviceLevel
- deviceName
- public AccessDevice()
public AccessDevice(BroadWorksServer broadWorksServer)
broadWorksServer
- public String getClassName()
public AccessDeviceLevel getDeviceLevel()
public AccessDevice setDeviceLevel(AccessDeviceLevel deviceLevel)
public String getDeviceName()
public AccessDevice setDeviceName(String deviceName)
@GwtIncompatible public static AccessDevice getFromNode(Node node)
node
- @GwtIncompatible public static AccessDevice[] getArrayFromNode(Node node, String elementName)
node
- elementName
- @GwtIncompatible public static AccessDevice[] getArrayFromNode(Node[] node)
node
- elementName
- @GwtIncompatible public <E extends Response> E populate() throws RequestException, BroadWorksObjectException
populate
in class BroadWorksObject
RequestException
BroadWorksObjectException
@GwtIncompatible public static Element formRequest(Request<?> request, AccessDevice datatype, String elementName)
Copyright © 2016 ECG. All rights reserved.