Class Conformance.RestResource
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.Conformance.RestResource
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.IResourceBlock,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
- Conformance
public static class Conformance.RestResource extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Conformance.rest.resource ()Definition: A specification of the restful capabilities of the solution for a specific resource type
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Conformance.RestResourceInteractionaddInteraction()Adds and returns a new value for interaction ()Conformance.RestResourceaddInteraction(Conformance.RestResourceInteraction theValue)Adds a given new value for interaction ()ca.uhn.fhir.model.primitive.StringDtaddSearchInclude()Adds and returns a new value for searchInclude ()Conformance.RestResourceaddSearchInclude(ca.uhn.fhir.model.primitive.StringDt theValue)Adds a given new value for searchInclude ()Conformance.RestResourceaddSearchInclude(String theString)Adds a new value for searchInclude ()Conformance.RestResourceSearchParamaddSearchParam()Adds and returns a new value for searchParam ()Conformance.RestResourceaddSearchParam(Conformance.RestResourceSearchParam theValue)Adds a given new value for searchParam ()ca.uhn.fhir.model.primitive.StringDtaddSearchRevInclude()Adds and returns a new value for searchRevInclude ()Conformance.RestResourceaddSearchRevInclude(ca.uhn.fhir.model.primitive.StringDt theValue)Adds a given new value for searchRevInclude ()Conformance.RestResourceaddSearchRevInclude(String theString)Adds a new value for searchRevInclude ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)BooleangetConditionalCreate()Gets the value(s) for conditionalCreate ().ca.uhn.fhir.model.primitive.BooleanDtgetConditionalCreateElement()Gets the value(s) for conditionalCreate ().StringgetConditionalDelete()Gets the value(s) for conditionalDelete ().ca.uhn.fhir.model.primitive.BoundCodeDt<ConditionalDeleteStatusEnum>getConditionalDeleteElement()Gets the value(s) for conditionalDelete ().BooleangetConditionalUpdate()Gets the value(s) for conditionalUpdate ().ca.uhn.fhir.model.primitive.BooleanDtgetConditionalUpdateElement()Gets the value(s) for conditionalUpdate ().List<Conformance.RestResourceInteraction>getInteraction()Gets the value(s) for interaction ().Conformance.RestResourceInteractiongetInteractionFirstRep()Gets the first repetition for interaction (), creating it if it does not already exist.ResourceReferenceDtgetProfile()Gets the value(s) for profile ().BooleangetReadHistory()Gets the value(s) for readHistory ().ca.uhn.fhir.model.primitive.BooleanDtgetReadHistoryElement()Gets the value(s) for readHistory ().List<ca.uhn.fhir.model.primitive.StringDt>getSearchInclude()Gets the value(s) for searchInclude ().ca.uhn.fhir.model.primitive.StringDtgetSearchIncludeFirstRep()Gets the first repetition for searchInclude (), creating it if it does not already exist.List<Conformance.RestResourceSearchParam>getSearchParam()Gets the value(s) for searchParam ().Conformance.RestResourceSearchParamgetSearchParamFirstRep()Gets the first repetition for searchParam (), creating it if it does not already exist.List<ca.uhn.fhir.model.primitive.StringDt>getSearchRevInclude()Gets the value(s) for searchRevInclude ().ca.uhn.fhir.model.primitive.StringDtgetSearchRevIncludeFirstRep()Gets the first repetition for searchRevInclude (), creating it if it does not already exist.StringgetType()Gets the value(s) for type ().ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceTypeEnum>getTypeElement()Gets the value(s) for type ().BooleangetUpdateCreate()Gets the value(s) for updateCreate ().ca.uhn.fhir.model.primitive.BooleanDtgetUpdateCreateElement()Gets the value(s) for updateCreate ().StringgetVersioning()Gets the value(s) for versioning ().ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceVersionPolicyEnum>getVersioningElement()Gets the value(s) for versioning ().booleanisEmpty()Conformance.RestResourcesetConditionalCreate(boolean theBoolean)Sets the value for conditionalCreate ()Conformance.RestResourcesetConditionalCreate(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for conditionalCreate ()Conformance.RestResourcesetConditionalDelete(ConditionalDeleteStatusEnum theValue)Sets the value(s) for conditionalDelete ()Conformance.RestResourcesetConditionalDelete(ca.uhn.fhir.model.primitive.BoundCodeDt<ConditionalDeleteStatusEnum> theValue)Sets the value(s) for conditionalDelete ()Conformance.RestResourcesetConditionalUpdate(boolean theBoolean)Sets the value for conditionalUpdate ()Conformance.RestResourcesetConditionalUpdate(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for conditionalUpdate ()Conformance.RestResourcesetInteraction(List<Conformance.RestResourceInteraction> theValue)Sets the value(s) for interaction ()Conformance.RestResourcesetProfile(ResourceReferenceDt theValue)Sets the value(s) for profile ()Conformance.RestResourcesetReadHistory(boolean theBoolean)Sets the value for readHistory ()Conformance.RestResourcesetReadHistory(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for readHistory ()Conformance.RestResourcesetSearchInclude(List<ca.uhn.fhir.model.primitive.StringDt> theValue)Sets the value(s) for searchInclude ()Conformance.RestResourcesetSearchParam(List<Conformance.RestResourceSearchParam> theValue)Sets the value(s) for searchParam ()Conformance.RestResourcesetSearchRevInclude(List<ca.uhn.fhir.model.primitive.StringDt> theValue)Sets the value(s) for searchRevInclude ()Conformance.RestResourcesetType(ResourceTypeEnum theValue)Sets the value(s) for type ()Conformance.RestResourcesetType(ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceTypeEnum> theValue)Sets the value(s) for type ()Conformance.RestResourcesetUpdateCreate(boolean theBoolean)Sets the value for updateCreate ()Conformance.RestResourcesetUpdateCreate(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for updateCreate ()Conformance.RestResourcesetVersioning(ResourceVersionPolicyEnum theValue)Sets the value(s) for versioning ()Conformance.RestResourcesetVersioning(ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceVersionPolicyEnum> theValue)Sets the value(s) for versioning ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
RestResource
public RestResource()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getTypeElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceTypeEnum> getTypeElement()
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull.Definition: A type of resource exposed via the restful interface
-
getType
public String getType()
Gets the value(s) for type (). creating it if it does not exist. This method may returnnull.Definition: A type of resource exposed via the restful interface
-
setType
public Conformance.RestResource setType(ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceTypeEnum> theValue)
Sets the value(s) for type ()Definition: A type of resource exposed via the restful interface
-
setType
public Conformance.RestResource setType(ResourceTypeEnum theValue)
Sets the value(s) for type ()Definition: A type of resource exposed via the restful interface
-
getProfile
public ResourceReferenceDt getProfile()
Gets the value(s) for profile (). creating it if it does not exist. Will not returnnull.Definition: A specification of the profile that describes the solution's overall support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses}
-
setProfile
public Conformance.RestResource setProfile(ResourceReferenceDt theValue)
Sets the value(s) for profile ()Definition: A specification of the profile that describes the solution's overall support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses}
-
getInteraction
public List<Conformance.RestResourceInteraction> getInteraction()
Gets the value(s) for interaction (). creating it if it does not exist. Will not returnnull.Definition: Identifies a restful operation supported by the solution
-
setInteraction
public Conformance.RestResource setInteraction(List<Conformance.RestResourceInteraction> theValue)
Sets the value(s) for interaction ()Definition: Identifies a restful operation supported by the solution
-
addInteraction
public Conformance.RestResourceInteraction addInteraction()
Adds and returns a new value for interaction ()Definition: Identifies a restful operation supported by the solution
-
addInteraction
public Conformance.RestResource addInteraction(Conformance.RestResourceInteraction theValue)
Adds a given new value for interaction ()Definition: Identifies a restful operation supported by the solution
- Parameters:
theValue- The interaction to add (must not benull)
-
getInteractionFirstRep
public Conformance.RestResourceInteraction getInteractionFirstRep()
Gets the first repetition for interaction (), creating it if it does not already exist.Definition: Identifies a restful operation supported by the solution
-
getVersioningElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceVersionPolicyEnum> getVersioningElement()
Gets the value(s) for versioning (). creating it if it does not exist. Will not returnnull.Definition: This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is 'versioned-update', then the server supports all the versioning features, including using e-tags for version integrity in the API
-
getVersioning
public String getVersioning()
Gets the value(s) for versioning (). creating it if it does not exist. This method may returnnull.Definition: This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is 'versioned-update', then the server supports all the versioning features, including using e-tags for version integrity in the API
-
setVersioning
public Conformance.RestResource setVersioning(ca.uhn.fhir.model.primitive.BoundCodeDt<ResourceVersionPolicyEnum> theValue)
Sets the value(s) for versioning ()Definition: This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is 'versioned-update', then the server supports all the versioning features, including using e-tags for version integrity in the API
-
setVersioning
public Conformance.RestResource setVersioning(ResourceVersionPolicyEnum theValue)
Sets the value(s) for versioning ()Definition: This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is 'versioned-update', then the server supports all the versioning features, including using e-tags for version integrity in the API
-
getReadHistoryElement
public ca.uhn.fhir.model.primitive.BooleanDt getReadHistoryElement()
Gets the value(s) for readHistory (). creating it if it does not exist. Will not returnnull.Definition: A flag for whether the server is able to return past versions as part of the vRead operation
-
getReadHistory
public Boolean getReadHistory()
Gets the value(s) for readHistory (). creating it if it does not exist. This method may returnnull.Definition: A flag for whether the server is able to return past versions as part of the vRead operation
-
setReadHistory
public Conformance.RestResource setReadHistory(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for readHistory ()Definition: A flag for whether the server is able to return past versions as part of the vRead operation
-
setReadHistory
public Conformance.RestResource setReadHistory(boolean theBoolean)
Sets the value for readHistory ()Definition: A flag for whether the server is able to return past versions as part of the vRead operation
-
getUpdateCreateElement
public ca.uhn.fhir.model.primitive.BooleanDt getUpdateCreateElement()
Gets the value(s) for updateCreate (). creating it if it does not exist. Will not returnnull.Definition: A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server
-
getUpdateCreate
public Boolean getUpdateCreate()
Gets the value(s) for updateCreate (). creating it if it does not exist. This method may returnnull.Definition: A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server
-
setUpdateCreate
public Conformance.RestResource setUpdateCreate(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for updateCreate ()Definition: A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server
-
setUpdateCreate
public Conformance.RestResource setUpdateCreate(boolean theBoolean)
Sets the value for updateCreate ()Definition: A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server
-
getConditionalCreateElement
public ca.uhn.fhir.model.primitive.BooleanDt getConditionalCreateElement()
Gets the value(s) for conditionalCreate (). creating it if it does not exist. Will not returnnull.Definition: A flag that indicates that the server supports conditional create
-
getConditionalCreate
public Boolean getConditionalCreate()
Gets the value(s) for conditionalCreate (). creating it if it does not exist. This method may returnnull.Definition: A flag that indicates that the server supports conditional create
-
setConditionalCreate
public Conformance.RestResource setConditionalCreate(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for conditionalCreate ()Definition: A flag that indicates that the server supports conditional create
-
setConditionalCreate
public Conformance.RestResource setConditionalCreate(boolean theBoolean)
Sets the value for conditionalCreate ()Definition: A flag that indicates that the server supports conditional create
-
getConditionalUpdateElement
public ca.uhn.fhir.model.primitive.BooleanDt getConditionalUpdateElement()
Gets the value(s) for conditionalUpdate (). creating it if it does not exist. Will not returnnull.Definition: A flag that indicates that the server supports conditional update
-
getConditionalUpdate
public Boolean getConditionalUpdate()
Gets the value(s) for conditionalUpdate (). creating it if it does not exist. This method may returnnull.Definition: A flag that indicates that the server supports conditional update
-
setConditionalUpdate
public Conformance.RestResource setConditionalUpdate(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for conditionalUpdate ()Definition: A flag that indicates that the server supports conditional update
-
setConditionalUpdate
public Conformance.RestResource setConditionalUpdate(boolean theBoolean)
Sets the value for conditionalUpdate ()Definition: A flag that indicates that the server supports conditional update
-
getConditionalDeleteElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<ConditionalDeleteStatusEnum> getConditionalDeleteElement()
Gets the value(s) for conditionalDelete (). creating it if it does not exist. Will not returnnull.Definition: A code that indicates how the server supports conditional delete
-
getConditionalDelete
public String getConditionalDelete()
Gets the value(s) for conditionalDelete (). creating it if it does not exist. This method may returnnull.Definition: A code that indicates how the server supports conditional delete
-
setConditionalDelete
public Conformance.RestResource setConditionalDelete(ca.uhn.fhir.model.primitive.BoundCodeDt<ConditionalDeleteStatusEnum> theValue)
Sets the value(s) for conditionalDelete ()Definition: A code that indicates how the server supports conditional delete
-
setConditionalDelete
public Conformance.RestResource setConditionalDelete(ConditionalDeleteStatusEnum theValue)
Sets the value(s) for conditionalDelete ()Definition: A code that indicates how the server supports conditional delete
-
getSearchInclude
public List<ca.uhn.fhir.model.primitive.StringDt> getSearchInclude()
Gets the value(s) for searchInclude (). creating it if it does not exist. Will not returnnull.Definition: A list of _include values supported by the server
-
setSearchInclude
public Conformance.RestResource setSearchInclude(List<ca.uhn.fhir.model.primitive.StringDt> theValue)
Sets the value(s) for searchInclude ()Definition: A list of _include values supported by the server
-
addSearchInclude
public ca.uhn.fhir.model.primitive.StringDt addSearchInclude()
Adds and returns a new value for searchInclude ()Definition: A list of _include values supported by the server
-
addSearchInclude
public Conformance.RestResource addSearchInclude(ca.uhn.fhir.model.primitive.StringDt theValue)
Adds a given new value for searchInclude ()Definition: A list of _include values supported by the server
- Parameters:
theValue- The searchInclude to add (must not benull)
-
getSearchIncludeFirstRep
public ca.uhn.fhir.model.primitive.StringDt getSearchIncludeFirstRep()
Gets the first repetition for searchInclude (), creating it if it does not already exist.Definition: A list of _include values supported by the server
-
addSearchInclude
public Conformance.RestResource addSearchInclude(String theString)
Adds a new value for searchInclude ()Definition: A list of _include values supported by the server
- Returns:
- Returns a reference to this object, to allow for simple chaining.
-
getSearchRevInclude
public List<ca.uhn.fhir.model.primitive.StringDt> getSearchRevInclude()
Gets the value(s) for searchRevInclude (). creating it if it does not exist. Will not returnnull.Definition: A list of _revinclude (reverse include) values supported by the server
-
setSearchRevInclude
public Conformance.RestResource setSearchRevInclude(List<ca.uhn.fhir.model.primitive.StringDt> theValue)
Sets the value(s) for searchRevInclude ()Definition: A list of _revinclude (reverse include) values supported by the server
-
addSearchRevInclude
public ca.uhn.fhir.model.primitive.StringDt addSearchRevInclude()
Adds and returns a new value for searchRevInclude ()Definition: A list of _revinclude (reverse include) values supported by the server
-
addSearchRevInclude
public Conformance.RestResource addSearchRevInclude(ca.uhn.fhir.model.primitive.StringDt theValue)
Adds a given new value for searchRevInclude ()Definition: A list of _revinclude (reverse include) values supported by the server
- Parameters:
theValue- The searchRevInclude to add (must not benull)
-
getSearchRevIncludeFirstRep
public ca.uhn.fhir.model.primitive.StringDt getSearchRevIncludeFirstRep()
Gets the first repetition for searchRevInclude (), creating it if it does not already exist.Definition: A list of _revinclude (reverse include) values supported by the server
-
addSearchRevInclude
public Conformance.RestResource addSearchRevInclude(String theString)
Adds a new value for searchRevInclude ()Definition: A list of _revinclude (reverse include) values supported by the server
- Returns:
- Returns a reference to this object, to allow for simple chaining.
-
getSearchParam
public List<Conformance.RestResourceSearchParam> getSearchParam()
Gets the value(s) for searchParam (). creating it if it does not exist. Will not returnnull.Definition: Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation
-
setSearchParam
public Conformance.RestResource setSearchParam(List<Conformance.RestResourceSearchParam> theValue)
Sets the value(s) for searchParam ()Definition: Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation
-
addSearchParam
public Conformance.RestResourceSearchParam addSearchParam()
Adds and returns a new value for searchParam ()Definition: Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation
-
addSearchParam
public Conformance.RestResource addSearchParam(Conformance.RestResourceSearchParam theValue)
Adds a given new value for searchParam ()Definition: Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation
- Parameters:
theValue- The searchParam to add (must not benull)
-
getSearchParamFirstRep
public Conformance.RestResourceSearchParam getSearchParamFirstRep()
Gets the first repetition for searchParam (), creating it if it does not already exist.Definition: Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation
-
-