public class AccessDeviceEndpointAdd extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected AccessDevice |
accessDevice |
protected String |
contact |
protected String |
linePort |
protected Integer |
portNumber |
Constructor and Description |
---|
AccessDeviceEndpointAdd()
Serializable Constructor
|
AccessDeviceEndpointAdd(AccessDevice accessDevice,
String linePort) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Element |
formRequest(Request<?> request,
AccessDeviceEndpointAdd datatype,
String elementName)
Appends this DataType to the given Request
|
AccessDevice |
getAccessDevice() |
static AccessDeviceEndpointAdd[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type AccessDeviceEndpointAdd by parsing the XML node.
|
String |
getContact() |
static AccessDeviceEndpointAdd |
getFromNode(Node node)
Retrieves an elements of type AccessDeviceEndpointAdd by parsing an XML node.
|
String |
getLinePort() |
Integer |
getPortNumber() |
int |
hashCode() |
AccessDeviceEndpointAdd |
setAccessDevice(AccessDevice accessDevice) |
AccessDeviceEndpointAdd |
setContact(String contact) |
AccessDeviceEndpointAdd |
setLinePort(String linePort) |
AccessDeviceEndpointAdd |
setPortNumber(Integer portNumber) |
@NotNull protected AccessDevice accessDevice
@NotNull @Pattern(regexp="[a-zA-Z0-9._!~*\'()+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}") @Size(min=1, max=161) protected String linePort
@Size(min=1, max=1020) protected String contact
protected Integer portNumber
public AccessDeviceEndpointAdd(AccessDevice accessDevice, String linePort)
public AccessDeviceEndpointAdd()
public AccessDevice getAccessDevice()
public AccessDeviceEndpointAdd setAccessDevice(AccessDevice accessDevice)
public String getLinePort()
public AccessDeviceEndpointAdd setLinePort(String linePort)
public String getContact()
public AccessDeviceEndpointAdd setContact(String contact)
public Integer getPortNumber()
public AccessDeviceEndpointAdd setPortNumber(Integer portNumber)
@GwtIncompatible public static Element formRequest(Request<?> request, AccessDeviceEndpointAdd datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static AccessDeviceEndpointAdd getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static AccessDeviceEndpointAdd[] getArrayFromNode(Node node, String elementName)
node
- The source node to retrieve the array.elementName
- The element name to iterate through.Copyright © 2017 ECG. All rights reserved.