com.redhat.rhevm.api.model.Host 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Host complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Host">
* <complexContent>
* <extension base="{}BaseResource">
* <sequence>
* <element name="address" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="status" type="{}HostStatus" minOccurs="0"/>
* <element name="cluster" type="{}Cluster" minOccurs="0"/>
* <element name="port" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" minOccurs="0"/>
* <element name="version" type="{}Version" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Host", propOrder = {
"address",
"status",
"cluster",
"port",
"version"
})
public class Host
extends BaseResource
{
protected String address;
protected HostStatus status;
protected Cluster cluster;
@XmlSchemaType(name = "unsignedShort")
protected Integer port;
protected Version version;
/**
* Gets the value of the address property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAddress() {
return address;
}
/**
* Sets the value of the address property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAddress(String value) {
this.address = value;
}
public boolean isSetAddress() {
return (this.address!= null);
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link HostStatus }
*
*/
public HostStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link HostStatus }
*
*/
public void setStatus(HostStatus value) {
this.status = value;
}
public boolean isSetStatus() {
return (this.status!= null);
}
/**
* Gets the value of the cluster property.
*
* @return
* possible object is
* {@link Cluster }
*
*/
public Cluster getCluster() {
return cluster;
}
/**
* Sets the value of the cluster property.
*
* @param value
* allowed object is
* {@link Cluster }
*
*/
public void setCluster(Cluster value) {
this.cluster = value;
}
public boolean isSetCluster() {
return (this.cluster!= null);
}
/**
* Gets the value of the port property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getPort() {
return port;
}
/**
* Sets the value of the port property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setPort(Integer value) {
this.port = value;
}
public boolean isSetPort() {
return (this.port!= null);
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link Version }
*
*/
public Version getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link Version }
*
*/
public void setVersion(Version value) {
this.version = value;
}
public boolean isSetVersion() {
return (this.version!= null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy