Class CapabilityStatement.Rest
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.type.Element
-
- org.linuxforhealth.fhir.model.type.BackboneElement
-
- org.linuxforhealth.fhir.model.resource.CapabilityStatement.Rest
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- CapabilityStatement
public static class CapabilityStatement.Rest extends BackboneElement
A definition of the restful capabilities of the solution, if any.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CapabilityStatement.Rest.Builder
static class
CapabilityStatement.Rest.Interaction
A specification of restful operations supported by the system.static class
CapabilityStatement.Rest.Resource
A specification of the restful capabilities of the solution for a specific resource type.static class
CapabilityStatement.Rest.Security
Information about security implementation from an interface perspective - what a client needs to know.
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static CapabilityStatement.Rest.Builder
builder()
boolean
equals(java.lang.Object obj)
java.util.List<Canonical>
getCompartment()
An absolute URI which is a reference to the definition of a compartment that the system supports.Markdown
getDocumentation()
Information about the system's restful capabilities that apply across all applications, such as security.java.util.List<CapabilityStatement.Rest.Interaction>
getInteraction()
A specification of restful operations supported by the system.RestfulCapabilityMode
getMode()
Identifies whether this portion of the statement is describing the ability to initiate or receive restful operations.java.util.List<CapabilityStatement.Rest.Resource.Operation>
getOperation()
Definition of an operation or a named query together with its parameters and their meaning and type.java.util.List<CapabilityStatement.Rest.Resource>
getResource()
A specification of the restful capabilities of the solution for a specific resource type.java.util.List<CapabilityStatement.Rest.Resource.SearchParam>
getSearchParam()
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.CapabilityStatement.Rest.Security
getSecurity()
Information about security implementation from an interface perspective - what a client needs to know.boolean
hasChildren()
int
hashCode()
CapabilityStatement.Rest.Builder
toBuilder()
Create a new Builder from the contents of this Element-
Methods inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
getModifierExtension
-
Methods inherited from class org.linuxforhealth.fhir.model.type.Element
as, getExtension, getId, hasValue, is
-
-
-
-
Method Detail
-
getMode
public RestfulCapabilityMode getMode()
Identifies whether this portion of the statement is describing the ability to initiate or receive restful operations.- Returns:
- An immutable object of type
RestfulCapabilityMode
that is non-null.
-
getDocumentation
public Markdown getDocumentation()
Information about the system's restful capabilities that apply across all applications, such as security.- Returns:
- An immutable object of type
Markdown
that may be null.
-
getSecurity
public CapabilityStatement.Rest.Security getSecurity()
Information about security implementation from an interface perspective - what a client needs to know.- Returns:
- An immutable object of type
CapabilityStatement.Rest.Security
that may be null.
-
getResource
public java.util.List<CapabilityStatement.Rest.Resource> getResource()
A specification of the restful capabilities of the solution for a specific resource type.- Returns:
- An unmodifiable list containing immutable objects of type
CapabilityStatement.Rest.Resource
that may be empty.
-
getInteraction
public java.util.List<CapabilityStatement.Rest.Interaction> getInteraction()
A specification of restful operations supported by the system.- Returns:
- An unmodifiable list containing immutable objects of type
CapabilityStatement.Rest.Interaction
that may be empty.
-
getSearchParam
public java.util.List<CapabilityStatement.Rest.Resource.SearchParam> getSearchParam()
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.- Returns:
- An unmodifiable list containing immutable objects of type
SearchParam
that may be empty.
-
getOperation
public java.util.List<CapabilityStatement.Rest.Resource.Operation> getOperation()
Definition of an operation or a named query together with its parameters and their meaning and type.- Returns:
- An unmodifiable list containing immutable objects of type
Operation
that may be empty.
-
getCompartment
public java.util.List<Canonical> getCompartment()
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 .- Returns:
- An unmodifiable list containing immutable objects of type
Canonical
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classBackboneElement
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }
- Specified by:
accept
in interfaceVisitable
- Specified by:
accept
in classAbstractVisitable
- Parameters:
elementName
- the name of the element in the context of this visitelementIndex
- the index of the element in a list or -1 if it is not contained within a Listvisitor
- the visitor to use
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public CapabilityStatement.Rest.Builder toBuilder()
Description copied from class:Element
Create a new Builder from the contents of this Element- Specified by:
toBuilder
in classBackboneElement
-
builder
public static CapabilityStatement.Rest.Builder builder()
-
-