Class Conformance.Rest
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.Conformance.Rest
-
- 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.Rest extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Conformance.rest ()Definition: A definition of the restful capabilities of the solution, if any
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Rest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ca.uhn.fhir.model.primitive.UriDtaddCompartment()Adds and returns a new value for compartment ()Conformance.RestaddCompartment(ca.uhn.fhir.model.primitive.UriDt theValue)Adds a given new value for compartment ()Conformance.RestaddCompartment(String theUri)Adds a new value for compartment ()Conformance.RestInteractionaddInteraction()Adds and returns a new value for interaction ()Conformance.RestaddInteraction(Conformance.RestInteraction theValue)Adds a given new value for interaction ()Conformance.RestOperationaddOperation()Adds and returns a new value for operation ()Conformance.RestaddOperation(Conformance.RestOperation theValue)Adds a given new value for operation ()Conformance.RestResourceaddResource()Adds and returns a new value for resource ()Conformance.RestaddResource(Conformance.RestResource theValue)Adds a given new value for resource ()Conformance.RestResourceSearchParamaddSearchParam()Adds and returns a new value for searchParam ()Conformance.RestaddSearchParam(Conformance.RestResourceSearchParam theValue)Adds a given new value for searchParam ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)List<ca.uhn.fhir.model.primitive.UriDt>getCompartment()Gets the value(s) for compartment ().ca.uhn.fhir.model.primitive.UriDtgetCompartmentFirstRep()Gets the first repetition for compartment (), creating it if it does not already exist.StringgetDocumentation()Gets the value(s) for documentation ().ca.uhn.fhir.model.primitive.StringDtgetDocumentationElement()Gets the value(s) for documentation ().List<Conformance.RestInteraction>getInteraction()Gets the value(s) for interaction ().Conformance.RestInteractiongetInteractionFirstRep()Gets the first repetition for interaction (), creating it if it does not already exist.StringgetMode()Gets the value(s) for mode ().ca.uhn.fhir.model.primitive.BoundCodeDt<RestfulConformanceModeEnum>getModeElement()Gets the value(s) for mode ().List<Conformance.RestOperation>getOperation()Gets the value(s) for operation ().Conformance.RestOperationgetOperationFirstRep()Gets the first repetition for operation (), creating it if it does not already exist.List<Conformance.RestResource>getResource()Gets the value(s) for resource ().Conformance.RestResourcegetResourceFirstRep()Gets the first repetition for resource (), 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.Conformance.RestSecuritygetSecurity()Gets the value(s) for security ().StringgetTransactionMode()Gets the value(s) for transactionMode ().ca.uhn.fhir.model.primitive.BoundCodeDt<TransactionModeEnum>getTransactionModeElement()Gets the value(s) for transactionMode ().booleanisEmpty()Conformance.RestsetCompartment(List<ca.uhn.fhir.model.primitive.UriDt> theValue)Sets the value(s) for compartment ()Conformance.RestsetDocumentation(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for documentation ()Conformance.RestsetDocumentation(String theString)Sets the value for documentation ()Conformance.RestsetInteraction(List<Conformance.RestInteraction> theValue)Sets the value(s) for interaction ()Conformance.RestsetMode(RestfulConformanceModeEnum theValue)Sets the value(s) for mode ()Conformance.RestsetMode(ca.uhn.fhir.model.primitive.BoundCodeDt<RestfulConformanceModeEnum> theValue)Sets the value(s) for mode ()Conformance.RestsetOperation(List<Conformance.RestOperation> theValue)Sets the value(s) for operation ()Conformance.RestsetResource(List<Conformance.RestResource> theValue)Sets the value(s) for resource ()Conformance.RestsetSearchParam(List<Conformance.RestResourceSearchParam> theValue)Sets the value(s) for searchParam ()Conformance.RestsetSecurity(Conformance.RestSecurity theValue)Sets the value(s) for security ()Conformance.RestsetTransactionMode(TransactionModeEnum theValue)Sets the value(s) for transactionMode ()Conformance.RestsetTransactionMode(ca.uhn.fhir.model.primitive.BoundCodeDt<TransactionModeEnum> theValue)Sets the value(s) for transactionMode ()-
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
-
Rest
public Rest()
-
-
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
-
getModeElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<RestfulConformanceModeEnum> getModeElement()
Gets the value(s) for mode (). creating it if it does not exist. Will not returnnull.Definition: Identifies whether this portion of the statement is describing ability to initiate or receive restful operations
-
getMode
public String getMode()
Gets the value(s) for mode (). creating it if it does not exist. This method may returnnull.Definition: Identifies whether this portion of the statement is describing ability to initiate or receive restful operations
-
setMode
public Conformance.Rest setMode(ca.uhn.fhir.model.primitive.BoundCodeDt<RestfulConformanceModeEnum> theValue)
Sets the value(s) for mode ()Definition: Identifies whether this portion of the statement is describing ability to initiate or receive restful operations
-
setMode
public Conformance.Rest setMode(RestfulConformanceModeEnum theValue)
Sets the value(s) for mode ()Definition: Identifies whether this portion of the statement is describing ability to initiate or receive restful operations
-
getDocumentationElement
public ca.uhn.fhir.model.primitive.StringDt getDocumentationElement()
Gets the value(s) for documentation (). creating it if it does not exist. Will not returnnull.Definition: Information about the system's restful capabilities that apply across all applications, such as security
-
getDocumentation
public String getDocumentation()
Gets the value(s) for documentation (). creating it if it does not exist. This method may returnnull.Definition: Information about the system's restful capabilities that apply across all applications, such as security
-
setDocumentation
public Conformance.Rest setDocumentation(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for documentation ()Definition: Information about the system's restful capabilities that apply across all applications, such as security
-
setDocumentation
public Conformance.Rest setDocumentation(String theString)
Sets the value for documentation ()Definition: Information about the system's restful capabilities that apply across all applications, such as security
-
getSecurity
public Conformance.RestSecurity getSecurity()
Gets the value(s) for security (). creating it if it does not exist. Will not returnnull.Definition: Information about security implementation from an interface perspective - what a client needs to know
-
setSecurity
public Conformance.Rest setSecurity(Conformance.RestSecurity theValue)
Sets the value(s) for security ()Definition: Information about security implementation from an interface perspective - what a client needs to know
-
getResource
public List<Conformance.RestResource> getResource()
Gets the value(s) for resource (). creating it if it does not exist. Will not returnnull.Definition: A specification of the restful capabilities of the solution for a specific resource type
-
setResource
public Conformance.Rest setResource(List<Conformance.RestResource> theValue)
Sets the value(s) for resource ()Definition: A specification of the restful capabilities of the solution for a specific resource type
-
addResource
public Conformance.RestResource addResource()
Adds and returns a new value for resource ()Definition: A specification of the restful capabilities of the solution for a specific resource type
-
addResource
public Conformance.Rest addResource(Conformance.RestResource theValue)
Adds a given new value for resource ()Definition: A specification of the restful capabilities of the solution for a specific resource type
- Parameters:
theValue- The resource to add (must not benull)
-
getResourceFirstRep
public Conformance.RestResource getResourceFirstRep()
Gets the first repetition for resource (), creating it if it does not already exist.Definition: A specification of the restful capabilities of the solution for a specific resource type
-
getInteraction
public List<Conformance.RestInteraction> getInteraction()
Gets the value(s) for interaction (). creating it if it does not exist. Will not returnnull.Definition: A specification of restful operations supported by the system
-
setInteraction
public Conformance.Rest setInteraction(List<Conformance.RestInteraction> theValue)
Sets the value(s) for interaction ()Definition: A specification of restful operations supported by the system
-
addInteraction
public Conformance.RestInteraction addInteraction()
Adds and returns a new value for interaction ()Definition: A specification of restful operations supported by the system
-
addInteraction
public Conformance.Rest addInteraction(Conformance.RestInteraction theValue)
Adds a given new value for interaction ()Definition: A specification of restful operations supported by the system
- Parameters:
theValue- The interaction to add (must not benull)
-
getInteractionFirstRep
public Conformance.RestInteraction getInteractionFirstRep()
Gets the first repetition for interaction (), creating it if it does not already exist.Definition: A specification of restful operations supported by the system
-
getTransactionModeElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<TransactionModeEnum> getTransactionModeElement()
Gets the value(s) for transactionMode (). creating it if it does not exist. Will not returnnull.Definition: A code that indicates how transactions are supported
-
getTransactionMode
public String getTransactionMode()
Gets the value(s) for transactionMode (). creating it if it does not exist. This method may returnnull.Definition: A code that indicates how transactions are supported
-
setTransactionMode
public Conformance.Rest setTransactionMode(ca.uhn.fhir.model.primitive.BoundCodeDt<TransactionModeEnum> theValue)
Sets the value(s) for transactionMode ()Definition: A code that indicates how transactions are supported
-
setTransactionMode
public Conformance.Rest setTransactionMode(TransactionModeEnum theValue)
Sets the value(s) for transactionMode ()Definition: A code that indicates how transactions are supported
-
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 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 Conformance.Rest setSearchParam(List<Conformance.RestResourceSearchParam> theValue)
Sets the value(s) for searchParam ()Definition: 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
-
addSearchParam
public Conformance.RestResourceSearchParam addSearchParam()
Adds and returns a new value for searchParam ()Definition: 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
-
addSearchParam
public Conformance.Rest addSearchParam(Conformance.RestResourceSearchParam theValue)
Adds a given new value for searchParam ()Definition: 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
- 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 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
-
getOperation
public List<Conformance.RestOperation> getOperation()
Gets the value(s) for operation (). creating it if it does not exist. Will not returnnull.Definition: Definition of an operation or a named query and with its parameters and their meaning and type
-
setOperation
public Conformance.Rest setOperation(List<Conformance.RestOperation> theValue)
Sets the value(s) for operation ()Definition: Definition of an operation or a named query and with its parameters and their meaning and type
-
addOperation
public Conformance.RestOperation addOperation()
Adds and returns a new value for operation ()Definition: Definition of an operation or a named query and with its parameters and their meaning and type
-
addOperation
public Conformance.Rest addOperation(Conformance.RestOperation theValue)
Adds a given new value for operation ()Definition: Definition of an operation or a named query and with its parameters and their meaning and type
- Parameters:
theValue- The operation to add (must not benull)
-
getOperationFirstRep
public Conformance.RestOperation getOperationFirstRep()
Gets the first repetition for operation (), creating it if it does not already exist.Definition: Definition of an operation or a named query and with its parameters and their meaning and type
-
getCompartment
public List<ca.uhn.fhir.model.primitive.UriDt> getCompartment()
Gets the value(s) for compartment (). creating it if it does not exist. Will not returnnull.Definition: An absolute URI which is a reference to the definition of a compartment hosted by the system
-
setCompartment
public Conformance.Rest setCompartment(List<ca.uhn.fhir.model.primitive.UriDt> theValue)
Sets the value(s) for compartment ()Definition: An absolute URI which is a reference to the definition of a compartment hosted by the system
-
addCompartment
public ca.uhn.fhir.model.primitive.UriDt addCompartment()
Adds and returns a new value for compartment ()Definition: An absolute URI which is a reference to the definition of a compartment hosted by the system
-
addCompartment
public Conformance.Rest addCompartment(ca.uhn.fhir.model.primitive.UriDt theValue)
Adds a given new value for compartment ()Definition: An absolute URI which is a reference to the definition of a compartment hosted by the system
- Parameters:
theValue- The compartment to add (must not benull)
-
getCompartmentFirstRep
public ca.uhn.fhir.model.primitive.UriDt getCompartmentFirstRep()
Gets the first repetition for compartment (), creating it if it does not already exist.Definition: An absolute URI which is a reference to the definition of a compartment hosted by the system
-
addCompartment
public Conformance.Rest addCompartment(String theUri)
Adds a new value for compartment ()Definition: An absolute URI which is a reference to the definition of a compartment hosted by the system
- Returns:
- Returns a reference to this object, to allow for simple chaining.
-
-