org.plasma.metamodel.Package Maven / Gradle / Ivy
Show all versions of plasma-metamodel Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.09.01 at 08:32:59 AM MST
//
package org.plasma.metamodel;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* A package
*
* Java class for Package complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Package">
* <complexContent>
* <extension base="{http://plasma.org/metamodel}NamedElement">
* <sequence>
* <element ref="{http://plasma.org/metamodel}Documentation" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://plasma.org/metamodel}NamespaceProvisioning" minOccurs="0"/>
* <element ref="{http://plasma.org/metamodel}Class" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://plasma.org/metamodel}Enumeration" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://plasma.org/metamodel}Package" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Package", propOrder = {
"documentations",
"namespaceProvisioning",
"clazzs",
"enumerations",
"packages"
})
@XmlSeeAlso({
Model.class
})
public class Package
extends NamedElement
{
@XmlElement(name = "Documentation")
protected List documentations;
@XmlElement(name = "NamespaceProvisioning")
protected NamespaceProvisioning namespaceProvisioning;
@XmlElement(name = "Class")
protected List clazzs;
@XmlElement(name = "Enumeration")
protected List enumerations;
@XmlElement(name = "Package")
protected List packages;
@XmlAttribute(name = "uri", required = true)
protected String uri;
/**
* Gets the value of the documentations 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 documentations property.
*
*
* For example, to add a new item, do as follows:
*
* getDocumentations().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Documentation }
*
*
*/
public List getDocumentations() {
if (documentations == null) {
documentations = new ArrayList();
}
return this.documentations;
}
/**
* Gets the value of the namespaceProvisioning property.
*
* @return
* possible object is
* {@link NamespaceProvisioning }
*
*/
public NamespaceProvisioning getNamespaceProvisioning() {
return namespaceProvisioning;
}
/**
* Sets the value of the namespaceProvisioning property.
*
* @param value
* allowed object is
* {@link NamespaceProvisioning }
*
*/
public void setNamespaceProvisioning(NamespaceProvisioning value) {
this.namespaceProvisioning = value;
}
/**
* Gets the value of the clazzs 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 clazzs property.
*
*
* For example, to add a new item, do as follows:
*
* getClazzs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Class }
*
*
*/
public List getClazzs() {
if (clazzs == null) {
clazzs = new ArrayList();
}
return this.clazzs;
}
/**
* Gets the value of the enumerations 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 enumerations property.
*
*
* For example, to add a new item, do as follows:
*
* getEnumerations().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Enumeration }
*
*
*/
public List getEnumerations() {
if (enumerations == null) {
enumerations = new ArrayList();
}
return this.enumerations;
}
/**
* 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;
}
/**
* Gets the value of the uri property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUri() {
return uri;
}
/**
* Sets the value of the uri property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUri(String value) {
this.uri = value;
}
}