org.apache.directory.shared.ldap.aci
Enum MicroOperation
java.lang.Object
java.lang.Enum<MicroOperation>
org.apache.directory.shared.ldap.aci.MicroOperation
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MicroOperation>
public enum MicroOperation
- extends java.lang.Enum<MicroOperation>
An enumeration that represents all micro-operations that makes up LDAP
operations.
- Version:
- $Rev: 481754 $, $Date: 2006-12-03 12:40:18 +0100 (So, 03 Dez 2006) $
- Author:
- Apache Directory Project
Method Summary |
java.lang.String |
getName()
Returns the name of this micro-operation. |
java.lang.String |
toString()
|
static MicroOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MicroOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ADD
public static final MicroOperation ADD
DISCLOSE_ON_ERROR
public static final MicroOperation DISCLOSE_ON_ERROR
READ
public static final MicroOperation READ
REMOVE
public static final MicroOperation REMOVE
BROWSE
public static final MicroOperation BROWSE
EXPORT
public static final MicroOperation EXPORT
IMPORT
public static final MicroOperation IMPORT
MODIFY
public static final MicroOperation MODIFY
RENAME
public static final MicroOperation RENAME
RETURN_DN
public static final MicroOperation RETURN_DN
COMPARE
public static final MicroOperation COMPARE
FILTER_MATCH
public static final MicroOperation FILTER_MATCH
INVOKE
public static final MicroOperation INVOKE
values
public static final MicroOperation[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(MicroOperation c : MicroOperation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static MicroOperation 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
getName
public java.lang.String getName()
- Returns the name of this micro-operation.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<MicroOperation>
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.