public class AccessDeviceEndpointModify extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected AccessDevice |
accessDevice |
protected com.google.common.base.Optional<String> |
contact |
protected String |
linePort |
protected Integer |
portNumber |
Constructor and Description |
---|
AccessDeviceEndpointModify()
Serializable Constructor
|
AccessDeviceEndpointModify(AccessDevice accessDevice,
String linePort) |
Modifier and Type | Method and Description |
---|---|
static Element |
formRequest(Request<?> request,
AccessDeviceEndpointModify datatype,
String elementName)
Appends this DataType to the given Request
|
AccessDevice |
getAccessDevice() |
static AccessDeviceEndpointModify[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type AccessDeviceEndpointModify by parsing the XML node.
|
com.google.common.base.Optional<String> |
getContact() |
static AccessDeviceEndpointModify |
getFromNode(Node node)
Retrieves an elements of type AccessDeviceEndpointModify by parsing an XML node.
|
String |
getLinePort() |
Integer |
getPortNumber() |
AccessDeviceEndpointModify |
setAccessDevice(AccessDevice accessDevice) |
AccessDeviceEndpointModify |
setContact(String contact) |
AccessDeviceEndpointModify |
setLinePort(String linePort) |
AccessDeviceEndpointModify |
setPortNumber(Integer portNumber) |
@NotNull protected AccessDevice accessDevice
@Pattern(regexp="[a-zA-Z0-9._!~*\'()+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}") @Size(min=1, max=161) protected String linePort
protected com.google.common.base.Optional<String> contact
protected Integer portNumber
public AccessDeviceEndpointModify(AccessDevice accessDevice, String linePort)
public AccessDeviceEndpointModify()
public AccessDevice getAccessDevice()
public AccessDeviceEndpointModify setAccessDevice(AccessDevice accessDevice)
public String getLinePort()
public AccessDeviceEndpointModify setLinePort(String linePort)
public com.google.common.base.Optional<String> getContact()
public AccessDeviceEndpointModify setContact(String contact)
public Integer getPortNumber()
public AccessDeviceEndpointModify setPortNumber(Integer portNumber)
@GwtIncompatible public static Element formRequest(Request<?> request, AccessDeviceEndpointModify datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static AccessDeviceEndpointModify getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static AccessDeviceEndpointModify[] 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.