Class WorkoutT
Java class for Workout_t complex type
.The following schema fragment specifies the expected content contained within this class.
<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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AbstractSourceTprotected ExtensionsTYou can extend Training Center by adding your own elements from another schema here.protected Stringprotected Stringprotected List<XMLGregorianCalendar> protected SportTprotected List<AbstractStepT> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the creator property.You can extend Training Center by adding your own elements from another schema here.getName()Gets the value of the name property.getNotes()Gets the value of the notes property.Gets the value of the scheduledOn property.getSport()Gets the value of the sport property.getStep()Gets the value of the step property.voidsetCreator(AbstractSourceT value) Sets the value of the creator property.voidsetExtensions(ExtensionsT value) Sets the value of the extensions property.voidSets the value of the name property.voidSets the value of the notes property.voidSets the value of the sport property.
-
Field Details
-
name
-
step
-
scheduledOn
-
notes
-
creator
-
extensions
You can extend Training Center by adding your own elements from another schema here. -
sport
-
-
Constructor Details
-
WorkoutT
public WorkoutT()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getStep
Gets the value of the step property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the step property.For example, to add a new item, do as follows:
getStep().add(newItem);
Objects of the following type(s) are allowed in the list
AbstractStepT- Returns:
- The value of the step property.
-
getScheduledOn
Gets the value of the scheduledOn property.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 Jakarta XML Binding object. This is why there is not a
setmethod for the scheduledOn property.For example, to add a new item, do as follows:
getScheduledOn().add(newItem);
Objects of the following type(s) are allowed in the list
XMLGregorianCalendar- Returns:
- The value of the scheduledOn property.
-
getNotes
Gets the value of the notes property.- Returns:
- possible object is
String
-
setNotes
Sets the value of the notes property.- Parameters:
value- allowed object isString
-
getCreator
Gets the value of the creator property.- Returns:
- possible object is
AbstractSourceT
-
getExtensions
You can extend Training Center by adding your own elements from another schema here.- Returns:
- possible object is
ExtensionsT
-
getSport
Gets the value of the sport property.- Returns:
- possible object is
SportT
-