public class NIC extends BaseDevice
Java class for NIC complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NIC">
<complexContent>
<extension base="{}BaseDevice">
<sequence>
<element ref="{}network" minOccurs="0"/>
<element name="linked" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="interface" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element ref="{}mac" minOccurs="0"/>
<element name="statistics" type="{}Statistics" minOccurs="0"/>
<element name="active" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="plugged" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element ref="{}port_mirroring" minOccurs="0"/>
<element ref="{}reported_devices" minOccurs="0"/>
<element ref="{}vnic_profile" minOccurs="0"/>
<element name="boot_protocol" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="on_boot" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Constructor and Description |
|---|
NIC() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getActive()
Gets the value of the active property.
|
String |
getBootProtocol()
Gets the value of the bootProtocol property.
|
String |
getInterface()
Gets the value of the interface property.
|
Boolean |
getLinked()
Gets the value of the linked property.
|
MAC |
getMac()
Gets the value of the mac property.
|
Network |
getNetwork()
Gets the value of the network property.
|
Boolean |
getOnBoot()
Gets the value of the onBoot property.
|
Boolean |
getPlugged()
Gets the value of the plugged property.
|
PortMirroring |
getPortMirroring()
Gets the value of the portMirroring property.
|
Object |
getReportedDevices()
Gets the value of the reportedDevices property.
|
Object |
getStatistics()
Gets the value of the statistics property.
|
VnicProfile |
getVnicProfile()
Gets the value of the vnicProfile property.
|
boolean |
isSetActive() |
boolean |
isSetBootProtocol() |
boolean |
isSetInterface() |
boolean |
isSetLinked() |
boolean |
isSetMac() |
boolean |
isSetNetwork() |
boolean |
isSetOnBoot() |
boolean |
isSetPlugged() |
boolean |
isSetPortMirroring() |
boolean |
isSetReportedDevices() |
boolean |
isSetStatistics() |
boolean |
isSetVnicProfile() |
void |
setActive(Boolean value)
Sets the value of the active property.
|
void |
setBootProtocol(String value)
Sets the value of the bootProtocol property.
|
void |
setInterface(String value)
Sets the value of the interface property.
|
void |
setLinked(Boolean value)
Sets the value of the linked property.
|
void |
setMac(MAC value)
Sets the value of the mac property.
|
void |
setNetwork(Network value)
Sets the value of the network property.
|
void |
setOnBoot(Boolean value)
Sets the value of the onBoot property.
|
void |
setPlugged(Boolean value)
Sets the value of the plugged property.
|
void |
setPortMirroring(PortMirroring value)
Sets the value of the portMirroring property.
|
void |
setReportedDevices(ReportedDevices value)
Sets the value of the reportedDevices property.
|
void |
setStatistics(Statistics value)
Sets the value of the statistics property.
|
void |
setVnicProfile(VnicProfile value)
Sets the value of the vnicProfile property.
|
getTemplate, getVm, isSetTemplate, isSetVm, setTemplate, setVmgetComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic Network getNetwork()
Networkpublic void setNetwork(Network value)
value - allowed object is
Networkpublic boolean isSetNetwork()
public Boolean getLinked()
Booleanpublic void setLinked(Boolean value)
value - allowed object is
Booleanpublic boolean isSetLinked()
public String getInterface()
Stringpublic void setInterface(String value)
value - allowed object is
Stringpublic boolean isSetInterface()
public void setMac(MAC value)
value - allowed object is
MACpublic boolean isSetMac()
public Object getStatistics()
Statisticspublic void setStatistics(Statistics value)
value - allowed object is
Statisticspublic boolean isSetStatistics()
public Boolean getActive()
Booleanpublic void setActive(Boolean value)
value - allowed object is
Booleanpublic boolean isSetActive()
public Boolean getPlugged()
Booleanpublic void setPlugged(Boolean value)
value - allowed object is
Booleanpublic boolean isSetPlugged()
public PortMirroring getPortMirroring()
PortMirroringpublic void setPortMirroring(PortMirroring value)
value - allowed object is
PortMirroringpublic boolean isSetPortMirroring()
public Object getReportedDevices()
ReportedDevicespublic void setReportedDevices(ReportedDevices value)
value - allowed object is
ReportedDevicespublic boolean isSetReportedDevices()
public VnicProfile getVnicProfile()
VnicProfilepublic void setVnicProfile(VnicProfile value)
value - allowed object is
VnicProfilepublic boolean isSetVnicProfile()
public String getBootProtocol()
Stringpublic void setBootProtocol(String value)
value - allowed object is
Stringpublic boolean isSetBootProtocol()
public Boolean getOnBoot()
Booleanpublic void setOnBoot(Boolean value)
value - allowed object is
Booleanpublic boolean isSetOnBoot()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0