xuml.tools.miuml.metamodel.jaxb.StateModel 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.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for StateModel complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StateModel">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="State" type="{http://www.miuml.org/metamodel}State" maxOccurs="unbounded"/>
* <element ref="{http://www.miuml.org/metamodel}Event" maxOccurs="unbounded"/>
* <element name="Transition" type="{http://www.miuml.org/metamodel}Transition" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StateModel", propOrder = {
"state",
"event",
"transition"
})
@XmlSeeAlso({
Lifecycle.class,
Assigner.class
})
public class StateModel {
@XmlElement(name = "State", required = true)
protected List state;
@XmlElementRef(name = "Event", namespace = "http://www.miuml.org/metamodel", type = JAXBElement.class)
protected List> event;
@XmlElement(name = "Transition")
protected List transition;
/**
* Gets the value of the state 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 state property.
*
*
* For example, to add a new item, do as follows:
*
* getState().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link State }
*
*
*/
public List getState() {
if (state == null) {
state = new ArrayList();
}
return this.state;
}
/**
*
* R565+R550+R558+R561+R560,
* R565+R550+R557+R554+R560
* Gets the value of the event 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 event property.
*
*
* For example, to add a new item, do as follows:
*
* getEvent().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link CreationEvent }{@code >}
* {@link JAXBElement }{@code <}{@link Event }{@code >}
* {@link JAXBElement }{@code <}{@link LocalEffectiveSignalingEvent }{@code >}
*
*
*/
public List> getEvent() {
if (event == null) {
event = new ArrayList>();
}
return this.event;
}
/**
* Gets the value of the transition 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 transition property.
*
*
* For example, to add a new item, do as follows:
*
* getTransition().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Transition }
*
*
*/
public List getTransition() {
if (transition == null) {
transition = new ArrayList();
}
return this.transition;
}
}