Class ConformanceResource
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.ConformanceResource
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ConformanceResource extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A conformance statement is a set of capabilities of a FHIR Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation.Java class for Conformance.Resource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Conformance.Resource"> <complexContent> <extension base="{http://hl7.org/fhir}BackboneElement"> <sequence> <element name="type" type="{http://hl7.org/fhir}code"/> <element name="profile" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="interaction" type="{http://hl7.org/fhir}Conformance.Interaction" maxOccurs="unbounded"/> <element name="versioning" type="{http://hl7.org/fhir}ResourceVersionPolicy" minOccurs="0"/> <element name="readHistory" type="{http://hl7.org/fhir}boolean" minOccurs="0"/> <element name="updateCreate" type="{http://hl7.org/fhir}boolean" minOccurs="0"/> <element name="conditionalCreate" type="{http://hl7.org/fhir}boolean" minOccurs="0"/> <element name="conditionalUpdate" type="{http://hl7.org/fhir}boolean" minOccurs="0"/> <element name="conditionalDelete" type="{http://hl7.org/fhir}ConditionalDeleteStatus" minOccurs="0"/> <element name="searchInclude" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/> <element name="searchRevInclude" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/> <element name="searchParam" type="{http://hl7.org/fhir}Conformance.SearchParam" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanconditionalCreateprotected ConditionalDeleteStatusconditionalDeleteprotected BooleanconditionalUpdateprotected java.util.List<ConformanceInteraction>interactionprotected Referenceprofileprotected BooleanreadHistoryprotected java.util.List<String>searchIncludeprotected java.util.List<ConformanceSearchParam>searchParamprotected java.util.List<String>searchRevIncludeprotected Codetypeprotected BooleanupdateCreateprotected ResourceVersionPolicyversioning-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ConformanceResource()
-
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)BooleangetConditionalCreate()Gets the value of the conditionalCreate property.ConditionalDeleteStatusgetConditionalDelete()Gets the value of the conditionalDelete property.BooleangetConditionalUpdate()Gets the value of the conditionalUpdate property.java.util.List<ConformanceInteraction>getInteraction()Gets the value of the interaction property.ReferencegetProfile()Gets the value of the profile property.BooleangetReadHistory()Gets the value of the readHistory property.java.util.List<String>getSearchInclude()Gets the value of the searchInclude property.java.util.List<ConformanceSearchParam>getSearchParam()Gets the value of the searchParam property.java.util.List<String>getSearchRevInclude()Gets the value of the searchRevInclude property.CodegetType()Gets the value of the type property.BooleangetUpdateCreate()Gets the value of the updateCreate property.ResourceVersionPolicygetVersioning()Gets the value of the versioning property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetConditionalCreate(Boolean value)Sets the value of the conditionalCreate property.voidsetConditionalDelete(ConditionalDeleteStatus value)Sets the value of the conditionalDelete property.voidsetConditionalUpdate(Boolean value)Sets the value of the conditionalUpdate property.voidsetProfile(Reference value)Sets the value of the profile property.voidsetReadHistory(Boolean value)Sets the value of the readHistory property.voidsetType(Code value)Sets the value of the type property.voidsetUpdateCreate(Boolean value)Sets the value of the updateCreate property.voidsetVersioning(ResourceVersionPolicy value)Sets the value of the versioning property.java.lang.StringtoString()ConformanceResourcewithConditionalCreate(Boolean value)ConformanceResourcewithConditionalDelete(ConditionalDeleteStatus value)ConformanceResourcewithConditionalUpdate(Boolean value)ConformanceResourcewithExtension(java.util.Collection<Extension> values)ConformanceResourcewithExtension(Extension... values)ConformanceResourcewithId(java.lang.String value)ConformanceResourcewithInteraction(java.util.Collection<ConformanceInteraction> values)ConformanceResourcewithInteraction(ConformanceInteraction... values)ConformanceResourcewithModifierExtension(java.util.Collection<Extension> values)ConformanceResourcewithModifierExtension(Extension... values)ConformanceResourcewithProfile(Reference value)ConformanceResourcewithReadHistory(Boolean value)ConformanceResourcewithSearchInclude(java.util.Collection<String> values)ConformanceResourcewithSearchInclude(String... values)ConformanceResourcewithSearchParam(java.util.Collection<ConformanceSearchParam> values)ConformanceResourcewithSearchParam(ConformanceSearchParam... values)ConformanceResourcewithSearchRevInclude(java.util.Collection<String> values)ConformanceResourcewithSearchRevInclude(String... values)ConformanceResourcewithType(Code value)ConformanceResourcewithUpdateCreate(Boolean value)ConformanceResourcewithVersioning(ResourceVersionPolicy value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
type
protected Code type
-
profile
protected Reference profile
-
interaction
protected java.util.List<ConformanceInteraction> interaction
-
versioning
protected ResourceVersionPolicy versioning
-
readHistory
protected Boolean readHistory
-
updateCreate
protected Boolean updateCreate
-
conditionalCreate
protected Boolean conditionalCreate
-
conditionalUpdate
protected Boolean conditionalUpdate
-
conditionalDelete
protected ConditionalDeleteStatus conditionalDelete
-
searchInclude
protected java.util.List<String> searchInclude
-
searchRevInclude
protected java.util.List<String> searchRevInclude
-
searchParam
protected java.util.List<ConformanceSearchParam> searchParam
-
-
Method Detail
-
setType
public void setType(Code value)
Sets the value of the type property.- Parameters:
value- allowed object isCode
-
getProfile
public Reference getProfile()
Gets the value of the profile property.- Returns:
- possible object is
Reference
-
setProfile
public void setProfile(Reference value)
Sets the value of the profile property.- Parameters:
value- allowed object isReference
-
getInteraction
public java.util.List<ConformanceInteraction> getInteraction()
Gets the value of the interaction property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the interaction property.For example, to add a new item, do as follows:
getInteraction().add(newItem);Objects of the following type(s) are allowed in the list
ConformanceInteraction
-
getVersioning
public ResourceVersionPolicy getVersioning()
Gets the value of the versioning property.- Returns:
- possible object is
ResourceVersionPolicy
-
setVersioning
public void setVersioning(ResourceVersionPolicy value)
Sets the value of the versioning property.- Parameters:
value- allowed object isResourceVersionPolicy
-
getReadHistory
public Boolean getReadHistory()
Gets the value of the readHistory property.- Returns:
- possible object is
Boolean
-
setReadHistory
public void setReadHistory(Boolean value)
Sets the value of the readHistory property.- Parameters:
value- allowed object isBoolean
-
getUpdateCreate
public Boolean getUpdateCreate()
Gets the value of the updateCreate property.- Returns:
- possible object is
Boolean
-
setUpdateCreate
public void setUpdateCreate(Boolean value)
Sets the value of the updateCreate property.- Parameters:
value- allowed object isBoolean
-
getConditionalCreate
public Boolean getConditionalCreate()
Gets the value of the conditionalCreate property.- Returns:
- possible object is
Boolean
-
setConditionalCreate
public void setConditionalCreate(Boolean value)
Sets the value of the conditionalCreate property.- Parameters:
value- allowed object isBoolean
-
getConditionalUpdate
public Boolean getConditionalUpdate()
Gets the value of the conditionalUpdate property.- Returns:
- possible object is
Boolean
-
setConditionalUpdate
public void setConditionalUpdate(Boolean value)
Sets the value of the conditionalUpdate property.- Parameters:
value- allowed object isBoolean
-
getConditionalDelete
public ConditionalDeleteStatus getConditionalDelete()
Gets the value of the conditionalDelete property.- Returns:
- possible object is
ConditionalDeleteStatus
-
setConditionalDelete
public void setConditionalDelete(ConditionalDeleteStatus value)
Sets the value of the conditionalDelete property.- Parameters:
value- allowed object isConditionalDeleteStatus
-
getSearchInclude
public java.util.List<String> getSearchInclude()
Gets the value of the searchInclude property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the searchInclude property.For example, to add a new item, do as follows:
getSearchInclude().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getSearchRevInclude
public java.util.List<String> getSearchRevInclude()
Gets the value of the searchRevInclude property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the searchRevInclude property.For example, to add a new item, do as follows:
getSearchRevInclude().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getSearchParam
public java.util.List<ConformanceSearchParam> getSearchParam()
Gets the value of the searchParam property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the searchParam property.For example, to add a new item, do as follows:
getSearchParam().add(newItem);Objects of the following type(s) are allowed in the list
ConformanceSearchParam
-
withType
public ConformanceResource withType(Code value)
-
withProfile
public ConformanceResource withProfile(Reference value)
-
withInteraction
public ConformanceResource withInteraction(ConformanceInteraction... values)
-
withInteraction
public ConformanceResource withInteraction(java.util.Collection<ConformanceInteraction> values)
-
withVersioning
public ConformanceResource withVersioning(ResourceVersionPolicy value)
-
withReadHistory
public ConformanceResource withReadHistory(Boolean value)
-
withUpdateCreate
public ConformanceResource withUpdateCreate(Boolean value)
-
withConditionalCreate
public ConformanceResource withConditionalCreate(Boolean value)
-
withConditionalUpdate
public ConformanceResource withConditionalUpdate(Boolean value)
-
withConditionalDelete
public ConformanceResource withConditionalDelete(ConditionalDeleteStatus value)
-
withSearchInclude
public ConformanceResource withSearchInclude(String... values)
-
withSearchInclude
public ConformanceResource withSearchInclude(java.util.Collection<String> values)
-
withSearchRevInclude
public ConformanceResource withSearchRevInclude(String... values)
-
withSearchRevInclude
public ConformanceResource withSearchRevInclude(java.util.Collection<String> values)
-
withSearchParam
public ConformanceResource withSearchParam(ConformanceSearchParam... values)
-
withSearchParam
public ConformanceResource withSearchParam(java.util.Collection<ConformanceSearchParam> values)
-
withModifierExtension
public ConformanceResource withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public ConformanceResource withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public ConformanceResource withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public ConformanceResource withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public ConformanceResource withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
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- Overrides:
equalsin classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBackboneElement
-
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- Overrides:
hashCodein classBackboneElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
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- Overrides:
appendin classBackboneElement
-
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 classBackboneElement
-
-