Enum AssertionType
- java.lang.Object
-
- java.lang.Enum<AssertionType>
-
- org.apache.directory.api.ldap.model.filter.AssertionType
-
- All Implemented Interfaces:
Serializable
,Comparable<AssertionType>
public enum AssertionType extends Enum<AssertionType>
All the different kind of assertions.- Author:
- Apache Directory Project
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AND
AND operator constantAPPROXIMATE
approximate assertion nodeASSERTION
Predicate assertion nodeEQUALITY
equality assertion nodeEXTENSIBLE
extensible match assertion nodeGREATEREQ
greater than or equal to assertion nodeLESSEQ
less than or equal to assertion nodeNOT
NOT operator constantOBJECTCLASS
(ObjectClass=*) filterOR
OR operator constantPRESENCE
presence assertion nodeSCOPE
scope assertion nodeSUBSTRING
substring match assertion nodeUNDEFINED
Undefined operation
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AssertionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AssertionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALITY
public static final AssertionType EQUALITY
equality assertion node
-
PRESENCE
public static final AssertionType PRESENCE
presence assertion node
-
SUBSTRING
public static final AssertionType SUBSTRING
substring match assertion node
-
GREATEREQ
public static final AssertionType GREATEREQ
greater than or equal to assertion node
-
LESSEQ
public static final AssertionType LESSEQ
less than or equal to assertion node
-
APPROXIMATE
public static final AssertionType APPROXIMATE
approximate assertion node
-
EXTENSIBLE
public static final AssertionType EXTENSIBLE
extensible match assertion node
-
SCOPE
public static final AssertionType SCOPE
scope assertion node
-
ASSERTION
public static final AssertionType ASSERTION
Predicate assertion node
-
OR
public static final AssertionType OR
OR operator constant
-
AND
public static final AssertionType AND
AND operator constant
-
NOT
public static final AssertionType NOT
NOT operator constant
-
UNDEFINED
public static final AssertionType UNDEFINED
Undefined operation
-
OBJECTCLASS
public static final AssertionType OBJECTCLASS
(ObjectClass=*) filter
-
-
Method Detail
-
values
public static AssertionType[] 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 (AssertionType c : AssertionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AssertionType 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
-
-