Package org.hl7.fhir
Class Resource
java.lang.Object
org.hl7.fhir.Resource
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
- Direct Known Subclasses:
Binary,Bundle,DomainResource,Parameters
public class Resource
extends Object
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
This is the base resource type for everything.
Java class for Resource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Resource">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://hl7.org/fhir}id" minOccurs="0"/>
<element name="meta" type="{http://hl7.org/fhir}Meta" minOccurs="0"/>
<element name="implicitRules" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
<element name="language" type="{http://hl7.org/fhir}code" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
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) getId()Gets the value of the id property.Gets the value of the implicitRules property.Gets the value of the language property.getMeta()Gets the value of the meta property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidSets the value of the id property.voidsetImplicitRules(Uri value) Sets the value of the implicitRules property.voidsetLanguage(Code value) Sets the value of the language property.voidSets the value of the meta property.toString()withImplicitRules(Uri value) withLanguage(Code value)
-
Field Details
-
id
-
meta
-
implicitRules
-
language
-
-
Constructor Details
-
Resource
public Resource()
-
-
Method Details
-
getId
Gets the value of the id property.- Returns:
- possible object is
Id
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isId
-
getMeta
Gets the value of the meta property.- Returns:
- possible object is
Meta
-
setMeta
Sets the value of the meta property.- Parameters:
value- allowed object isMeta
-
getImplicitRules
Gets the value of the implicitRules property.- Returns:
- possible object is
Uri
-
setImplicitRules
Sets the value of the implicitRules property.- Parameters:
value- allowed object isUri
-
getLanguage
Gets the value of the language property.- Returns:
- possible object is
Code
-
setLanguage
Sets the value of the language property.- Parameters:
value- allowed object isCode
-
withId
-
withMeta
-
withImplicitRules
-
withLanguage
-
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) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
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) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
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
-