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 extensionsJava 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
Fields Modifier and Type Field Description protected PeriodboundsPeriodprotected DurationboundsQuantityprotected RangeboundsRangeprotected Integercountprotected IntegercountMaxprotected Decimaldurationprotected DecimaldurationMaxprotected UnitsOfTimedurationUnitprotected Integerfrequencyprotected IntegerfrequencyMaxprotected UnsignedIntoffsetprotected Decimalperiodprotected DecimalperiodMaxprotected UnitsOfTimeperiodUnitprotected EventTimingwhen
-
Constructor Summary
Constructors Constructor Description TimingRepeat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)PeriodgetBoundsPeriod()Gets the value of the boundsPeriod property.DurationgetBoundsQuantity()Gets the value of the boundsQuantity property.RangegetBoundsRange()Gets the value of the boundsRange property.IntegergetCount()Gets the value of the count property.IntegergetCountMax()Gets the value of the countMax property.DecimalgetDuration()Gets the value of the duration property.DecimalgetDurationMax()Gets the value of the durationMax property.UnitsOfTimegetDurationUnit()Gets the value of the durationUnit property.IntegergetFrequency()Gets the value of the frequency property.IntegergetFrequencyMax()Gets the value of the frequencyMax property.UnsignedIntgetOffset()Gets the value of the offset property.DecimalgetPeriod()Gets the value of the period property.DecimalgetPeriodMax()Gets the value of the periodMax property.UnitsOfTimegetPeriodUnit()Gets the value of the periodUnit property.EventTiminggetWhen()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.voidsetCount(Integer value)Sets 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.voidsetPeriod(Decimal value)Sets 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.java.lang.StringtoString()TimingRepeatwithBoundsPeriod(Period value)TimingRepeatwithBoundsQuantity(Duration value)TimingRepeatwithBoundsRange(Range value)TimingRepeatwithCount(Integer value)TimingRepeatwithCountMax(Integer value)TimingRepeatwithDuration(Decimal value)TimingRepeatwithDurationMax(Decimal value)TimingRepeatwithDurationUnit(UnitsOfTime value)TimingRepeatwithExtension(java.util.Collection<Extension> values)TimingRepeatwithExtension(Extension... values)TimingRepeatwithFrequency(Integer value)TimingRepeatwithFrequencyMax(Integer value)TimingRepeatwithId(java.lang.String value)TimingRepeatwithOffset(UnsignedInt value)TimingRepeatwithPeriod(Decimal value)TimingRepeatwithPeriodMax(Decimal value)TimingRepeatwithPeriodUnit(UnitsOfTime value)TimingRepeatwithWhen(EventTiming value)-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
boundsQuantity
protected Duration boundsQuantity
-
boundsRange
protected Range boundsRange
-
boundsPeriod
protected Period boundsPeriod
-
count
protected Integer count
-
countMax
protected Integer countMax
-
duration
protected Decimal duration
-
durationMax
protected Decimal durationMax
-
durationUnit
protected UnitsOfTime durationUnit
-
frequency
protected Integer frequency
-
frequencyMax
protected Integer frequencyMax
-
period
protected Decimal period
-
periodMax
protected Decimal periodMax
-
periodUnit
protected UnitsOfTime periodUnit
-
when
protected EventTiming when
-
offset
protected UnsignedInt offset
-
-
Method Detail
-
getBoundsQuantity
public Duration getBoundsQuantity()
Gets the value of the boundsQuantity property.- Returns:
- possible object is
Duration
-
setBoundsQuantity
public void setBoundsQuantity(Duration value)
Sets the value of the boundsQuantity property.- Parameters:
value- allowed object isDuration
-
getBoundsRange
public Range getBoundsRange()
Gets the value of the boundsRange property.- Returns:
- possible object is
Range
-
setBoundsRange
public void setBoundsRange(Range value)
Sets the value of the boundsRange property.- Parameters:
value- allowed object isRange
-
getBoundsPeriod
public Period getBoundsPeriod()
Gets the value of the boundsPeriod property.- Returns:
- possible object is
Period
-
setBoundsPeriod
public void setBoundsPeriod(Period value)
Sets the value of the boundsPeriod property.- Parameters:
value- allowed object isPeriod
-
getCount
public Integer getCount()
Gets the value of the count property.- Returns:
- possible object is
Integer
-
setCount
public void setCount(Integer value)
Sets the value of the count property.- Parameters:
value- allowed object isInteger
-
getCountMax
public Integer getCountMax()
Gets the value of the countMax property.- Returns:
- possible object is
Integer
-
setCountMax
public void setCountMax(Integer value)
Sets the value of the countMax property.- Parameters:
value- allowed object isInteger
-
getDuration
public Decimal getDuration()
Gets the value of the duration property.- Returns:
- possible object is
Decimal
-
setDuration
public void setDuration(Decimal value)
Sets the value of the duration property.- Parameters:
value- allowed object isDecimal
-
getDurationMax
public Decimal getDurationMax()
Gets the value of the durationMax property.- Returns:
- possible object is
Decimal
-
setDurationMax
public void setDurationMax(Decimal value)
Sets the value of the durationMax property.- Parameters:
value- allowed object isDecimal
-
getDurationUnit
public UnitsOfTime getDurationUnit()
Gets the value of the durationUnit property.- Returns:
- possible object is
UnitsOfTime
-
setDurationUnit
public void setDurationUnit(UnitsOfTime value)
Sets the value of the durationUnit property.- Parameters:
value- allowed object isUnitsOfTime
-
getFrequency
public Integer getFrequency()
Gets the value of the frequency property.- Returns:
- possible object is
Integer
-
setFrequency
public void setFrequency(Integer value)
Sets the value of the frequency property.- Parameters:
value- allowed object isInteger
-
getFrequencyMax
public Integer getFrequencyMax()
Gets the value of the frequencyMax property.- Returns:
- possible object is
Integer
-
setFrequencyMax
public void setFrequencyMax(Integer value)
Sets the value of the frequencyMax property.- Parameters:
value- allowed object isInteger
-
getPeriod
public Decimal getPeriod()
Gets the value of the period property.- Returns:
- possible object is
Decimal
-
setPeriod
public void setPeriod(Decimal value)
Sets the value of the period property.- Parameters:
value- allowed object isDecimal
-
getPeriodMax
public Decimal getPeriodMax()
Gets the value of the periodMax property.- Returns:
- possible object is
Decimal
-
setPeriodMax
public void setPeriodMax(Decimal value)
Sets the value of the periodMax property.- Parameters:
value- allowed object isDecimal
-
getPeriodUnit
public UnitsOfTime getPeriodUnit()
Gets the value of the periodUnit property.- Returns:
- possible object is
UnitsOfTime
-
setPeriodUnit
public void setPeriodUnit(UnitsOfTime value)
Sets the value of the periodUnit property.- Parameters:
value- allowed object isUnitsOfTime
-
getWhen
public EventTiming getWhen()
Gets the value of the when property.- Returns:
- possible object is
EventTiming
-
setWhen
public void setWhen(EventTiming value)
Sets the value of the when property.- Parameters:
value- allowed object isEventTiming
-
getOffset
public UnsignedInt getOffset()
Gets the value of the offset property.- Returns:
- possible object is
UnsignedInt
-
setOffset
public void setOffset(UnsignedInt value)
Sets the value of the offset property.- Parameters:
value- allowed object isUnsignedInt
-
withBoundsQuantity
public TimingRepeat withBoundsQuantity(Duration value)
-
withBoundsRange
public TimingRepeat withBoundsRange(Range value)
-
withBoundsPeriod
public TimingRepeat withBoundsPeriod(Period value)
-
withCount
public TimingRepeat withCount(Integer value)
-
withCountMax
public TimingRepeat withCountMax(Integer value)
-
withDuration
public TimingRepeat withDuration(Decimal value)
-
withDurationMax
public TimingRepeat withDurationMax(Decimal value)
-
withDurationUnit
public TimingRepeat withDurationUnit(UnitsOfTime value)
-
withFrequency
public TimingRepeat withFrequency(Integer value)
-
withFrequencyMax
public TimingRepeat withFrequencyMax(Integer value)
-
withPeriod
public TimingRepeat withPeriod(Decimal value)
-
withPeriodMax
public TimingRepeat withPeriodMax(Decimal value)
-
withPeriodUnit
public TimingRepeat withPeriodUnit(UnitsOfTime value)
-
withWhen
public TimingRepeat withWhen(EventTiming value)
-
withOffset
public TimingRepeat withOffset(UnsignedInt value)
-
withExtension
public TimingRepeat withExtension(Extension... values)
- Overrides:
withExtensionin classElement
-
withExtension
public TimingRepeat withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classElement
-
withId
public TimingRepeat withId(java.lang.String value)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classElement
-
-