public enum PerformanceOptionsEnum extends Enum<PerformanceOptionsEnum>
FhirContext.setPerformanceOptions(PerformanceOptionsEnum...)| Enum Constant and Description |
|---|
DEFERRED_MODEL_SCANNING
When this option is set, model classes will not be scanned for children until the
child list for the given type is actually accessed.
|
| Modifier and Type | Method and Description |
|---|---|
static PerformanceOptionsEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PerformanceOptionsEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PerformanceOptionsEnum DEFERRED_MODEL_SCANNING
The effect of this option is that reflection operations to scan children will be deferred, and some may never happen if specific model types aren't actually used. This option is useful on environments where reflection is particularly slow, e.g. Android or low powered devices.
public static PerformanceOptionsEnum[] values()
for (PerformanceOptionsEnum c : PerformanceOptionsEnum.values()) System.out.println(c);
public static PerformanceOptionsEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2014–2017 University Health Network. All rights reserved.