public class Binary extends Resource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Binary complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Binary">
<complexContent>
<extension base="{http://hl7.org/fhir}Resource">
<sequence>
<element name="contentType" type="{http://hl7.org/fhir}code"/>
<element name="content" type="{http://hl7.org/fhir}base64Binary"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Base64Binary |
content |
protected Code |
contentType |
id, implicitRules, language, meta| Constructor and Description |
|---|
Binary() |
| 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) |
Base64Binary |
getContent()
Gets the value of the content property.
|
Code |
getContentType()
Gets the value of the contentType property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setContent(Base64Binary value)
Sets the value of the content property.
|
void |
setContentType(Code value)
Sets the value of the contentType property.
|
java.lang.String |
toString() |
Binary |
withContent(Base64Binary value) |
Binary |
withContentType(Code value) |
Binary |
withId(Id value) |
Binary |
withImplicitRules(Uri value) |
Binary |
withLanguage(Code value) |
Binary |
withMeta(Meta value) |
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Code contentType
protected Base64Binary content
public Code getContentType()
Codepublic void setContentType(Code value)
value - allowed object is
Codepublic Base64Binary getContent()
Base64Binarypublic void setContent(Base64Binary value)
value - allowed object is
Base64Binarypublic Binary withContent(Base64Binary value)
public Binary withImplicitRules(Uri value)
withImplicitRules in class Resourcepublic Binary withLanguage(Code value)
withLanguage in class Resourcepublic 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 Resource