public enum AttributeTreatmentType extends Enum<AttributeTreatmentType>
| Enum Constant and Description |
|---|
ABSENT
Attribute must not exist in the search response.
|
APPROXIMATED
Attribute must exist and be approximated in the search response.
|
DIFFERENT
Attribute must exist and have a different value (not APPROXIMATED) in the search response.
|
STRICT
Attribute must exist and be strictly equal in the search response.
|
STRICTLY_APPROXIMATED
Attribute must exist and be strictly approximated in the search response, which means it cannot be equal.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
boolean |
isForRules() |
String |
toString() |
static AttributeTreatmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeTreatmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static List<AttributeTreatmentType> |
valuesForRules()
Gives the list of
AttributeTreatmentType that can be used for rules design. |
public static final AttributeTreatmentType DIFFERENT
public static final AttributeTreatmentType APPROXIMATED
public static final AttributeTreatmentType STRICTLY_APPROXIMATED
public static final AttributeTreatmentType STRICT
public static final AttributeTreatmentType ABSENT
public static AttributeTreatmentType[] values()
for (AttributeTreatmentType c : AttributeTreatmentType.values()) System.out.println(c);
public static AttributeTreatmentType 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 static List<AttributeTreatmentType> valuesForRules()
AttributeTreatmentType that can be used for rules design.public boolean isForRules()
public String toString()
toString in class Enum<AttributeTreatmentType>public String getLabel()
Copyright © 2024 City of Paris. All rights reserved.