Package org.hl7.fhir
Class TimingRepeat
java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.TimingRepeat
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class TimingRepeat
extends Element
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions
Java class for Timing.Repeat complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Timing.Repeat">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<choice minOccurs="0">
<element name="boundsQuantity" type="{http://hl7.org/fhir}Duration"/>
<element name="boundsRange" type="{http://hl7.org/fhir}Range"/>
<element name="boundsPeriod" type="{http://hl7.org/fhir}Period"/>
</choice>
<element name="count" type="{http://hl7.org/fhir}integer" minOccurs="0"/>
<element name="countMax" type="{http://hl7.org/fhir}integer" minOccurs="0"/>
<element name="duration" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
<element name="durationMax" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
<element name="durationUnit" type="{http://hl7.org/fhir}UnitsOfTime" minOccurs="0"/>
<element name="frequency" type="{http://hl7.org/fhir}integer" minOccurs="0"/>
<element name="frequencyMax" type="{http://hl7.org/fhir}integer" minOccurs="0"/>
<element name="period" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
<element name="periodMax" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
<element name="periodUnit" type="{http://hl7.org/fhir}UnitsOfTime" minOccurs="0"/>
<element name="when" type="{http://hl7.org/fhir}EventTiming" minOccurs="0"/>
<element name="offset" type="{http://hl7.org/fhir}unsignedInt" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Periodprotected Durationprotected Rangeprotected Integerprotected Integerprotected Decimalprotected Decimalprotected UnitsOfTimeprotected Integerprotected Integerprotected UnsignedIntprotected Decimalprotected Decimalprotected UnitsOfTimeprotected EventTiming -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the boundsPeriod property.Gets the value of the boundsQuantity property.Gets the value of the boundsRange property.getCount()Gets the value of the count property.Gets the value of the countMax property.Gets the value of the duration property.Gets the value of the durationMax property.Gets the value of the durationUnit property.Gets the value of the frequency property.Gets the value of the frequencyMax property.Gets the value of the offset property.Gets the value of the period property.Gets the value of the periodMax property.Gets the value of the periodUnit property.getWhen()Gets the value of the when property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetBoundsPeriod(Period value) Sets the value of the boundsPeriod property.voidsetBoundsQuantity(Duration value) Sets the value of the boundsQuantity property.voidsetBoundsRange(Range value) Sets the value of the boundsRange property.voidSets the value of the count property.voidsetCountMax(Integer value) Sets the value of the countMax property.voidsetDuration(Decimal value) Sets the value of the duration property.voidsetDurationMax(Decimal value) Sets the value of the durationMax property.voidsetDurationUnit(UnitsOfTime value) Sets the value of the durationUnit property.voidsetFrequency(Integer value) Sets the value of the frequency property.voidsetFrequencyMax(Integer value) Sets the value of the frequencyMax property.voidsetOffset(UnsignedInt value) Sets the value of the offset property.voidSets the value of the period property.voidsetPeriodMax(Decimal value) Sets the value of the periodMax property.voidsetPeriodUnit(UnitsOfTime value) Sets the value of the periodUnit property.voidsetWhen(EventTiming value) Sets the value of the when property.toString()withBoundsPeriod(Period value) withBoundsQuantity(Duration value) withBoundsRange(Range value) withCountMax(Integer value) withDuration(Decimal value) withDurationMax(Decimal value) withDurationUnit(UnitsOfTime value) withExtension(Collection<Extension> values) withExtension(Extension... values) withFrequency(Integer value) withFrequencyMax(Integer value) withOffset(UnsignedInt value) withPeriod(Decimal value) withPeriodMax(Decimal value) withPeriodUnit(UnitsOfTime value) withWhen(EventTiming value) Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setExtension, setId
-
Field Details
-
boundsQuantity
-
boundsRange
-
boundsPeriod
-
count
-
countMax
-
duration
-
durationMax
-
durationUnit
-
frequency
-
frequencyMax
-
period
-
periodMax
-
periodUnit
-
when
-
offset
-
-
Constructor Details
-
TimingRepeat
public TimingRepeat()
-
-
Method Details
-
getBoundsQuantity
Gets the value of the boundsQuantity property.- Returns:
- possible object is
Duration
-
setBoundsQuantity
Sets the value of the boundsQuantity property.- Parameters:
value- allowed object isDuration
-
getBoundsRange
Gets the value of the boundsRange property.- Returns:
- possible object is
Range
-
setBoundsRange
Sets the value of the boundsRange property.- Parameters:
value- allowed object isRange
-
getBoundsPeriod
Gets the value of the boundsPeriod property.- Returns:
- possible object is
Period
-
setBoundsPeriod
Sets the value of the boundsPeriod property.- Parameters:
value- allowed object isPeriod
-
getCount
Gets the value of the count property.- Returns:
- possible object is
Integer
-
setCount
Sets the value of the count property.- Parameters:
value- allowed object isInteger
-
getCountMax
Gets the value of the countMax property.- Returns:
- possible object is
Integer
-
setCountMax
Sets the value of the countMax property.- Parameters:
value- allowed object isInteger
-
getDuration
Gets the value of the duration property.- Returns:
- possible object is
Decimal
-
setDuration
Sets the value of the duration property.- Parameters:
value- allowed object isDecimal
-
getDurationMax
Gets the value of the durationMax property.- Returns:
- possible object is
Decimal
-
setDurationMax
Sets the value of the durationMax property.- Parameters:
value- allowed object isDecimal
-
getDurationUnit
Gets the value of the durationUnit property.- Returns:
- possible object is
UnitsOfTime
-
setDurationUnit
Sets the value of the durationUnit property.- Parameters:
value- allowed object isUnitsOfTime
-
getFrequency
Gets the value of the frequency property.- Returns:
- possible object is
Integer
-
setFrequency
Sets the value of the frequency property.- Parameters:
value- allowed object isInteger
-
getFrequencyMax
Gets the value of the frequencyMax property.- Returns:
- possible object is
Integer
-
setFrequencyMax
Sets the value of the frequencyMax property.- Parameters:
value- allowed object isInteger
-
getPeriod
Gets the value of the period property.- Returns:
- possible object is
Decimal
-
setPeriod
Sets the value of the period property.- Parameters:
value- allowed object isDecimal
-
getPeriodMax
Gets the value of the periodMax property.- Returns:
- possible object is
Decimal
-
setPeriodMax
Sets the value of the periodMax property.- Parameters:
value- allowed object isDecimal
-
getPeriodUnit
Gets the value of the periodUnit property.- Returns:
- possible object is
UnitsOfTime
-
setPeriodUnit
Sets the value of the periodUnit property.- Parameters:
value- allowed object isUnitsOfTime
-
getWhen
Gets the value of the when property.- Returns:
- possible object is
EventTiming
-
setWhen
Sets the value of the when property.- Parameters:
value- allowed object isEventTiming
-
getOffset
Gets the value of the offset property.- Returns:
- possible object is
UnsignedInt
-
setOffset
Sets the value of the offset property.- Parameters:
value- allowed object isUnsignedInt
-
withBoundsQuantity
-
withBoundsRange
-
withBoundsPeriod
-
withCount
-
withCountMax
-
withDuration
-
withDurationMax
-
withDurationUnit
-
withFrequency
-
withFrequencyMax
-
withPeriod
-
withPeriodMax
-
withPeriodUnit
-
withWhen
-
withOffset
-
withExtension
- Overrides:
withExtensionin classElement
-
withExtension
- Overrides:
withExtensionin classElement
-
withId
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) -
equals
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) -
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) -
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classElement
-