public class Linkage extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Linkage complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Linkage">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="author" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="item" type="{http://hl7.org/fhir}Linkage.Item" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
author |
protected java.util.List<LinkageItem> |
item |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Linkage() |
| 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 |
getAuthor()
Gets the value of the author property.
|
java.util.List<LinkageItem> |
getItem()
Gets the value of the item property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAuthor(Reference value)
Sets the value of the author property.
|
java.lang.String |
toString() |
Linkage |
withAuthor(Reference value) |
Linkage |
withContained(java.util.Collection<ResourceContainer> values) |
Linkage |
withContained(ResourceContainer... values) |
Linkage |
withExtension(java.util.Collection<Extension> values) |
Linkage |
withExtension(Extension... values) |
Linkage |
withId(Id value) |
Linkage |
withImplicitRules(Uri value) |
Linkage |
withItem(java.util.Collection<LinkageItem> values) |
Linkage |
withItem(LinkageItem... values) |
Linkage |
withLanguage(Code value) |
Linkage |
withMeta(Meta value) |
Linkage |
withModifierExtension(java.util.Collection<Extension> values) |
Linkage |
withModifierExtension(Extension... values) |
Linkage |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Reference author
protected java.util.List<LinkageItem> item
public Reference getAuthor()
Referencepublic void setAuthor(Reference value)
value - allowed object is
Referencepublic java.util.List<LinkageItem> getItem()
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 item property.
For example, to add a new item, do as follows:
getItem().add(newItem);
Objects of the following type(s) are allowed in the list
LinkageItem
public Linkage withItem(LinkageItem... values)
public Linkage withItem(java.util.Collection<LinkageItem> values)
public Linkage withText(Narrative value)
withText in class DomainResourcepublic Linkage withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Linkage withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Linkage withExtension(Extension... values)
withExtension in class DomainResourcepublic Linkage withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Linkage withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Linkage withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Linkage withId(Id value)
withId in class DomainResourcepublic Linkage withMeta(Meta value)
withMeta in class DomainResourcepublic Linkage withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Linkage withLanguage(Code value)
withLanguage in class DomainResourcepublic 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 DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic 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 DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic 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 DomainResourcepublic 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 DomainResource