Package org.hl7.fhir.dstu2.model
Class Conformance.ConformanceRestResourceComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.Element
-
- org.hl7.fhir.dstu2.model.BackboneElement
-
- org.hl7.fhir.dstu2.model.Conformance.ConformanceRestResourceComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- Conformance
public static class Conformance.ConformanceRestResourceComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanTypeconditionalCreateA flag that indicates that the server supports conditional create.protected Enumeration<Conformance.ConditionalDeleteStatus>conditionalDeleteA code that indicates how the server supports conditional delete.protected BooleanTypeconditionalUpdateA flag that indicates that the server supports conditional update.protected List<Conformance.ResourceInteractionComponent>interactionIdentifies a restful operation supported by the solution.protected ReferenceprofileA specification of the profile that describes the solution's overall support for the resource, including any constraints on cardinality, bindings, lengths or other limitations.protected StructureDefinitionprofileTargetThe actual object that is the target of the reference (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.protected BooleanTypereadHistoryA flag for whether the server is able to return past versions as part of the vRead operation.protected List<StringType>searchIncludeA list of _include values supported by the server.protected List<Conformance.ConformanceRestResourceSearchParamComponent>searchParamSearch 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.protected List<StringType>searchRevIncludeA list of _revinclude (reverse include) values supported by the server.protected CodeTypetypeA type of resource exposed via the restful interface.protected BooleanTypeupdateCreateA flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g.protected Enumeration<Conformance.ResourceVersionPolicy>versioningThis field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type.-
Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ConformanceRestResourceComponent()ConformanceRestResourceComponent(CodeType type)
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
profile
protected Reference profile
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}.
-
profileTarget
protected StructureDefinition profileTarget
The actual object that is the target of the reference (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}.)
-
interaction
protected List<Conformance.ResourceInteractionComponent> interaction
Identifies a restful operation supported by the solution.
-
versioning
protected Enumeration<Conformance.ResourceVersionPolicy> versioning
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.
-
readHistory
protected BooleanType readHistory
A flag for whether the server is able to return past versions as part of the vRead operation.
-
updateCreate
protected BooleanType updateCreate
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.
-
conditionalCreate
protected BooleanType conditionalCreate
A flag that indicates that the server supports conditional create.
-
conditionalUpdate
protected BooleanType conditionalUpdate
A flag that indicates that the server supports conditional update.
-
conditionalDelete
protected Enumeration<Conformance.ConditionalDeleteStatus> conditionalDelete
A code that indicates how the server supports conditional delete.
-
searchInclude
protected List<StringType> searchInclude
A list of _include values supported by the server.
-
searchRevInclude
protected List<StringType> searchRevInclude
A list of _revinclude (reverse include) values supported by the server.
-
searchParam
protected List<Conformance.ConformanceRestResourceSearchParamComponent> searchParam
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.
-
-
Constructor Detail
-
ConformanceRestResourceComponent
public ConformanceRestResourceComponent()
-
ConformanceRestResourceComponent
public ConformanceRestResourceComponent(CodeType type)
-
-
Method Detail
-
getTypeElement
public CodeType getTypeElement()
- Returns:
type(A type of resource exposed via the restful interface.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
hasTypeElement
public boolean hasTypeElement()
-
hasType
public boolean hasType()
-
setTypeElement
public Conformance.ConformanceRestResourceComponent setTypeElement(CodeType value)
- Parameters:
value-type(A type of resource exposed via the restful interface.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
setType
public Conformance.ConformanceRestResourceComponent setType(String value)
- Parameters:
value- A type of resource exposed via the restful interface.
-
getProfile
public Reference getProfile()
- Returns:
profile(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}.)
-
hasProfile
public boolean hasProfile()
-
setProfile
public Conformance.ConformanceRestResourceComponent setProfile(Reference value)
- Parameters:
value-profile(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}.)
-
getProfileTarget
public StructureDefinition getProfileTarget()
- Returns:
profileThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (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}.)
-
setProfileTarget
public Conformance.ConformanceRestResourceComponent setProfileTarget(StructureDefinition value)
- Parameters:
value-profileThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (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.ResourceInteractionComponent> getInteraction()
- Returns:
interaction(Identifies a restful operation supported by the solution.)
-
hasInteraction
public boolean hasInteraction()
-
addInteraction
public Conformance.ResourceInteractionComponent addInteraction()
- Returns:
interaction(Identifies a restful operation supported by the solution.)
-
addInteraction
public Conformance.ConformanceRestResourceComponent addInteraction(Conformance.ResourceInteractionComponent t)
-
getVersioningElement
public Enumeration<Conformance.ResourceVersionPolicy> getVersioningElement()
- Returns:
versioning(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.). This is the underlying object with id, value and extensions. The accessor "getVersioning" gives direct access to the value
-
hasVersioningElement
public boolean hasVersioningElement()
-
hasVersioning
public boolean hasVersioning()
-
setVersioningElement
public Conformance.ConformanceRestResourceComponent setVersioningElement(Enumeration<Conformance.ResourceVersionPolicy> value)
- Parameters:
value-versioning(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.). This is the underlying object with id, value and extensions. The accessor "getVersioning" gives direct access to the value
-
getVersioning
public Conformance.ResourceVersionPolicy getVersioning()
- Returns:
- 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.ConformanceRestResourceComponent setVersioning(Conformance.ResourceVersionPolicy value)
- Parameters:
value- 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 BooleanType getReadHistoryElement()
- Returns:
readHistory(A flag for whether the server is able to return past versions as part of the vRead operation.). This is the underlying object with id, value and extensions. The accessor "getReadHistory" gives direct access to the value
-
hasReadHistoryElement
public boolean hasReadHistoryElement()
-
hasReadHistory
public boolean hasReadHistory()
-
setReadHistoryElement
public Conformance.ConformanceRestResourceComponent setReadHistoryElement(BooleanType value)
- Parameters:
value-readHistory(A flag for whether the server is able to return past versions as part of the vRead operation.). This is the underlying object with id, value and extensions. The accessor "getReadHistory" gives direct access to the value
-
getReadHistory
public boolean getReadHistory()
- Returns:
- A flag for whether the server is able to return past versions as part of the vRead operation.
-
setReadHistory
public Conformance.ConformanceRestResourceComponent setReadHistory(boolean value)
- Parameters:
value- A flag for whether the server is able to return past versions as part of the vRead operation.
-
getUpdateCreateElement
public BooleanType getUpdateCreateElement()
- Returns:
updateCreate(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.). This is the underlying object with id, value and extensions. The accessor "getUpdateCreate" gives direct access to the value
-
hasUpdateCreateElement
public boolean hasUpdateCreateElement()
-
hasUpdateCreate
public boolean hasUpdateCreate()
-
setUpdateCreateElement
public Conformance.ConformanceRestResourceComponent setUpdateCreateElement(BooleanType value)
- Parameters:
value-updateCreate(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.). This is the underlying object with id, value and extensions. The accessor "getUpdateCreate" gives direct access to the value
-
getUpdateCreate
public boolean getUpdateCreate()
- Returns:
- 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.ConformanceRestResourceComponent setUpdateCreate(boolean value)
- Parameters:
value- 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 BooleanType getConditionalCreateElement()
- Returns:
conditionalCreate(A flag that indicates that the server supports conditional create.). This is the underlying object with id, value and extensions. The accessor "getConditionalCreate" gives direct access to the value
-
hasConditionalCreateElement
public boolean hasConditionalCreateElement()
-
hasConditionalCreate
public boolean hasConditionalCreate()
-
setConditionalCreateElement
public Conformance.ConformanceRestResourceComponent setConditionalCreateElement(BooleanType value)
- Parameters:
value-conditionalCreate(A flag that indicates that the server supports conditional create.). This is the underlying object with id, value and extensions. The accessor "getConditionalCreate" gives direct access to the value
-
getConditionalCreate
public boolean getConditionalCreate()
- Returns:
- A flag that indicates that the server supports conditional create.
-
setConditionalCreate
public Conformance.ConformanceRestResourceComponent setConditionalCreate(boolean value)
- Parameters:
value- A flag that indicates that the server supports conditional create.
-
getConditionalUpdateElement
public BooleanType getConditionalUpdateElement()
- Returns:
conditionalUpdate(A flag that indicates that the server supports conditional update.). This is the underlying object with id, value and extensions. The accessor "getConditionalUpdate" gives direct access to the value
-
hasConditionalUpdateElement
public boolean hasConditionalUpdateElement()
-
hasConditionalUpdate
public boolean hasConditionalUpdate()
-
setConditionalUpdateElement
public Conformance.ConformanceRestResourceComponent setConditionalUpdateElement(BooleanType value)
- Parameters:
value-conditionalUpdate(A flag that indicates that the server supports conditional update.). This is the underlying object with id, value and extensions. The accessor "getConditionalUpdate" gives direct access to the value
-
getConditionalUpdate
public boolean getConditionalUpdate()
- Returns:
- A flag that indicates that the server supports conditional update.
-
setConditionalUpdate
public Conformance.ConformanceRestResourceComponent setConditionalUpdate(boolean value)
- Parameters:
value- A flag that indicates that the server supports conditional update.
-
getConditionalDeleteElement
public Enumeration<Conformance.ConditionalDeleteStatus> getConditionalDeleteElement()
- Returns:
conditionalDelete(A code that indicates how the server supports conditional delete.). This is the underlying object with id, value and extensions. The accessor "getConditionalDelete" gives direct access to the value
-
hasConditionalDeleteElement
public boolean hasConditionalDeleteElement()
-
hasConditionalDelete
public boolean hasConditionalDelete()
-
setConditionalDeleteElement
public Conformance.ConformanceRestResourceComponent setConditionalDeleteElement(Enumeration<Conformance.ConditionalDeleteStatus> value)
- Parameters:
value-conditionalDelete(A code that indicates how the server supports conditional delete.). This is the underlying object with id, value and extensions. The accessor "getConditionalDelete" gives direct access to the value
-
getConditionalDelete
public Conformance.ConditionalDeleteStatus getConditionalDelete()
- Returns:
- A code that indicates how the server supports conditional delete.
-
setConditionalDelete
public Conformance.ConformanceRestResourceComponent setConditionalDelete(Conformance.ConditionalDeleteStatus value)
- Parameters:
value- A code that indicates how the server supports conditional delete.
-
getSearchInclude
public List<StringType> getSearchInclude()
- Returns:
searchInclude(A list of _include values supported by the server.)
-
hasSearchInclude
public boolean hasSearchInclude()
-
addSearchIncludeElement
public StringType addSearchIncludeElement()
- Returns:
searchInclude(A list of _include values supported by the server.)
-
addSearchInclude
public Conformance.ConformanceRestResourceComponent addSearchInclude(String value)
- Parameters:
value-searchInclude(A list of _include values supported by the server.)
-
hasSearchInclude
public boolean hasSearchInclude(String value)
- Parameters:
value-searchInclude(A list of _include values supported by the server.)
-
getSearchRevInclude
public List<StringType> getSearchRevInclude()
- Returns:
searchRevInclude(A list of _revinclude (reverse include) values supported by the server.)
-
hasSearchRevInclude
public boolean hasSearchRevInclude()
-
addSearchRevIncludeElement
public StringType addSearchRevIncludeElement()
- Returns:
searchRevInclude(A list of _revinclude (reverse include) values supported by the server.)
-
addSearchRevInclude
public Conformance.ConformanceRestResourceComponent addSearchRevInclude(String value)
- Parameters:
value-searchRevInclude(A list of _revinclude (reverse include) values supported by the server.)
-
hasSearchRevInclude
public boolean hasSearchRevInclude(String value)
- Parameters:
value-searchRevInclude(A list of _revinclude (reverse include) values supported by the server.)
-
getSearchParam
public List<Conformance.ConformanceRestResourceSearchParamComponent> getSearchParam()
- Returns:
searchParam(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.)
-
hasSearchParam
public boolean hasSearchParam()
-
addSearchParam
public Conformance.ConformanceRestResourceSearchParamComponent addSearchParam()
- Returns:
searchParam(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.ConformanceRestResourceComponent addSearchParam(Conformance.ConformanceRestResourceSearchParamComponent t)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public Conformance.ConformanceRestResourceComponent copy()
- Specified by:
copyin classBackboneElement
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-