public class Timing extends Element implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Timing complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Timing">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<element name="event" type="{http://hl7.org/fhir}dateTime" maxOccurs="unbounded" minOccurs="0"/>
<element name="repeat" type="{http://hl7.org/fhir}Timing.Repeat" minOccurs="0"/>
<element name="code" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
code |
protected java.util.List<DateTime> |
event |
protected TimingRepeat |
repeat |
| Constructor and Description |
|---|
Timing() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
CodeableConcept |
getCode()
Gets the value of the code property.
|
java.util.List<DateTime> |
getEvent()
Gets the value of the event property.
|
TimingRepeat |
getRepeat()
Gets the value of the repeat property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCode(CodeableConcept value)
Sets the value of the code property.
|
void |
setRepeat(TimingRepeat value)
Sets the value of the repeat property.
|
java.lang.String |
toString() |
Timing |
withCode(CodeableConcept value) |
Timing |
withEvent(java.util.Collection<DateTime> values) |
Timing |
withEvent(DateTime... values) |
Timing |
withExtension(java.util.Collection<Extension> values) |
Timing |
withExtension(Extension... values) |
Timing |
withId(java.lang.String value) |
Timing |
withRepeat(TimingRepeat value) |
getExtension, getId, setIdprotected java.util.List<DateTime> event
protected TimingRepeat repeat
protected CodeableConcept code
public java.util.List<DateTime> getEvent()
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 JAXB object.
This is why there is not a set method for the event property.
For example, to add a new item, do as follows:
getEvent().add(newItem);
Objects of the following type(s) are allowed in the list
DateTime
public TimingRepeat getRepeat()
TimingRepeatpublic void setRepeat(TimingRepeat value)
value - allowed object is
TimingRepeatpublic CodeableConcept getCode()
CodeableConceptpublic void setCode(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Timing withRepeat(TimingRepeat value)
public Timing withCode(CodeableConcept value)
public Timing withExtension(Extension... values)
withExtension in class Elementpublic Timing withExtension(java.util.Collection<Extension> values)
withExtension in class Elementpublic 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.EqualsStrategy strategy)
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class Element