/* * (c) Copyright 2010-2011 AgileBirds * * This file is part of OpenFlexo. * * OpenFlexo is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * OpenFlexo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with OpenFlexo. If not, see <http://www.gnu.org/licenses/>. * */ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs // 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: 2008.02.08 at 10:43:57 AM CET // package org.oasis_open.docs.wsbpel._2_0.process.executable; 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; /** * * XSD Authors: The child element onAlarm needs to be a Local Element Declaration, because there is another onAlarm element defined for * event handlers. * * * <p> * Java class for tPick complex type. * * <p> * The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="tPick"> * <complexContent> * <extension base="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tActivity"> * <sequence> * <element ref="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}onMessage" maxOccurs="unbounded"/> * <element name="onAlarm" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tOnAlarmPick" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="createInstance" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tBoolean" default="no" /> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "tPick", propOrder = { "onMessage", "onAlarm" }) public class TPick extends TActivity { @XmlElement(required = true) protected List<TOnMessage> onMessage; protected List<TOnAlarmPick> onAlarm; @XmlAttribute protected TBoolean createInstance; /** * Gets the value of the onMessage 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 onMessage property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getOnMessage().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list {@link TOnMessage } * * */ public List<TOnMessage> getOnMessage() { if (onMessage == null) { onMessage = new ArrayList<TOnMessage>(); } return this.onMessage; } /** * 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 TOnAlarmPick } * * */ public List<TOnAlarmPick> getOnAlarm() { if (onAlarm == null) { onAlarm = new ArrayList<TOnAlarmPick>(); } return this.onAlarm; } /** * Gets the value of the createInstance property. * * @return possible object is {@link TBoolean } * */ public TBoolean getCreateInstance() { if (createInstance == null) { return TBoolean.NO; } else { return createInstance; } } /** * Sets the value of the createInstance property. * * @param value * allowed object is {@link TBoolean } * */ public void setCreateInstance(TBoolean value) { this.createInstance = value; } }