public class BackboneElement extends Element implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for BackboneElement complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BackboneElement">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<element name="modifierExtension" type="{http://hl7.org/fhir}Extension" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Extension> |
modifierExtension |
| Constructor and Description |
|---|
BackboneElement() |
| 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) |
java.util.List<Extension> |
getModifierExtension()
Gets the value of the modifierExtension property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
java.lang.String |
toString() |
BackboneElement |
withExtension(java.util.Collection<Extension> values) |
BackboneElement |
withExtension(Extension... values) |
BackboneElement |
withId(java.lang.String value) |
BackboneElement |
withModifierExtension(java.util.Collection<Extension> values) |
BackboneElement |
withModifierExtension(Extension... values) |
getExtension, getId, setIdprotected java.util.List<Extension> modifierExtension
public java.util.List<Extension> getModifierExtension()
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 modifierExtension property.
For example, to add a new item, do as follows:
getModifierExtension().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
public BackboneElement withModifierExtension(Extension... values)
public BackboneElement withModifierExtension(java.util.Collection<Extension> values)
public BackboneElement withExtension(Extension... values)
withExtension in class Elementpublic BackboneElement withExtension(java.util.Collection<Extension> values)
withExtension in class Elementpublic BackboneElement withId(java.lang.String value)
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.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