// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.2-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: 2011.08.03 at 06:49:54 AM PDT // package org.ebayopensource.turmeric.common.config; 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 PipelineTreeConfig complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="PipelineTreeConfig"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice maxOccurs="unbounded" minOccurs="0"> * <element name="handler" type="{http://www.ebayopensource.org/turmeric/common/config}HandlerConfig"/> * <element name="chain" type="{http://www.ebayopensource.org/turmeric/common/config}ChainConfig"/> * </choice> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PipelineTreeConfig", propOrder = { "handlerOrChain" }) public class PipelineTreeConfig { @XmlElements({ @XmlElement(name = "chain", type = ChainConfig.class), @XmlElement(name = "handler", type = HandlerConfig.class) }) protected List<Object> handlerOrChain; /** * Gets the value of the handlerOrChain 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 handlerOrChain property. * * <p> * For example, to add a new item, do as follows: * <pre> * getHandlerOrChain().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link ChainConfig } * {@link HandlerConfig } * * */ public List<Object> getHandlerOrChain() { if (handlerOrChain == null) { handlerOrChain = new ArrayList<Object>(); } return this.handlerOrChain; } }