public class RandomPort extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Integer |
port |
protected String |
random |
Constructor and Description |
---|
RandomPort() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Element |
formRequest(Request<?> request,
RandomPort datatype,
String elementName)
Appends this DataType to the given Request
|
static RandomPort[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type RandomPort by parsing the XML node.
|
static RandomPort |
getFromNode(Node node)
Retrieves an elements of type RandomPort by parsing an XML node.
|
Integer |
getPort() |
int |
hashCode() |
boolean |
randomFlagExist() |
RandomPort |
setFlagRandom() |
RandomPort |
setPort(Integer port) |
public boolean randomFlagExist()
public RandomPort setFlagRandom()
public Integer getPort()
public RandomPort setPort(Integer port)
@GwtIncompatible public static Element formRequest(Request<?> request, RandomPort datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static RandomPort getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static RandomPort[] 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.