com.redhat.rhevm.api.model.NIC Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2010.09.27 at 07:29:49 PM IST
//
package com.redhat.rhevm.api.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* 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="type" type="{}NicType" minOccurs="0"/>
* <element ref="{}mac" minOccurs="0"/>
* <element ref="{}ip" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NIC", propOrder = {
"network",
"type",
"mac",
"ip"
})
public class NIC
extends BaseDevice
{
protected Network network;
protected NicType type;
protected MAC mac;
protected IP ip;
/**
* Gets the value of the network property.
*
* @return
* possible object is
* {@link Network }
*
*/
public Network getNetwork() {
return network;
}
/**
* Sets the value of the network property.
*
* @param value
* allowed object is
* {@link Network }
*
*/
public void setNetwork(Network value) {
this.network = value;
}
public boolean isSetNetwork() {
return (this.network!= null);
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link NicType }
*
*/
public NicType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link NicType }
*
*/
public void setType(NicType value) {
this.type = value;
}
public boolean isSetType() {
return (this.type!= null);
}
/**
* Gets the value of the mac property.
*
* @return
* possible object is
* {@link MAC }
*
*/
public MAC getMac() {
return mac;
}
/**
* Sets the value of the mac property.
*
* @param value
* allowed object is
* {@link MAC }
*
*/
public void setMac(MAC value) {
this.mac = value;
}
public boolean isSetMac() {
return (this.mac!= null);
}
/**
* Gets the value of the ip property.
*
* @return
* possible object is
* {@link IP }
*
*/
public IP getIp() {
return ip;
}
/**
* Sets the value of the ip property.
*
* @param value
* allowed object is
* {@link IP }
*
*/
public void setIp(IP value) {
this.ip = value;
}
public boolean isSetIp() {
return (this.ip!= null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy