Class Profile
java.lang.Object
org.bremersee.garmin.userprofile.v1.model.ext.Profile
- All Implemented Interfaces:
Serializable
Java class for ProfileData_t complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ProfileData_t">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="BirthDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
<element name="WeightKilograms" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="Gender" type="{http://www.garmin.com/xmlschemas/UserProfile/v1}Gender_t"/>
<element name="Activities" type="{http://www.garmin.com/xmlschemas/UserProfile/v1}AbstractProfileActivity_t" maxOccurs="unbounded" minOccurs="0"/>
<element name="Extensions" type="{http://www.garmin.com/xmlschemas/UserProfile/v1}Extensions_t" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AbstractProfileActivityT> protected XMLGregorianCalendarprotected ExtensionsTprotected GenderTprotected double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the activities property.Gets the value of the birthDate property.Gets the value of the extensions property.Gets the value of the gender property.doubleGets the value of the weightKilograms property.voidsetBirthDate(XMLGregorianCalendar value) Sets the value of the birthDate property.voidsetExtensions(ExtensionsT value) Sets the value of the extensions property.voidSets the value of the gender property.voidsetWeightKilograms(double value) Sets the value of the weightKilograms property.
-
Field Details
-
birthDate
-
weightKilograms
protected double weightKilograms -
gender
-
activities
-
extensions
-
-
Constructor Details
-
Profile
public Profile()
-
-
Method Details
-
getBirthDate
Gets the value of the birthDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setBirthDate
Sets the value of the birthDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getWeightKilograms
public double getWeightKilograms()Gets the value of the weightKilograms property. -
setWeightKilograms
public void setWeightKilograms(double value) Sets the value of the weightKilograms property. -
getGender
Gets the value of the gender property.- Returns:
- possible object is
GenderT
-
setGender
Sets the value of the gender property.- Parameters:
value- allowed object isGenderT
-
getActivities
Gets the value of the activities 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 activities property.For example, to add a new item, do as follows:
getActivities().add(newItem);Objects of the following type(s) are allowed in the list
AbstractProfileActivityT- Returns:
- The value of the activities property.
-
getExtensions
Gets the value of the extensions property.- Returns:
- possible object is
ExtensionsT
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensionsT
-