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 Details

    • 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
  • Constructor Details

    • TimingRepeat

      public TimingRepeat()
  • Method Details

    • 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 is Duration
    • 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 is Range
    • 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 is Period
    • 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 is Integer
    • 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 is Integer
    • 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 is Decimal
    • 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 is Decimal
    • 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 is UnitsOfTime
    • 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 is Integer
    • 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 is Integer
    • 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 is Decimal
    • 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 is Decimal
    • 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 is UnitsOfTime
    • 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 is EventTiming
    • 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 is UnsignedInt
    • 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:
      withExtension in class Element
    • withExtension

      public TimingRepeat withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class Element
    • withId

      public TimingRepeat withId(String value)
      Overrides:
      withId in class Element
    • 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)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class Element
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Element
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class Element
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Element
    • toString

      public String toString()
      Overrides:
      toString in class Element
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class Element
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class Element