org.apache.directory.shared.ldap.filter
Enum AssertionType

java.lang.Object
  extended by java.lang.Enum<AssertionType>
      extended by org.apache.directory.shared.ldap.filter.AssertionType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AssertionType>

public enum AssertionType
extends java.lang.Enum<AssertionType>

All the different kind of assertions.

Version:
$Rev: 470116 $
Author:
Apache Directory Project

Enum Constant Summary
AND
          AND operator constant
APPROXIMATE
          approximate assertion node
ASSERTION
          Predicate assertion node
EQUALITY
          equality assertion node
EXTENSIBLE
          extensible match assertion node
GREATEREQ
          greater than or equal to assertion node
LESSEQ
          less than or equal to assertion node
NOT
          NOT operator constant
OR
          OR operator constant
PRESENCE
          presence assertion node
SCOPE
          scope assertion node
SUBSTRING
          substring match assertion node
 
Method Summary
static AssertionType valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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

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(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 name
java.lang.NullPointerException - if the argument is null


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.