public enum DisplayConditionType extends Enum<DisplayConditionType> implements Enumeration
DisplayCondition
that will be created
by DisplayParametersHelper
.Enum Constant and Description |
---|
BATCH
The
DistanceDisplayCondition will be created separately so that it can be used
in batch primitives that support a distance display condition per item. |
COMPOSITE
All display conditions will be created in a single
CompositeDisplayCondition . |
Modifier and Type | Method and Description |
---|---|
static DisplayConditionType |
getDefault()
Get the enum constant that is considered to be the default.
|
static DisplayConditionType |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static DisplayConditionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisplayConditionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayConditionType COMPOSITE
CompositeDisplayCondition
.
Use this setting when a primitive represents a single service provider.public static final DisplayConditionType BATCH
DistanceDisplayCondition
will be created separately so that it can be used
in batch primitives that support a distance display condition per item. No ConstantDisplayCondition
will be created. The remaining display conditions will still be created as part of a single
CompositeDisplayCondition
.public static DisplayConditionType[] values()
for (DisplayConditionType c : DisplayConditionType.values()) System.out.println(c);
public static DisplayConditionType 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 nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static DisplayConditionType getFromValue(int value)
value
- a numeric value.@Nonnull public static DisplayConditionType getDefault()