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 java.lang.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
-
Constructor Summary
Constructors Constructor Description Resource() -
Method Summary
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)IdgetId()Gets the value of the id property.UrigetImplicitRules()Gets the value of the implicitRules property.CodegetLanguage()Gets the value of the language property.MetagetMeta()Gets the value of the meta property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetId(Id value)Sets 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.voidsetMeta(Meta value)Sets the value of the meta property.java.lang.StringtoString()ResourcewithId(Id value)ResourcewithImplicitRules(Uri value)ResourcewithLanguage(Code value)ResourcewithMeta(Meta value)
-
Field Details
-
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, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equalsin classjava.lang.Object
-
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()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
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
-