All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.redhat.rhevm.api.model.Template Maven / Gradle / Ivy

There is a newer version: 1.0-rc1.21
Show newest version
//
// 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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <extension base="{}BaseResource">
 *       <sequence>
 *         <element ref="{}vm" minOccurs="0"/>
 *         <element name="type" type="{}VmType" minOccurs="0"/>
 *         <element name="status" type="{}TemplateStatus" minOccurs="0"/>
 *         <element name="memory" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         <element name="cpu" type="{}CPU" minOccurs="0"/>
 *         <element name="os" type="{}OperatingSystem" minOccurs="0"/>
 *         <element ref="{}cluster" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "vm", "type", "status", "memory", "cpu", "os", "cluster" }) @XmlRootElement(name = "template") public class Template extends BaseResource { protected VM vm; protected VmType type; protected TemplateStatus status; protected Long memory; protected CPU cpu; protected OperatingSystem os; protected Cluster cluster; /** * Gets the value of the vm property. * * @return * possible object is * {@link VM } * */ public VM getVm() { return vm; } /** * Sets the value of the vm property. * * @param value * allowed object is * {@link VM } * */ public void setVm(VM value) { this.vm = value; } public boolean isSetVm() { return (this.vm!= null); } /** * Gets the value of the type property. * * @return * possible object is * {@link VmType } * */ public VmType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link VmType } * */ public void setType(VmType value) { this.type = value; } public boolean isSetType() { return (this.type!= null); } /** * Gets the value of the status property. * * @return * possible object is * {@link TemplateStatus } * */ public TemplateStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link TemplateStatus } * */ public void setStatus(TemplateStatus value) { this.status = value; } public boolean isSetStatus() { return (this.status!= null); } /** * Gets the value of the memory property. * * @return * possible object is * {@link Long } * */ public Long getMemory() { return memory; } /** * Sets the value of the memory property. * * @param value * allowed object is * {@link Long } * */ public void setMemory(Long value) { this.memory = value; } public boolean isSetMemory() { return (this.memory!= null); } /** * Gets the value of the cpu property. * * @return * possible object is * {@link CPU } * */ public CPU getCpu() { return cpu; } /** * Sets the value of the cpu property. * * @param value * allowed object is * {@link CPU } * */ public void setCpu(CPU value) { this.cpu = value; } public boolean isSetCpu() { return (this.cpu!= null); } /** * Gets the value of the os property. * * @return * possible object is * {@link OperatingSystem } * */ public OperatingSystem getOs() { return os; } /** * Sets the value of the os property. * * @param value * allowed object is * {@link OperatingSystem } * */ public void setOs(OperatingSystem value) { this.os = value; } public boolean isSetOs() { return (this.os!= 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); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy