Package ca.uhn.fhir.rest.annotation
Annotation Type Create
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionClass
<? extends IBaseResource> The return type for this search method.This method allows the return type for this method to be specified in a non-type-specific way, using the text name of the resource, e.g.
-
Element Details
-
type
Class<? extends IBaseResource> typeThe return type for this search method. This generally does not need to be populated for a server implementation, since servers will return only one resource per class, but generally does need to be populated for client implementations.- Default:
org.hl7.fhir.instance.model.api.IBaseResource.class
-
typeName
This method allows the return type for this method to be specified in a non-type-specific way, using the text name of the resource, e.g. "Patient". This attribute should be populate, ortype()
should be, but not both.- Since:
- 5.4.0
- Default:
""
-