@Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface OperationParam
| Modifier and Type | Fields and Description |
|---|---|
static int |
MAX_DEFAULT
Value for
max() indicating that the maximum will be inferred
from the type. |
static int |
MAX_UNLIMITED
Value for
max() indicating no maximum |
public static final int MAX_UNLIMITED
max() indicating no maximumpublic static final int MAX_DEFAULT
max() indicating that the maximum will be inferred
from the type. If the type is a single parameter type (e.g. StringDt,
TokenParam, IBaseResource) the maximum will be
1.
If the type is a collection, e.g.
List<StringDt> or List<TokenOrListParam>
the maximum will be set to *. If the param is a search parameter
"and" type, such as TokenAndListParam the maximum will also be
set to *
public abstract Class<? extends IBase> type
@OperationParam
annotations specified as values for Operation.returnParameters(), otherwise the
value will be ignored. Value should be one of:
Patient.classStringDt.class or CodeableConceptDt.class
StringParam.class
public abstract int min
public abstract int max
MAX_UNLIMITED if there is no limit to the number of
repetitions. See MAX_DEFAULT for a description of the default
behaviour.Copyright © 2014–2017 University Health Network. All rights reserved.