org.apache.directory.api.ldap.model.subtree
Enum AdministrativeRole

java.lang.Object
  extended by java.lang.Enum<AdministrativeRole>
      extended by org.apache.directory.api.ldap.model.subtree.AdministrativeRole
All Implemented Interfaces:
Serializable, Comparable<AdministrativeRole>

public enum AdministrativeRole
extends Enum<AdministrativeRole>

The Administrative roles

Author:
Apache Directory Project

Enum Constant Summary
AccessControlInnerArea
          The AccessControlInnerArea role
AccessControlSpecificArea
          The AccessControlSpecificArea role
AutonomousArea
          The AutonomousArea role
CollectiveAttributeInnerArea
          The CollectiveAttributeInnerArea role
CollectiveAttributeSpecificArea
          The CollectiveAttributeSpecificArea role
SubSchemaSpecificArea
          The SubSchemaSpecificArea role
TriggerExecutionInnerArea
          The TriggerExecutionInnerArea role
TriggerExecutionSpecificArea
          The TriggerExecutionSpecificArea role
 
Method Summary
 String getRole()
           
static AdministrativeRole valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AdministrativeRole[] 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

AutonomousArea

public static final AdministrativeRole AutonomousArea
The AutonomousArea role


AccessControlSpecificArea

public static final AdministrativeRole AccessControlSpecificArea
The AccessControlSpecificArea role


AccessControlInnerArea

public static final AdministrativeRole AccessControlInnerArea
The AccessControlInnerArea role


CollectiveAttributeSpecificArea

public static final AdministrativeRole CollectiveAttributeSpecificArea
The CollectiveAttributeSpecificArea role


CollectiveAttributeInnerArea

public static final AdministrativeRole CollectiveAttributeInnerArea
The CollectiveAttributeInnerArea role


SubSchemaSpecificArea

public static final AdministrativeRole SubSchemaSpecificArea
The SubSchemaSpecificArea role


TriggerExecutionSpecificArea

public static final AdministrativeRole TriggerExecutionSpecificArea
The TriggerExecutionSpecificArea role


TriggerExecutionInnerArea

public static final AdministrativeRole TriggerExecutionInnerArea
The TriggerExecutionInnerArea role

Method Detail

values

public static AdministrativeRole[] 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 (AdministrativeRole c : AdministrativeRole.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AdministrativeRole 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 name
NullPointerException - if the argument is null

getRole

public String getRole()
Returns:
The AdministrativeRole as a String


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.