org.plasma.provisioning.Model Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.12.19 at 03:35:27 PM EST
//
package org.plasma.provisioning;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* A container for packages
*
* Java class for Model complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Model">
* <complexContent>
* <extension base="{http://www.servicelabs.org/plasma/provisioning}Package">
* <sequence>
* <element name="RootClass" type="{http://www.servicelabs.org/plasma/provisioning}ClassRef" minOccurs="0"/>
* <element ref="{http://www.servicelabs.org/plasma/provisioning}Package" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Model", propOrder = {
"rootClass",
"packages"
})
@XmlRootElement(name = "Model")
public class Model
extends Package
{
@XmlElement(name = "RootClass")
protected ClassRef rootClass;
@XmlElement(name = "Package")
protected List packages;
/**
* Gets the value of the rootClass property.
*
* @return
* possible object is
* {@link ClassRef }
*
*/
public ClassRef getRootClass() {
return rootClass;
}
/**
* Sets the value of the rootClass property.
*
* @param value
* allowed object is
* {@link ClassRef }
*
*/
public void setRootClass(ClassRef value) {
this.rootClass = value;
}
/**
* Gets the value of the packages 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 packages property.
*
*
* For example, to add a new item, do as follows:
*
* getPackages().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Package }
*
*
*/
public List getPackages() {
if (packages == null) {
packages = new ArrayList();
}
return this.packages;
}
}