public class PractitionerRoleAvailableTime extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for PractitionerRole.AvailableTime complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PractitionerRole.AvailableTime">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="daysOfWeek" type="{http://hl7.org/fhir}code" maxOccurs="unbounded" minOccurs="0"/>
<element name="allDay" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="availableStartTime" type="{http://hl7.org/fhir}time" minOccurs="0"/>
<element name="availableEndTime" type="{http://hl7.org/fhir}time" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
allDay |
protected Time |
availableEndTime |
protected Time |
availableStartTime |
protected java.util.List<Code> |
daysOfWeek |
modifierExtension| Constructor and Description |
|---|
PractitionerRoleAvailableTime() |
| 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) |
Boolean |
getAllDay()
Gets the value of the allDay property.
|
Time |
getAvailableEndTime()
Gets the value of the availableEndTime property.
|
Time |
getAvailableStartTime()
Gets the value of the availableStartTime property.
|
java.util.List<Code> |
getDaysOfWeek()
Gets the value of the daysOfWeek property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAllDay(Boolean value)
Sets the value of the allDay property.
|
void |
setAvailableEndTime(Time value)
Sets the value of the availableEndTime property.
|
void |
setAvailableStartTime(Time value)
Sets the value of the availableStartTime property.
|
java.lang.String |
toString() |
PractitionerRoleAvailableTime |
withAllDay(Boolean value) |
PractitionerRoleAvailableTime |
withAvailableEndTime(Time value) |
PractitionerRoleAvailableTime |
withAvailableStartTime(Time value) |
PractitionerRoleAvailableTime |
withDaysOfWeek(Code... values) |
PractitionerRoleAvailableTime |
withDaysOfWeek(java.util.Collection<Code> values) |
PractitionerRoleAvailableTime |
withExtension(java.util.Collection<Extension> values) |
PractitionerRoleAvailableTime |
withExtension(Extension... values) |
PractitionerRoleAvailableTime |
withId(java.lang.String value) |
PractitionerRoleAvailableTime |
withModifierExtension(java.util.Collection<Extension> values) |
PractitionerRoleAvailableTime |
withModifierExtension(Extension... values) |
getModifierExtensiongetExtension, getId, setIdprotected java.util.List<Code> daysOfWeek
protected Boolean allDay
protected Time availableStartTime
protected Time availableEndTime
public java.util.List<Code> getDaysOfWeek()
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 daysOfWeek property.
For example, to add a new item, do as follows:
getDaysOfWeek().add(newItem);
Objects of the following type(s) are allowed in the list
Code
public Boolean getAllDay()
Booleanpublic void setAllDay(Boolean value)
value - allowed object is
Booleanpublic Time getAvailableStartTime()
Timepublic void setAvailableStartTime(Time value)
value - allowed object is
Timepublic Time getAvailableEndTime()
Timepublic void setAvailableEndTime(Time value)
value - allowed object is
Timepublic PractitionerRoleAvailableTime withDaysOfWeek(Code... values)
public PractitionerRoleAvailableTime withDaysOfWeek(java.util.Collection<Code> values)
public PractitionerRoleAvailableTime withAllDay(Boolean value)
public PractitionerRoleAvailableTime withAvailableStartTime(Time value)
public PractitionerRoleAvailableTime withAvailableEndTime(Time value)
public PractitionerRoleAvailableTime withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic PractitionerRoleAvailableTime withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic PractitionerRoleAvailableTime withExtension(Extension... values)
withExtension in class BackboneElementpublic PractitionerRoleAvailableTime withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic PractitionerRoleAvailableTime withId(java.lang.String value)
withId in class BackboneElementpublic 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)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class BackboneElementpublic 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 BackboneElement