public class LinkageItem extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Linkage.Item complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Linkage.Item">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="type" type="{http://hl7.org/fhir}LinkageType"/>
<element name="resource" type="{http://hl7.org/fhir}Reference"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
resource |
protected LinkageType |
type |
modifierExtension| Constructor and Description |
|---|
LinkageItem() |
| 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) |
Reference |
getResource()
Gets the value of the resource property.
|
LinkageType |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setResource(Reference value)
Sets the value of the resource property.
|
void |
setType(LinkageType value)
Sets the value of the type property.
|
java.lang.String |
toString() |
LinkageItem |
withExtension(java.util.Collection<Extension> values) |
LinkageItem |
withExtension(Extension... values) |
LinkageItem |
withId(java.lang.String value) |
LinkageItem |
withModifierExtension(java.util.Collection<Extension> values) |
LinkageItem |
withModifierExtension(Extension... values) |
LinkageItem |
withResource(Reference value) |
LinkageItem |
withType(LinkageType value) |
getModifierExtensiongetExtension, getId, setIdprotected LinkageType type
protected Reference resource
public LinkageType getType()
LinkageTypepublic void setType(LinkageType value)
value - allowed object is
LinkageTypepublic Reference getResource()
Referencepublic void setResource(Reference value)
value - allowed object is
Referencepublic LinkageItem withType(LinkageType value)
public LinkageItem withResource(Reference value)
public LinkageItem withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic LinkageItem withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic LinkageItem withExtension(Extension... values)
withExtension in class BackboneElementpublic LinkageItem withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic LinkageItem 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