// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-646 // 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.06.30 at 10:09:49 AM MESZ // package slash.navigation.tcx.binding2; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import java.util.ArrayList; import java.util.List; /** * <p>Java class for Repeat_t complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="Repeat_t"> * <complexContent> * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractStep_t"> * <sequence> * <element name="Repetitions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Repetitions_t"/> * <element name="Child" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractStep_t" maxOccurs="unbounded"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Repeat_t", propOrder = { "repetitions", "child" }) public class RepeatT extends AbstractStepT { @XmlElement(name = "Repetitions") protected int repetitions; @XmlElement(name = "Child", required = true) protected List<AbstractStepT> child; /** * Gets the value of the repetitions property. * */ public int getRepetitions() { return repetitions; } /** * Sets the value of the repetitions property. * */ public void setRepetitions(int value) { this.repetitions = value; } /** * Gets the value of the child 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 child property. * * <p> * For example, to add a new item, do as follows: * <pre> * getChild().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link AbstractStepT } * * */ public List<AbstractStepT> getChild() { if (child == null) { child = new ArrayList<>(); } return this.child; } }