// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2010.12.10 at 11:11:33 PM GMT // package org.savara.bpel.model; 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.XmlType; /** * * XSD Authors: The child element onAlarm needs to be a Local Element Declaration, * because there is another onAlarm element defined for the pick activity. * * * <p>Java class for tEventHandlers complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="tEventHandlers"> * <complexContent> * <extension base="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tExtensibleElements"> * <sequence> * <element ref="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}onEvent" maxOccurs="unbounded" minOccurs="0"/> * <element name="onAlarm" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tOnAlarmEvent" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <anyAttribute processContents='lax' namespace='##other'/> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "tEventHandlers", propOrder = { "onEvent", "onAlarm" }) public class TEventHandlers extends TExtensibleElements { protected List<TOnEvent> onEvent; protected List<TOnAlarmEvent> onAlarm; /** * Gets the value of the onEvent property. * * <p> * 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 <CODE>set</CODE> method for the onEvent property. * * <p> * For example, to add a new item, do as follows: * <pre> * getOnEvent().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TOnEvent } * * */ public List<TOnEvent> getOnEvent() { if (onEvent == null) { onEvent = new ArrayList<TOnEvent>(); } return this.onEvent; } /** * Gets the value of the onAlarm property. * * <p> * 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 <CODE>set</CODE> method for the onAlarm property. * * <p> * For example, to add a new item, do as follows: * <pre> * getOnAlarm().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TOnAlarmEvent } * * */ public List<TOnAlarmEvent> getOnAlarm() { if (onAlarm == null) { onAlarm = new ArrayList<TOnAlarmEvent>(); } return this.onAlarm; } }