Class PeriodT
java.lang.Object
org.bremersee.garmin.activitygoals.v1.model.ext.PeriodT
- All Implemented Interfaces:
Serializable
Java class for Period_t complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Period_t">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="StartDateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="EndDateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
</sequence>
<attribute name="Recurrence" use="required" type="{http://www.garmin.com/xmlschemas/ActivityGoals/v1}RecurrenceCode_t" />
<attribute name="DaysPerPeriod" type="{http://www.garmin.com/xmlschemas/ActivityGoals/v1}DaysCount_t" default="7" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Integerprotected XMLGregorianCalendarprotected RecurrenceCodeTprotected XMLGregorianCalendar -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the value of the daysPerPeriod property.Gets the value of the endDateTime property.Gets the value of the recurrence property.Gets the value of the startDateTime property.voidsetDaysPerPeriod(Integer value) Sets the value of the daysPerPeriod property.voidSets the value of the endDateTime property.voidsetRecurrence(RecurrenceCodeT value) Sets the value of the recurrence property.voidSets the value of the startDateTime property.
-
Field Details
-
startDateTime
-
endDateTime
-
recurrence
-
daysPerPeriod
-
-
Constructor Details
-
PeriodT
public PeriodT()
-
-
Method Details
-
getStartDateTime
Gets the value of the startDateTime property.- Returns:
- possible object is
XMLGregorianCalendar
-
setStartDateTime
Sets the value of the startDateTime property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getEndDateTime
Gets the value of the endDateTime property.- Returns:
- possible object is
XMLGregorianCalendar
-
setEndDateTime
Sets the value of the endDateTime property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getRecurrence
Gets the value of the recurrence property.- Returns:
- possible object is
RecurrenceCodeT
-
setRecurrence
Sets the value of the recurrence property.- Parameters:
value- allowed object isRecurrenceCodeT
-
getDaysPerPeriod
public int getDaysPerPeriod()Gets the value of the daysPerPeriod property.- Returns:
- possible object is
Integer
-
setDaysPerPeriod
Sets the value of the daysPerPeriod property.- Parameters:
value- allowed object isInteger
-