Class WorkoutT
- All Implemented Interfaces:
Serializable
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/WorkoutDatabase/v1}RestrictedToken_t"/>
<element name="Step" type="{http://www.garmin.com/xmlschemas/WorkoutDatabase/v1}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"/>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected List<XMLGregorianCalendar> protected List<AbstractStepT> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the value of the name property.getNotes()Gets the value of the notes property.Gets the value of the scheduledOns property.getSteps()Gets the value of the steps property.voidSets the value of the name property.voidSets the value of the notes property.
-
Field Details
-
name
-
steps
-
scheduledOns
-
notes
-
-
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
-
getSteps
Gets the value of the steps 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 steps property.For example, to add a new item, do as follows:
getSteps().add(newItem);Objects of the following type(s) are allowed in the list
AbstractStepT- Returns:
- The value of the steps property.
-
getScheduledOns
Gets the value of the scheduledOns 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 scheduledOns property.For example, to add a new item, do as follows:
getScheduledOns().add(newItem);Objects of the following type(s) are allowed in the list
XMLGregorianCalendar- Returns:
- The value of the scheduledOns 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
-