org.plasma.provisioning
Class Model
java.lang.Object
org.plasma.provisioning.Element
org.plasma.provisioning.NamedElement
org.plasma.provisioning.Package
org.plasma.provisioning.Model
public class Model
- extends Package
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>
| Fields inherited from class org.plasma.provisioning.Element |
id |
|
Constructor Summary |
Model()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rootClass
protected ClassRef rootClass
packages
protected List<Package> packages
Model
public Model()
getRootClass
public ClassRef getRootClass()
- Gets the value of the rootClass property.
- Returns:
- possible object is
ClassRef
setRootClass
public void setRootClass(ClassRef value)
- Sets the value of the rootClass property.
- Parameters:
value - allowed object is
ClassRef
getPackages
public List<Package> getPackages()
- 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
Package
Copyright © 2014. All rights reserved.