All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xuml.tools.miuml.metamodel.jaxb.Class Maven / Gradle / Ivy

Go to download

Contains miUML metamodel schema and xuml-tools extensions schema and generates JAXB classes from those schemas.

There is a newer version: 0.6
Show newest version
//
// 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: 2015.10.09 at 07:15:51 PM AEDT 
//


package xuml.tools.miuml.metamodel.jaxb;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
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.XmlElementRef;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 * 				R23 to SpecializedClass and NonSpecializedClass has
 * 				been collapsed into
 * 				Class because this distinction is captured by
 * 				GeneralizationReferences/SpecializationReferences on the attributes
 * 				of the class.
 * 			
 * 
 * R14
 * 
 * 

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://www.miuml.org/metamodel}SubsystemElement">
 *       <sequence>
 *         <element ref="{http://www.miuml.org/metamodel}Attribute" maxOccurs="unbounded"/>
 *         <element ref="{http://www.miuml.org/metamodel}Lifecycle" minOccurs="0"/>
 *         <element name="Extension" type="{http://www.miuml.org/metamodel}Extension" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="Name" use="required" type="{http://www.miuml.org/metamodel}Name" />
 *       <attribute name="Cnum" type="{http://www.miuml.org/metamodel}Cnum" />
 *       <attribute name="Alias" type="{http://www.miuml.org/metamodel}Alias" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Class", propOrder = { "attribute", "lifecycle", "extension" }) public class Class extends SubsystemElement { @XmlElementRef(name = "Attribute", namespace = "http://www.miuml.org/metamodel", type = JAXBElement.class) protected List> attribute; @XmlElement(name = "Lifecycle") protected Lifecycle lifecycle; @XmlElement(name = "Extension") protected List extension; @XmlAttribute(name = "Name", required = true) protected String name; @XmlAttribute(name = "Cnum") protected BigInteger cnum; @XmlAttribute(name = "Alias") protected String alias; /** * R20 Gets the value of the attribute 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 attribute property. * *

* For example, to add a new item, do as follows: *

     *    getAttribute().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link ReferentialAttribute }{@code >} * {@link JAXBElement }{@code <}{@link IndependentAttribute }{@code >} * {@link JAXBElement }{@code <}{@link Attribute }{@code >} * {@link JAXBElement }{@code <}{@link DerivedAttribute }{@code >} * {@link JAXBElement }{@code <}{@link NativeAttribute }{@code >} * * */ public List> getAttribute() { if (attribute == null) { attribute = new ArrayList>(); } return this.attribute; } /** * R500 * * @return * possible object is * {@link Lifecycle } * */ public Lifecycle getLifecycle() { return lifecycle; } /** * Sets the value of the lifecycle property. * * @param value * allowed object is * {@link Lifecycle } * */ public void setLifecycle(Lifecycle value) { this.lifecycle = value; } /** * Gets the value of the extension 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 extension property. * *

* For example, to add a new item, do as follows: *

     *    getExtension().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Extension } * * */ public List getExtension() { if (extension == null) { extension = new ArrayList(); } return this.extension; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the cnum property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getCnum() { return cnum; } /** * Sets the value of the cnum property. * * @param value * allowed object is * {@link BigInteger } * */ public void setCnum(BigInteger value) { this.cnum = value; } /** * Gets the value of the alias property. * * @return * possible object is * {@link String } * */ public String getAlias() { return alias; } /** * Sets the value of the alias property. * * @param value * allowed object is * {@link String } * */ public void setAlias(String value) { this.alias = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy