public class Attachment extends Element implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Attachment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Attachment">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<element name="contentType" type="{http://hl7.org/fhir}code" minOccurs="0"/>
<element name="language" type="{http://hl7.org/fhir}code" minOccurs="0"/>
<element name="data" type="{http://hl7.org/fhir}base64Binary" minOccurs="0"/>
<element name="url" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
<element name="size" type="{http://hl7.org/fhir}unsignedInt" minOccurs="0"/>
<element name="hash" type="{http://hl7.org/fhir}base64Binary" minOccurs="0"/>
<element name="title" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="creation" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Code |
contentType |
protected DateTime |
creation |
protected Base64Binary |
data |
protected Base64Binary |
hash |
protected Code |
language |
protected UnsignedInt |
size |
protected String |
title |
protected Uri |
url |
| Constructor and Description |
|---|
Attachment() |
| 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) |
Code |
getContentType()
Gets the value of the contentType property.
|
DateTime |
getCreation()
Gets the value of the creation property.
|
Base64Binary |
getData()
Gets the value of the data property.
|
Base64Binary |
getHash()
Gets the value of the hash property.
|
Code |
getLanguage()
Gets the value of the language property.
|
UnsignedInt |
getSize()
Gets the value of the size property.
|
String |
getTitle()
Gets the value of the title property.
|
Uri |
getUrl()
Gets the value of the url property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setContentType(Code value)
Sets the value of the contentType property.
|
void |
setCreation(DateTime value)
Sets the value of the creation property.
|
void |
setData(Base64Binary value)
Sets the value of the data property.
|
void |
setHash(Base64Binary value)
Sets the value of the hash property.
|
void |
setLanguage(Code value)
Sets the value of the language property.
|
void |
setSize(UnsignedInt value)
Sets the value of the size property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
void |
setUrl(Uri value)
Sets the value of the url property.
|
java.lang.String |
toString() |
Attachment |
withContentType(Code value) |
Attachment |
withCreation(DateTime value) |
Attachment |
withData(Base64Binary value) |
Attachment |
withExtension(java.util.Collection<Extension> values) |
Attachment |
withExtension(Extension... values) |
Attachment |
withHash(Base64Binary value) |
Attachment |
withId(java.lang.String value) |
Attachment |
withLanguage(Code value) |
Attachment |
withSize(UnsignedInt value) |
Attachment |
withTitle(String value) |
Attachment |
withUrl(Uri value) |
getExtension, getId, setIdprotected Code contentType
protected Code language
protected Base64Binary data
protected Uri url
protected UnsignedInt size
protected Base64Binary hash
protected String title
protected DateTime creation
public Code getContentType()
Codepublic void setContentType(Code value)
value - allowed object is
Codepublic Code getLanguage()
Codepublic void setLanguage(Code value)
value - allowed object is
Codepublic Base64Binary getData()
Base64Binarypublic void setData(Base64Binary value)
value - allowed object is
Base64Binarypublic void setUrl(Uri value)
value - allowed object is
Uripublic UnsignedInt getSize()
UnsignedIntpublic void setSize(UnsignedInt value)
value - allowed object is
UnsignedIntpublic Base64Binary getHash()
Base64Binarypublic void setHash(Base64Binary value)
value - allowed object is
Base64Binarypublic String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic DateTime getCreation()
DateTimepublic void setCreation(DateTime value)
value - allowed object is
DateTimepublic Attachment withContentType(Code value)
public Attachment withLanguage(Code value)
public Attachment withData(Base64Binary value)
public Attachment withUrl(Uri value)
public Attachment withSize(UnsignedInt value)
public Attachment withHash(Base64Binary value)
public Attachment withTitle(String value)
public Attachment withCreation(DateTime value)
public Attachment withExtension(Extension... values)
withExtension in class Elementpublic Attachment withExtension(java.util.Collection<Extension> values)
withExtension in class Elementpublic Attachment 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