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 extensionsJava 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
Fields Modifier and Type Field Description protected Base64Binarycontentprotected CodecontentType-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Binary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)Base64BinarygetContent()Gets the value of the content property.CodegetContentType()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.java.lang.StringtoString()BinarywithContent(Base64Binary value)BinarywithContentType(Code value)BinarywithId(Id value)BinarywithImplicitRules(Uri value)BinarywithLanguage(Code value)BinarywithMeta(Meta value)-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
contentType
protected Code contentType
-
content
protected Base64Binary content
-
-
Method Detail
-
getContentType
public Code getContentType()
Gets the value of the contentType property.- Returns:
- possible object is
Code
-
setContentType
public void setContentType(Code value)
Sets the value of the contentType property.- Parameters:
value- allowed object isCode
-
getContent
public Base64Binary getContent()
Gets the value of the content property.- Returns:
- possible object is
Base64Binary
-
setContent
public void setContent(Base64Binary value)
Sets the value of the content property.- Parameters:
value- allowed object isBase64Binary
-
withContent
public Binary withContent(Base64Binary value)
-
withImplicitRules
public Binary withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classResource
-
withLanguage
public Binary withLanguage(Code value)
- Overrides:
withLanguagein classResource
-
equals
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.EqualsStrategy2 strategy)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classResource
-
-