Enum AttributeTreatmentType
- java.lang.Object
-
- java.lang.Enum<AttributeTreatmentType>
-
- fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeTreatmentType
-
- All Implemented Interfaces:
Serializable,Comparable<AttributeTreatmentType>
public enum AttributeTreatmentType extends Enum<AttributeTreatmentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSENTAttribute must not exist in the search response.APPROXIMATEDAttribute must exist and be approximated in the search response.DIFFERENTAttribute must exist and have a different value (not APPROXIMATED) in the search response.STRICTAttribute must exist and be strictly equal in the search response.STRICTLY_APPROXIMATEDAttribute must exist and be strictly approximated in the search response, which means it cannot be equal.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()booleanisForRules()StringtoString()static AttributeTreatmentTypevalueOf(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 ofAttributeTreatmentTypethat can be used for rules design.
-
-
-
Enum Constant Detail
-
DIFFERENT
public static final AttributeTreatmentType DIFFERENT
Attribute must exist and have a different value (not APPROXIMATED) in the search response.
-
APPROXIMATED
public static final AttributeTreatmentType APPROXIMATED
Attribute must exist and be approximated in the search response.
-
STRICTLY_APPROXIMATED
public static final AttributeTreatmentType STRICTLY_APPROXIMATED
Attribute must exist and be strictly approximated in the search response, which means it cannot be equal.
-
STRICT
public static final AttributeTreatmentType STRICT
Attribute must exist and be strictly equal in the search response.
-
ABSENT
public static final AttributeTreatmentType ABSENT
Attribute must not exist in the search response.
-
-
Method Detail
-
values
public static AttributeTreatmentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AttributeTreatmentType c : AttributeTreatmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttributeTreatmentType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valuesForRules
public static List<AttributeTreatmentType> valuesForRules()
Gives the list ofAttributeTreatmentTypethat can be used for rules design.- Returns:
-
isForRules
public boolean isForRules()
-
toString
public String toString()
- Overrides:
toStringin classEnum<AttributeTreatmentType>
-
getLabel
public String getLabel()
-
-