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 classCapabilityStatement.Rest.Builderstatic classCapabilityStatement.Rest.InteractionA specification of restful operations supported by the system.static classCapabilityStatement.Rest.ResourceA specification of the restful capabilities of the solution for a specific resource type.static classCapabilityStatement.Rest.SecurityInformation 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 voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static CapabilityStatement.Rest.Builderbuilder()booleanequals(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.MarkdowngetDocumentation()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.RestfulCapabilityModegetMode()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.SecuritygetSecurity()Information about security implementation from an interface perspective - what a client needs to know.booleanhasChildren()inthashCode()CapabilityStatement.Rest.BuildertoBuilder()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
RestfulCapabilityModethat 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
Markdownthat 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.Securitythat 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.Resourcethat 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.Interactionthat 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
SearchParamthat 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
Operationthat 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
Canonicalthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classBackboneElement
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)Description copied from interface:VisitableAccept 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:
acceptin interfaceVisitable- Specified by:
acceptin 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toBuilder
public CapabilityStatement.Rest.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element- Specified by:
toBuilderin classBackboneElement
-
builder
public static CapabilityStatement.Rest.Builder builder()
-
-