package org.objectweb.type_test.types; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.AccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlType; import org.objectweb.type_test.types.OccuringStruct1; /** * <p>Java class for OccuringStruct1 complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="OccuringStruct1"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence maxOccurs="unbounded" minOccurs="0"> * <element name="varFloat" type="{http://www.w3.org/2001/XMLSchema}float"/> * <element name="varInt" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="10"/> * <element name="varString" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(AccessType.FIELD) @XmlType(name = "OccuringStruct1", propOrder = { "varFloatAndVarIntAndVarString" }) public class OccuringStruct1 { @XmlElements({ @XmlElement(name = "varFloat", namespace = "http://objectweb.org/type_test/types", type = Float.class, nillable = true), @XmlElement(name = "varString", namespace = "http://objectweb.org/type_test/types", type = String.class), @XmlElement(name = "varInt", namespace = "http://objectweb.org/type_test/types", type = Integer.class) }) protected List<Serializable> varFloatAndVarIntAndVarString; /** * Gets the value of the varFloatAndVarIntAndVarString 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 varFloatAndVarIntAndVarString property. * * <p> * For example, to add a new item, do as follows: * <pre> * getVarFloatAndVarIntAndVarString().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Float } * {@link String } * {@link Integer } * * */ public List<Serializable> getVarFloatAndVarIntAndVarString() { if (varFloatAndVarIntAndVarString == null) { varFloatAndVarIntAndVarString = new ArrayList<Serializable>(); } return this.varFloatAndVarIntAndVarString; } }