//
// 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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
import java.util.ArrayList;
import java.util.List;
/**
* <p>Java class for Workout_t complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="Workout_t">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Name" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}RestrictedToken_t"/>
* <element name="Step" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractStep_t" maxOccurs="unbounded"/>
* <element name="ScheduledOn" type="{http://www.w3.org/2001/XMLSchema}date" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Creator" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractSource_t" minOccurs="0"/>
* <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
* </sequence>
* <attribute name="Sport" use="required" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Sport_t" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Workout_t", propOrder = {
"name",
"step",
"scheduledOn",
"notes",
"creator",
"extensions"
})
public class WorkoutT {
@XmlElement(name = "Name", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String name;
@XmlElement(name = "Step", required = true)
protected List<AbstractStepT> step;
@XmlElement(name = "ScheduledOn")
@XmlSchemaType(name = "date")
protected List<XMLGregorianCalendar> scheduledOn;
@XmlElement(name = "Notes")
protected String notes;
@XmlElement(name = "Creator")
protected AbstractSourceT creator;
@XmlElement(name = "Extensions")
protected ExtensionsT extensions;
@XmlAttribute(name = "Sport", required = true)
protected SportT sport;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the step 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 step property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getStep().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AbstractStepT }
*
*
*/
public List<AbstractStepT> getStep() {
if (step == null) {
step = new ArrayList<>();
}
return this.step;
}
/**
* Gets the value of the scheduledOn 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 scheduledOn property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getScheduledOn().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link XMLGregorianCalendar }
*
*
*/
public List<XMLGregorianCalendar> getScheduledOn() {
if (scheduledOn == null) {
scheduledOn = new ArrayList<>();
}
return this.scheduledOn;
}
/**
* Gets the value of the notes property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNotes() {
return notes;
}
/**
* Sets the value of the notes property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNotes(String value) {
this.notes = value;
}
/**
* Gets the value of the creator property.
*
* @return
* possible object is
* {@link AbstractSourceT }
*
*/
public AbstractSourceT getCreator() {
return creator;
}
/**
* Sets the value of the creator property.
*
* @param value
* allowed object is
* {@link AbstractSourceT }
*
*/
public void setCreator(AbstractSourceT value) {
this.creator = value;
}
/**
* Gets the value of the extensions property.
*
* @return
* possible object is
* {@link ExtensionsT }
*
*/
public ExtensionsT getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link ExtensionsT }
*
*/
public void setExtensions(ExtensionsT value) {
this.extensions = value;
}
/**
* Gets the value of the sport property.
*
* @return
* possible object is
* {@link SportT }
*
*/
public SportT getSport() {
return sport;
}
/**
* Sets the value of the sport property.
*
* @param value
* allowed object is
* {@link SportT }
*
*/
public void setSport(SportT value) {
this.sport = value;
}
}