org.plasma.provisioning
Class Model

java.lang.Object
  extended by org.plasma.provisioning.Element
      extended by org.plasma.provisioning.NamedElement
          extended by org.plasma.provisioning.Package
              extended by 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>
 


Field Summary
protected  List<Package> packages
           
protected  ClassRef rootClass
           
 
Fields inherited from class org.plasma.provisioning.Package
clazzs, documentations, enumerations, uri
 
Fields inherited from class org.plasma.provisioning.NamedElement
alias, derivation, name
 
Fields inherited from class org.plasma.provisioning.Element
id
 
Constructor Summary
Model()
           
 
Method Summary
 List<Package> getPackages()
          Gets the value of the packages property.
 ClassRef getRootClass()
          Gets the value of the rootClass property.
 void setRootClass(ClassRef value)
          Sets the value of the rootClass property.
 
Methods inherited from class org.plasma.provisioning.Package
getClazzs, getDocumentations, getEnumerations, getUri, setUri
 
Methods inherited from class org.plasma.provisioning.NamedElement
getAlias, getDerivation, getName, setAlias, setDerivation, setName
 
Methods inherited from class org.plasma.provisioning.Element
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootClass

protected ClassRef rootClass

packages

protected List<Package> packages
Constructor Detail

Model

public Model()
Method Detail

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.