Enum AttributeTreatmentType
- java.lang.Object
-
- java.lang.Enum<AttributeTreatmentType>
-
- fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeTreatmentType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AttributeTreatmentType>
public enum AttributeTreatmentType extends java.lang.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 java.lang.StringgetLabel()booleanisForRules()java.lang.StringtoString()static AttributeTreatmentTypevalueOf(java.lang.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 java.util.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(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valuesForRules
public static java.util.List<AttributeTreatmentType> valuesForRules()
Gives the list ofAttributeTreatmentTypethat can be used for rules design.- Returns:
-
isForRules
public boolean isForRules()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<AttributeTreatmentType>
-
getLabel
public java.lang.String getLabel()
-
-