Package org.hl7.fhir.r5.model
Class CapabilityStatement2.CapabilityStatement2RestComponent
- java.lang.Object
-
- org.hl7.fhir.r5.model.Base
-
- org.hl7.fhir.r5.model.Element
-
- org.hl7.fhir.r5.model.BackboneElement
-
- org.hl7.fhir.r5.model.CapabilityStatement2.CapabilityStatement2RestComponent
-
- 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:
- CapabilityStatement2
public static class CapabilityStatement2.CapabilityStatement2RestComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<CanonicalType>compartmentAn absolute URI which is a reference to the definition of a compartment that the system supports.protected MarkdownTypedocumentationInformation about the system's restful capabilities that apply across all applications, such as security.protected List<CapabilityStatement2.CapabilityStatement2RestFeatureComponent>featureA statement that affirms support for a feature.protected List<CapabilityStatement2.SystemInteractionComponent>interactionA specification of restful operations supported by the system.protected Enumeration<Enumerations.RestfulCapabilityMode>modeIdentifies whether this portion of the statement is describing the ability to initiate or receive restful operations.protected List<CapabilityStatement2.CapabilityStatement2RestResourceOperationComponent>operationDefinition of an operation or a named query together with its parameters and their meaning and type.protected List<CapabilityStatement2.CapabilityStatement2RestResourceComponent>resourceA specification of the restful capabilities of the solution for a specific resource type.protected List<CapabilityStatement2.CapabilityStatement2RestResourceSearchParamComponent>searchParamSearch parameters that are supported for searching all resources 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.-
Fields inherited from class org.hl7.fhir.r5.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description CapabilityStatement2RestComponent()ConstructorCapabilityStatement2RestComponent(Enumerations.RestfulCapabilityMode mode)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.model.BackboneElement
addModifierExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, removeExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r5.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, 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
-
mode
protected Enumeration<Enumerations.RestfulCapabilityMode> mode
Identifies whether this portion of the statement is describing the ability to initiate or receive restful operations.
-
documentation
protected MarkdownType documentation
Information about the system's restful capabilities that apply across all applications, such as security.
-
feature
protected List<CapabilityStatement2.CapabilityStatement2RestFeatureComponent> feature
A statement that affirms support for a feature.
-
resource
protected List<CapabilityStatement2.CapabilityStatement2RestResourceComponent> resource
A specification of the restful capabilities of the solution for a specific resource type.
-
interaction
protected List<CapabilityStatement2.SystemInteractionComponent> interaction
A specification of restful operations supported by the system.
-
searchParam
protected List<CapabilityStatement2.CapabilityStatement2RestResourceSearchParamComponent> searchParam
Search parameters that are supported for searching all resources 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.
-
operation
protected List<CapabilityStatement2.CapabilityStatement2RestResourceOperationComponent> operation
Definition of an operation or a named query together with its parameters and their meaning and type.
-
compartment
protected List<CanonicalType> compartment
An absolute URI which is a reference to the definition of a compartment that the system supports. The reference is to a CompartmentDefinition resource by its canonical URL .
-
-
Constructor Detail
-
CapabilityStatement2RestComponent
public CapabilityStatement2RestComponent()
Constructor
-
CapabilityStatement2RestComponent
public CapabilityStatement2RestComponent(Enumerations.RestfulCapabilityMode mode)
Constructor
-
-
Method Detail
-
getModeElement
public Enumeration<Enumerations.RestfulCapabilityMode> getModeElement()
- Returns:
mode(Identifies whether this portion of the statement is describing the ability to initiate or receive restful operations.). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value
-
hasModeElement
public boolean hasModeElement()
-
hasMode
public boolean hasMode()
-
setModeElement
public CapabilityStatement2.CapabilityStatement2RestComponent setModeElement(Enumeration<Enumerations.RestfulCapabilityMode> value)
- Parameters:
value-mode(Identifies whether this portion of the statement is describing the ability to initiate or receive restful operations.). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value
-
getMode
public Enumerations.RestfulCapabilityMode getMode()
- Returns:
- Identifies whether this portion of the statement is describing the ability to initiate or receive restful operations.
-
setMode
public CapabilityStatement2.CapabilityStatement2RestComponent setMode(Enumerations.RestfulCapabilityMode value)
- Parameters:
value- Identifies whether this portion of the statement is describing the ability to initiate or receive restful operations.
-
getDocumentationElement
public MarkdownType getDocumentationElement()
- Returns:
documentation(Information about the system's restful capabilities that apply across all applications, such as security.). This is the underlying object with id, value and extensions. The accessor "getDocumentation" gives direct access to the value
-
hasDocumentationElement
public boolean hasDocumentationElement()
-
hasDocumentation
public boolean hasDocumentation()
-
setDocumentationElement
public CapabilityStatement2.CapabilityStatement2RestComponent setDocumentationElement(MarkdownType value)
- Parameters:
value-documentation(Information about the system's restful capabilities that apply across all applications, such as security.). This is the underlying object with id, value and extensions. The accessor "getDocumentation" gives direct access to the value
-
getDocumentation
public String getDocumentation()
- Returns:
- Information about the system's restful capabilities that apply across all applications, such as security.
-
setDocumentation
public CapabilityStatement2.CapabilityStatement2RestComponent setDocumentation(String value)
- Parameters:
value- Information about the system's restful capabilities that apply across all applications, such as security.
-
getFeature
public List<CapabilityStatement2.CapabilityStatement2RestFeatureComponent> getFeature()
- Returns:
feature(A statement that affirms support for a feature.)
-
setFeature
public CapabilityStatement2.CapabilityStatement2RestComponent setFeature(List<CapabilityStatement2.CapabilityStatement2RestFeatureComponent> theFeature)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasFeature
public boolean hasFeature()
-
addFeature
public CapabilityStatement2.CapabilityStatement2RestFeatureComponent addFeature()
-
addFeature
public CapabilityStatement2.CapabilityStatement2RestComponent addFeature(CapabilityStatement2.CapabilityStatement2RestFeatureComponent t)
-
getFeatureFirstRep
public CapabilityStatement2.CapabilityStatement2RestFeatureComponent getFeatureFirstRep()
- Returns:
- The first repetition of repeating field
feature, creating it if it does not already exist {3}
-
getResource
public List<CapabilityStatement2.CapabilityStatement2RestResourceComponent> getResource()
- Returns:
resource(A specification of the restful capabilities of the solution for a specific resource type.)
-
setResource
public CapabilityStatement2.CapabilityStatement2RestComponent setResource(List<CapabilityStatement2.CapabilityStatement2RestResourceComponent> theResource)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasResource
public boolean hasResource()
-
addResource
public CapabilityStatement2.CapabilityStatement2RestResourceComponent addResource()
-
addResource
public CapabilityStatement2.CapabilityStatement2RestComponent addResource(CapabilityStatement2.CapabilityStatement2RestResourceComponent t)
-
getResourceFirstRep
public CapabilityStatement2.CapabilityStatement2RestResourceComponent getResourceFirstRep()
- Returns:
- The first repetition of repeating field
resource, creating it if it does not already exist {3}
-
getInteraction
public List<CapabilityStatement2.SystemInteractionComponent> getInteraction()
- Returns:
interaction(A specification of restful operations supported by the system.)
-
setInteraction
public CapabilityStatement2.CapabilityStatement2RestComponent setInteraction(List<CapabilityStatement2.SystemInteractionComponent> theInteraction)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasInteraction
public boolean hasInteraction()
-
addInteraction
public CapabilityStatement2.SystemInteractionComponent addInteraction()
-
addInteraction
public CapabilityStatement2.CapabilityStatement2RestComponent addInteraction(CapabilityStatement2.SystemInteractionComponent t)
-
getInteractionFirstRep
public CapabilityStatement2.SystemInteractionComponent getInteractionFirstRep()
- Returns:
- The first repetition of repeating field
interaction, creating it if it does not already exist {3}
-
getSearchParam
public List<CapabilityStatement2.CapabilityStatement2RestResourceSearchParamComponent> getSearchParam()
- Returns:
searchParam(Search parameters that are supported for searching all resources 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 CapabilityStatement2.CapabilityStatement2RestComponent setSearchParam(List<CapabilityStatement2.CapabilityStatement2RestResourceSearchParamComponent> theSearchParam)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSearchParam
public boolean hasSearchParam()
-
addSearchParam
public CapabilityStatement2.CapabilityStatement2RestResourceSearchParamComponent addSearchParam()
-
addSearchParam
public CapabilityStatement2.CapabilityStatement2RestComponent addSearchParam(CapabilityStatement2.CapabilityStatement2RestResourceSearchParamComponent t)
-
getSearchParamFirstRep
public CapabilityStatement2.CapabilityStatement2RestResourceSearchParamComponent getSearchParamFirstRep()
- Returns:
- The first repetition of repeating field
searchParam, creating it if it does not already exist {3}
-
getOperation
public List<CapabilityStatement2.CapabilityStatement2RestResourceOperationComponent> getOperation()
- Returns:
operation(Definition of an operation or a named query together with its parameters and their meaning and type.)
-
setOperation
public CapabilityStatement2.CapabilityStatement2RestComponent setOperation(List<CapabilityStatement2.CapabilityStatement2RestResourceOperationComponent> theOperation)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasOperation
public boolean hasOperation()
-
addOperation
public CapabilityStatement2.CapabilityStatement2RestResourceOperationComponent addOperation()
-
addOperation
public CapabilityStatement2.CapabilityStatement2RestComponent addOperation(CapabilityStatement2.CapabilityStatement2RestResourceOperationComponent t)
-
getOperationFirstRep
public CapabilityStatement2.CapabilityStatement2RestResourceOperationComponent getOperationFirstRep()
- Returns:
- The first repetition of repeating field
operation, creating it if it does not already exist {3}
-
getCompartment
public List<CanonicalType> getCompartment()
- Returns:
compartment(An absolute URI which is a reference to the definition of a compartment that the system supports. The reference is to a CompartmentDefinition resource by its canonical URL .)
-
setCompartment
public CapabilityStatement2.CapabilityStatement2RestComponent setCompartment(List<CanonicalType> theCompartment)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCompartment
public boolean hasCompartment()
-
addCompartmentElement
public CanonicalType addCompartmentElement()
- Returns:
compartment(An absolute URI which is a reference to the definition of a compartment that the system supports. The reference is to a CompartmentDefinition resource by its canonical URL .)
-
addCompartment
public CapabilityStatement2.CapabilityStatement2RestComponent addCompartment(String value)
- Parameters:
value-compartment(An absolute URI which is a reference to the definition of a compartment that the system supports. The reference is to a CompartmentDefinition resource by its canonical URL .)
-
hasCompartment
public boolean hasCompartment(String value)
- Parameters:
value-compartment(An absolute URI which is a reference to the definition of a compartment that the system supports. The reference is to a CompartmentDefinition resource by its canonical URL .)
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin 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 CapabilityStatement2.CapabilityStatement2RestComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(CapabilityStatement2.CapabilityStatement2RestComponent dst)
-
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
-
-