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

com.redhat.rhevm.api.model.Storage 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 java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for Storage complex type. * *

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

 * <complexType name="Storage">
 *   <complexContent>
 *     <extension base="{}BaseResource">
 *       <sequence>
 *         <element name="type" type="{}StorageType"/>
 *         <choice>
 *           <group ref="{}NfsStorage"/>
 *           <group ref="{}IscsiStorage"/>
 *         </choice>
 *         <element ref="{}host" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Storage", propOrder = { "type", "address", "path", "logicalUnits", "volumeGroup", "host" }) public class Storage extends BaseResource { @XmlElement(required = true) protected StorageType type; protected String address; protected String path; @XmlElement(name = "logical_unit") protected List logicalUnits; @XmlElement(name = "volume_group") protected VolumeGroup volumeGroup; protected Host host; /** * Gets the value of the type property. * * @return * possible object is * {@link StorageType } * */ public StorageType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link StorageType } * */ public void setType(StorageType value) { this.type = value; } public boolean isSetType() { return (this.type!= null); } /** * 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 path property. * * @return * possible object is * {@link String } * */ public String getPath() { return path; } /** * Sets the value of the path property. * * @param value * allowed object is * {@link String } * */ public void setPath(String value) { this.path = value; } public boolean isSetPath() { return (this.path!= null); } /** * Gets the value of the logicalUnits property. * *

* 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 logicalUnits property. * *

* For example, to add a new item, do as follows: *

     *    getLogicalUnits().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link LogicalUnit } * * */ public List getLogicalUnits() { if (logicalUnits == null) { logicalUnits = new ArrayList(); } return this.logicalUnits; } public boolean isSetLogicalUnits() { return ((this.logicalUnits!= null)&&(!this.logicalUnits.isEmpty())); } public void unsetLogicalUnits() { this.logicalUnits = null; } /** * Gets the value of the volumeGroup property. * * @return * possible object is * {@link VolumeGroup } * */ public VolumeGroup getVolumeGroup() { return volumeGroup; } /** * Sets the value of the volumeGroup property. * * @param value * allowed object is * {@link VolumeGroup } * */ public void setVolumeGroup(VolumeGroup value) { this.volumeGroup = value; } public boolean isSetVolumeGroup() { return (this.volumeGroup!= null); } /** * Gets the value of the host property. * * @return * possible object is * {@link Host } * */ public Host getHost() { return host; } /** * Sets the value of the host property. * * @param value * allowed object is * {@link Host } * */ public void setHost(Host value) { this.host = value; } public boolean isSetHost() { return (this.host!= null); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy