public class TcpIpInfo extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element ref="{http://docs.oasis-open.org/wsdm/mows-2.xsd}IPV4Address"/> <element ref="{http://docs.oasis-open.org/wsdm/mows-2.xsd}IPV6Address"/> </choice> <any/> </sequence> <attribute name="Direction" use="required" type="{http://docs.oasis-open.org/wsdm/mows-2.xsd}TcpIpDirectionType" /> <attribute name="Port" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> <attribute name="Protocol" use="required" type="{http://docs.oasis-open.org/wsdm/mows-2.xsd}TcpIpProtocolType" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
any |
protected TcpIpDirectionType |
direction |
protected byte[] |
ipv4Address |
protected byte[] |
ipv6Address |
protected BigInteger |
port |
protected TcpIpProtocolType |
protocol |
Constructor and Description |
---|
TcpIpInfo() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
TcpIpDirectionType |
getDirection()
Gets the value of the direction property.
|
byte[] |
getIPV4Address()
Gets the value of the ipv4Address property.
|
byte[] |
getIPV6Address()
Gets the value of the ipv6Address property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
BigInteger |
getPort()
Gets the value of the port property.
|
TcpIpProtocolType |
getProtocol()
Gets the value of the protocol property.
|
void |
setDirection(TcpIpDirectionType value)
Sets the value of the direction property.
|
void |
setIPV4Address(byte[] value)
Sets the value of the ipv4Address property.
|
void |
setIPV6Address(byte[] value)
Sets the value of the ipv6Address property.
|
void |
setPort(BigInteger value)
Sets the value of the port property.
|
void |
setProtocol(TcpIpProtocolType value)
Sets the value of the protocol property.
|
protected byte[] ipv4Address
protected byte[] ipv6Address
protected TcpIpDirectionType direction
protected BigInteger port
protected TcpIpProtocolType protocol
public byte[] getIPV4Address()
String
public void setIPV4Address(byte[] value)
value
- allowed object is
String
public byte[] getIPV6Address()
String
public void setIPV6Address(byte[] value)
value
- allowed object is
String
public List<Object> getAny()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Element
Object
public TcpIpDirectionType getDirection()
TcpIpDirectionType
public void setDirection(TcpIpDirectionType value)
value
- allowed object is
TcpIpDirectionType
public BigInteger getPort()
BigInteger
public void setPort(BigInteger value)
value
- allowed object is
BigInteger
public TcpIpProtocolType getProtocol()
TcpIpProtocolType
public void setProtocol(TcpIpProtocolType value)
value
- allowed object is
TcpIpProtocolType
public Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
Copyright © 2008–2017 MIL-OSS. All rights reserved.