org.plasma.metamodel.Class 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.06.19 at 08:11:07 PM 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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* A class definition
*
* Java class for Class complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Class">
* <complexContent>
* <extension base="{http://plasma.org/metamodel}Type">
* <sequence>
* <element ref="{http://plasma.org/metamodel}Documentation" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://plasma.org/metamodel}ClassProvisioning" minOccurs="0"/>
* <element ref="{http://plasma.org/metamodel}Property" maxOccurs="unbounded"/>
* <element name="SuperClass" type="{http://plasma.org/metamodel}ClassRef" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://plasma.org/metamodel}Behavior" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Class", propOrder = {
"documentations",
"classProvisioning",
"properties",
"superClasses",
"behaviors"
})
@XmlRootElement(name = "Class")
public class Class
extends Type
{
@XmlElement(name = "Documentation")
protected List documentations;
@XmlElement(name = "ClassProvisioning")
protected ClassProvisioning classProvisioning;
@XmlElement(name = "Property", required = true)
protected List properties;
@XmlElement(name = "SuperClass")
protected List superClasses;
@XmlElement(name = "Behavior")
protected List behaviors;
@XmlAttribute(name = "uri", required = true)
protected String uri;
@XmlAttribute(name = "abstract")
protected Boolean _abstract;
/**
* 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 classProvisioning property.
*
* @return
* possible object is
* {@link ClassProvisioning }
*
*/
public ClassProvisioning getClassProvisioning() {
return classProvisioning;
}
/**
* Sets the value of the classProvisioning property.
*
* @param value
* allowed object is
* {@link ClassProvisioning }
*
*/
public void setClassProvisioning(ClassProvisioning value) {
this.classProvisioning = value;
}
/**
* Gets the value of the properties 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 properties property.
*
*
* For example, to add a new item, do as follows:
*
* getProperties().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Property }
*
*
*/
public List getProperties() {
if (properties == null) {
properties = new ArrayList();
}
return this.properties;
}
/**
* Gets the value of the superClasses 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 superClasses property.
*
*
* For example, to add a new item, do as follows:
*
* getSuperClasses().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ClassRef }
*
*
*/
public List getSuperClasses() {
if (superClasses == null) {
superClasses = new ArrayList();
}
return this.superClasses;
}
/**
* Gets the value of the behaviors 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 behaviors property.
*
*
* For example, to add a new item, do as follows:
*
* getBehaviors().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Behavior }
*
*
*/
public List getBehaviors() {
if (behaviors == null) {
behaviors = new ArrayList();
}
return this.behaviors;
}
/**
* 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;
}
/**
* Gets the value of the abstract property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isAbstract() {
if (_abstract == null) {
return false;
} else {
return _abstract;
}
}
/**
* Sets the value of the abstract property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAbstract(Boolean value) {
this._abstract = value;
}
}