public class AccessDeviceKey extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
deviceName |
protected String |
groupId |
protected String |
serviceProviderId |
Constructor and Description |
---|
AccessDeviceKey()
Serializable Constructor
|
AccessDeviceKey(String deviceName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Element |
formRequest(Request<?> request,
AccessDeviceKey datatype,
String elementName)
Appends this DataType to the given Request
|
static AccessDeviceKey[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type AccessDeviceKey by parsing the XML node.
|
String |
getDeviceName() |
static AccessDeviceKey |
getFromNode(Node node)
Retrieves an elements of type AccessDeviceKey by parsing an XML node.
|
String |
getGroupId() |
String |
getServiceProviderId() |
int |
hashCode() |
AccessDeviceKey |
setDeviceName(String deviceName) |
AccessDeviceKey |
setGroupId(String groupId) |
AccessDeviceKey |
setServiceProviderId(String serviceProviderId) |
@Size(min=1, max=30) protected String serviceProviderId
@Size(min=1, max=30) protected String groupId
@NotNull @Size(min=1, max=40) protected String deviceName
public AccessDeviceKey(String deviceName)
public AccessDeviceKey()
public String getServiceProviderId()
public AccessDeviceKey setServiceProviderId(String serviceProviderId)
public String getGroupId()
public AccessDeviceKey setGroupId(String groupId)
public String getDeviceName()
public AccessDeviceKey setDeviceName(String deviceName)
@GwtIncompatible public static Element formRequest(Request<?> request, AccessDeviceKey datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static AccessDeviceKey getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static AccessDeviceKey[] 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.