public class ImagingStudyInstance extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for ImagingStudy.Instance complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ImagingStudy.Instance">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="uid" type="{http://hl7.org/fhir}oid"/>
<element name="number" type="{http://hl7.org/fhir}unsignedInt" minOccurs="0"/>
<element name="sopClass" type="{http://hl7.org/fhir}oid"/>
<element name="type" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="title" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="content" type="{http://hl7.org/fhir}Attachment" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Attachment> |
content |
protected UnsignedInt |
number |
protected Oid |
sopClass |
protected String |
title |
protected String |
type |
protected Oid |
uid |
modifierExtension| Constructor and Description |
|---|
ImagingStudyInstance() |
| 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<Attachment> |
getContent()
Gets the value of the content property.
|
UnsignedInt |
getNumber()
Gets the value of the number property.
|
Oid |
getSopClass()
Gets the value of the sopClass property.
|
String |
getTitle()
Gets the value of the title property.
|
String |
getType()
Gets the value of the type property.
|
Oid |
getUid()
Gets the value of the uid property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setNumber(UnsignedInt value)
Sets the value of the number property.
|
void |
setSopClass(Oid value)
Sets the value of the sopClass property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setUid(Oid value)
Sets the value of the uid property.
|
java.lang.String |
toString() |
ImagingStudyInstance |
withContent(Attachment... values) |
ImagingStudyInstance |
withContent(java.util.Collection<Attachment> values) |
ImagingStudyInstance |
withExtension(java.util.Collection<Extension> values) |
ImagingStudyInstance |
withExtension(Extension... values) |
ImagingStudyInstance |
withId(java.lang.String value) |
ImagingStudyInstance |
withModifierExtension(java.util.Collection<Extension> values) |
ImagingStudyInstance |
withModifierExtension(Extension... values) |
ImagingStudyInstance |
withNumber(UnsignedInt value) |
ImagingStudyInstance |
withSopClass(Oid value) |
ImagingStudyInstance |
withTitle(String value) |
ImagingStudyInstance |
withType(String value) |
ImagingStudyInstance |
withUid(Oid value) |
getModifierExtensiongetExtension, getId, setIdprotected Oid uid
protected UnsignedInt number
protected Oid sopClass
protected String type
protected String title
protected java.util.List<Attachment> content
public void setUid(Oid value)
value - allowed object is
Oidpublic UnsignedInt getNumber()
UnsignedIntpublic void setNumber(UnsignedInt value)
value - allowed object is
UnsignedIntpublic Oid getSopClass()
Oidpublic void setSopClass(Oid value)
value - allowed object is
Oidpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic java.util.List<Attachment> getContent()
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 content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
Attachment
public ImagingStudyInstance withUid(Oid value)
public ImagingStudyInstance withNumber(UnsignedInt value)
public ImagingStudyInstance withSopClass(Oid value)
public ImagingStudyInstance withType(String value)
public ImagingStudyInstance withTitle(String value)
public ImagingStudyInstance withContent(Attachment... values)
public ImagingStudyInstance withContent(java.util.Collection<Attachment> values)
public ImagingStudyInstance withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic ImagingStudyInstance withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic ImagingStudyInstance withExtension(Extension... values)
withExtension in class BackboneElementpublic ImagingStudyInstance withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic ImagingStudyInstance 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