/* * (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: 2007.11.06 at 03:26:51 PM CET // package org.xmlsoap.schemas.ws._2004._03.business_process; 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.XmlElement; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlType; /** * <p> * Java class for tSequence complex type. * * <p> * The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="tSequence"> * <complexContent> * <extension base="{http://schemas.xmlsoap.org/ws/2004/03/business-process/}tActivity"> * <sequence> * <group ref="{http://schemas.xmlsoap.org/ws/2004/03/business-process/}activity" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "tSequence", propOrder = { "activity" }) public class TSequence extends TActivity { @XmlElements({ @XmlElement(name = "pick", type = TPick.class), @XmlElement(name = "while", type = TWhile.class), @XmlElement(name = "rethrow", type = TRethrow.class), @XmlElement(name = "invoke", type = TInvoke.class), @XmlElement(name = "receive", type = TReceive.class), @XmlElement(name = "compensateScope", type = TCompensateScope.class), @XmlElement(name = "repeatUntil", type = TRepeatUntil.class), @XmlElement(name = "if", type = TIf.class), @XmlElement(name = "flow", type = TFlow.class), @XmlElement(name = "forEach", type = TForEach.class), @XmlElement(name = "exit", type = TExit.class), @XmlElement(name = "wait", type = TWait.class), @XmlElement(name = "opaqueActivity", type = TOpaqueActivity.class), @XmlElement(name = "scope", type = TScope.class), @XmlElement(name = "extensionActivity", type = TExtensionActivity.class), @XmlElement(name = "reply", type = TReply.class), @XmlElement(name = "assign", type = TAssign.class), @XmlElement(name = "sequence", type = TSequence.class), @XmlElement(name = "compensate", type = TCompensate.class), @XmlElement(name = "validate", type = TValidate.class), @XmlElement(name = "throw", type = TThrow.class), @XmlElement(name = "empty", type = TEmpty.class) }) protected List<Object> activity; /** * Gets the value of the activity 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 activity property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getActivity().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list {@link TPick } {@link TWhile } {@link TRethrow } {@link TInvoke } * {@link TReceive } {@link TCompensateScope } {@link TRepeatUntil } {@link TIf } {@link TFlow } {@link TForEach } {@link TExit } {@link TWait } * {@link TOpaqueActivity } {@link TScope } {@link TExtensionActivity } {@link TReply } {@link TAssign } {@link TSequence } * {@link TCompensate } {@link TValidate } {@link TThrow } {@link TEmpty } * * */ public List<Object> getActivity() { if (activity == null) { activity = new ArrayList<Object>(); } return this.activity; } }