xuml.tools.miuml.metamodel.jaxb.Generalization Maven / Gradle / Ivy
Show all versions of miuml-jaxb Show documentation
//
// 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.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.XmlType;
/**
* Java class for Generalization complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Generalization">
* <complexContent>
* <extension base="{http://www.miuml.org/metamodel}Relationship">
* <sequence>
* <element name="SpecializedClass" type="{http://www.miuml.org/metamodel}Named" maxOccurs="unbounded" minOccurs="2"/>
* </sequence>
* <attribute name="Superclass" use="required" type="{http://www.miuml.org/metamodel}Name" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Generalization", propOrder = {
"specializedClass"
})
public class Generalization
extends Relationship
{
@XmlElement(name = "SpecializedClass", required = true)
protected List specializedClass;
@XmlAttribute(name = "Superclass", required = true)
protected String superclass;
/**
* Gets the value of the specializedClass 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 specializedClass property.
*
*
* For example, to add a new item, do as follows:
*
* getSpecializedClass().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Named }
*
*
*/
public List getSpecializedClass() {
if (specializedClass == null) {
specializedClass = new ArrayList();
}
return this.specializedClass;
}
/**
* Gets the value of the superclass property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSuperclass() {
return superclass;
}
/**
* Sets the value of the superclass property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSuperclass(String value) {
this.superclass = value;
}
}