Package org.hl7.fhir
Class Binary
java.lang.Object
org.hl7.fhir.Resource
org.hl7.fhir.Binary
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Binary
extends Resource
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensions
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>
-
Field Summary
FieldsFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the content property.Gets the value of the contentType property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetContent(Base64Binary value) Sets the value of the content property.voidsetContentType(Code value) Sets the value of the contentType property.toString()withContent(Base64Binary value) withContentType(Code value) withImplicitRules(Uri value) withLanguage(Code value) Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
contentType
-
-
-
Constructor Details
-
Binary
public Binary()
-
-
Method Details
-
getContentType
Gets the value of the contentType property.- Returns:
- possible object is
Code
-
setContentType
Sets the value of the contentType property.- Parameters:
value- allowed object isCode
-
getContent
Gets the value of the content property.- Returns:
- possible object is
Base64Binary
-
setContent
Sets the value of the content property.- Parameters:
value- allowed object isBase64Binary
-
withContentType
-
withContent
-
withId
-
withMeta
-
withImplicitRules
- Overrides:
withImplicitRulesin classResource
-
withLanguage
- Overrides:
withLanguagein classResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) -
equals
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) -
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) -
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classResource
-