Package slash.navigation.tcx.binding2
Class ActivityT
java.lang.Object
slash.navigation.tcx.binding2.ActivityT
Java class for Activity_t complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Activity_t">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Id" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="Lap" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}ActivityLap_t" maxOccurs="unbounded"/>
<element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Training" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Training_t" 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 XMLGregorianCalendarprotected List<ActivityLapT> protected Stringprotected SportTprotected TrainingT -
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.getId()Gets the value of the id property.getLap()Gets the value of the lap property.getNotes()Gets the value of the notes property.getSport()Gets the value of the sport property.Gets the value of the training property.voidsetCreator(AbstractSourceT value) Sets the value of the creator property.voidsetExtensions(ExtensionsT value) Sets the value of the extensions property.voidsetId(XMLGregorianCalendar value) Sets the value of the id property.voidSets the value of the notes property.voidSets the value of the sport property.voidsetTraining(TrainingT value) Sets the value of the training property.
-
Field Details
-
id
-
lap
-
notes
-
training
-
creator
-
extensions
You can extend Training Center by adding your own elements from another schema here. -
sport
-
-
Constructor Details
-
ActivityT
public ActivityT()
-
-
Method Details
-
getId
Gets the value of the id property.- Returns:
- possible object is
XMLGregorianCalendar
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getLap
Gets the value of the lap 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 lap property.For example, to add a new item, do as follows:
getLap().add(newItem);
Objects of the following type(s) are allowed in the list
ActivityLapT- Returns:
- The value of the lap 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
-
getTraining
Gets the value of the training property.- Returns:
- possible object is
TrainingT
-
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
-