
public class NetworkAdapterInfo extends Object
Java class for NetworkAdapterInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NetworkAdapterInfo">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="adapterName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="adapterDescription" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="mtu" type="{http://www.w3.org/2001/XMLSchema}long"/>
<element name="mac" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="ip" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="dns" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="SubnetMask" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="defaultGateway" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
adapterDescription |
protected String |
adapterName |
protected String |
defaultGateway |
protected List<String> |
dns |
protected List<String> |
ip |
protected String |
mac |
protected long |
mtu |
protected String |
subnetMask |
| Constructor and Description |
|---|
NetworkAdapterInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAdapterDescription()
Gets the value of the adapterDescription property.
|
String |
getAdapterName()
Gets the value of the adapterName property.
|
String |
getDefaultGateway()
Gets the value of the defaultGateway property.
|
List<String> |
getDns()
Gets the value of the dns property.
|
List<String> |
getIp()
Gets the value of the ip property.
|
String |
getMac()
Gets the value of the mac property.
|
long |
getMtu()
Gets the value of the mtu property.
|
String |
getSubnetMask()
Gets the value of the subnetMask property.
|
void |
setAdapterDescription(String value)
Sets the value of the adapterDescription property.
|
void |
setAdapterName(String value)
Sets the value of the adapterName property.
|
void |
setDefaultGateway(String value)
Sets the value of the defaultGateway property.
|
void |
setMac(String value)
Sets the value of the mac property.
|
void |
setMtu(long value)
Sets the value of the mtu property.
|
void |
setSubnetMask(String value)
Sets the value of the subnetMask property.
|
protected String adapterName
protected String adapterDescription
protected long mtu
protected String mac
protected String subnetMask
protected String defaultGateway
public String getAdapterName()
Stringpublic void setAdapterName(String value)
value - allowed object is
Stringpublic String getAdapterDescription()
Stringpublic void setAdapterDescription(String value)
value - allowed object is
Stringpublic long getMtu()
public void setMtu(long value)
public void setMac(String value)
value - allowed object is
Stringpublic List<String> getIp()
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 ip property.
For example, to add a new item, do as follows:
getIp().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<String> getDns()
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 dns property.
For example, to add a new item, do as follows:
getDns().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getSubnetMask()
Stringpublic void setSubnetMask(String value)
value - allowed object is
Stringpublic String getDefaultGateway()
StringCopyright © 2008–2017 MIL-OSS. All rights reserved.