@DefaultCoder(value=FhirSearchParameterCoder.class) public class FhirSearchParameter<T> extends java.lang.Object
FhirIO.Search
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(@Nullable java.lang.Object o) |
java.lang.String |
getKey() |
@Nullable java.util.Map<java.lang.String,T> |
getQueries() |
java.lang.String |
getResourceType() |
int |
hashCode() |
static <T> FhirSearchParameter<T> |
of(java.lang.String resourceType,
@Nullable java.util.Map<java.lang.String,T> queries)
Creates a FhirSearchParameter of type T, without a key.
|
static <T> FhirSearchParameter<T> |
of(java.lang.String resourceType,
@Nullable java.lang.String key,
@Nullable java.util.Map<java.lang.String,T> queries)
Creates a FhirSearchParameter of type T.
|
java.lang.String |
toString() |
public static <T> FhirSearchParameter<T> of(java.lang.String resourceType, @Nullable java.lang.String key, @Nullable java.util.Map<java.lang.String,T> queries)
T
- The type of the search query value.resourceType
- the FHIR resource type.key
- Key for the search query to key the results with.queries
- The search query.public static <T> FhirSearchParameter<T> of(java.lang.String resourceType, @Nullable java.util.Map<java.lang.String,T> queries)
T
- The type of the search query value.resourceType
- the FHIR resource type.queries
- The search query.public java.lang.String getResourceType()
public java.lang.String getKey()
public @Nullable java.util.Map<java.lang.String,T> getQueries()
public boolean equals(@Nullable java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object