public class ProtocolPrecondition extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Protocol.Precondition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Protocol.Precondition">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="condition" type="{http://hl7.org/fhir}Protocol.Condition" minOccurs="0"/>
<element name="intersection" type="{http://hl7.org/fhir}Protocol.Precondition" maxOccurs="unbounded" minOccurs="0"/>
<element name="union" type="{http://hl7.org/fhir}Protocol.Precondition" maxOccurs="unbounded" minOccurs="0"/>
<element name="exclude" type="{http://hl7.org/fhir}Protocol.Precondition" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ProtocolCondition |
condition |
protected String |
description |
protected java.util.List<ProtocolPrecondition> |
exclude |
protected java.util.List<ProtocolPrecondition> |
intersection |
protected java.util.List<ProtocolPrecondition> |
union |
modifierExtension| Constructor and Description |
|---|
ProtocolPrecondition() |
| 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) |
ProtocolCondition |
getCondition()
Gets the value of the condition property.
|
String |
getDescription()
Gets the value of the description property.
|
java.util.List<ProtocolPrecondition> |
getExclude()
Gets the value of the exclude property.
|
java.util.List<ProtocolPrecondition> |
getIntersection()
Gets the value of the intersection property.
|
java.util.List<ProtocolPrecondition> |
getUnion()
Gets the value of the union property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCondition(ProtocolCondition value)
Sets the value of the condition property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
java.lang.String |
toString() |
ProtocolPrecondition |
withCondition(ProtocolCondition value) |
ProtocolPrecondition |
withDescription(String value) |
ProtocolPrecondition |
withExclude(java.util.Collection<ProtocolPrecondition> values) |
ProtocolPrecondition |
withExclude(ProtocolPrecondition... values) |
ProtocolPrecondition |
withExtension(java.util.Collection<Extension> values) |
ProtocolPrecondition |
withExtension(Extension... values) |
ProtocolPrecondition |
withId(java.lang.String value) |
ProtocolPrecondition |
withIntersection(java.util.Collection<ProtocolPrecondition> values) |
ProtocolPrecondition |
withIntersection(ProtocolPrecondition... values) |
ProtocolPrecondition |
withModifierExtension(java.util.Collection<Extension> values) |
ProtocolPrecondition |
withModifierExtension(Extension... values) |
ProtocolPrecondition |
withUnion(java.util.Collection<ProtocolPrecondition> values) |
ProtocolPrecondition |
withUnion(ProtocolPrecondition... values) |
getModifierExtensiongetExtension, getId, setIdprotected String description
protected ProtocolCondition condition
protected java.util.List<ProtocolPrecondition> intersection
protected java.util.List<ProtocolPrecondition> union
protected java.util.List<ProtocolPrecondition> exclude
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic ProtocolCondition getCondition()
ProtocolConditionpublic void setCondition(ProtocolCondition value)
value - allowed object is
ProtocolConditionpublic java.util.List<ProtocolPrecondition> getIntersection()
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 intersection property.
For example, to add a new item, do as follows:
getIntersection().add(newItem);
Objects of the following type(s) are allowed in the list
ProtocolPrecondition
public java.util.List<ProtocolPrecondition> getUnion()
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 union property.
For example, to add a new item, do as follows:
getUnion().add(newItem);
Objects of the following type(s) are allowed in the list
ProtocolPrecondition
public java.util.List<ProtocolPrecondition> getExclude()
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 exclude property.
For example, to add a new item, do as follows:
getExclude().add(newItem);
Objects of the following type(s) are allowed in the list
ProtocolPrecondition
public ProtocolPrecondition withDescription(String value)
public ProtocolPrecondition withCondition(ProtocolCondition value)
public ProtocolPrecondition withIntersection(ProtocolPrecondition... values)
public ProtocolPrecondition withIntersection(java.util.Collection<ProtocolPrecondition> values)
public ProtocolPrecondition withUnion(ProtocolPrecondition... values)
public ProtocolPrecondition withUnion(java.util.Collection<ProtocolPrecondition> values)
public ProtocolPrecondition withExclude(ProtocolPrecondition... values)
public ProtocolPrecondition withExclude(java.util.Collection<ProtocolPrecondition> values)
public ProtocolPrecondition withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic ProtocolPrecondition withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic ProtocolPrecondition withExtension(Extension... values)
withExtension in class BackboneElementpublic ProtocolPrecondition withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic ProtocolPrecondition 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