org.opends.admin.ads
Enum ADSContext.AdministratorProperty

java.lang.Object
  extended by java.lang.Enum<ADSContext.AdministratorProperty>
      extended by org.opends.admin.ads.ADSContext.AdministratorProperty
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ADSContext.AdministratorProperty>
Enclosing class:
ADSContext

public static enum ADSContext.AdministratorProperty
extends java.lang.Enum<ADSContext.AdministratorProperty>

The enumeration containing the different Administrator properties.


Enum Constant Summary
ADMINISTRATOR_DN
          The DN of the administrator.
DESCRIPTION
          The description of the administrator.
PASSWORD
          The password of the administrator.
PRIVILEGE
          The administrator privilege.
UID
          The UID of the administrator.
 
Method Summary
 java.lang.String getAttributeName()
          Returns the attribute name.
 ADSContext.ADSPropertySyntax getAttributeSyntax()
          Returns the attribute syntax.
static ADSContext.AdministratorProperty valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ADSContext.AdministratorProperty[] 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

UID

public static final ADSContext.AdministratorProperty UID
The UID of the administrator.


PASSWORD

public static final ADSContext.AdministratorProperty PASSWORD
The password of the administrator.


DESCRIPTION

public static final ADSContext.AdministratorProperty DESCRIPTION
The description of the administrator.


ADMINISTRATOR_DN

public static final ADSContext.AdministratorProperty ADMINISTRATOR_DN
The DN of the administrator.


PRIVILEGE

public static final ADSContext.AdministratorProperty PRIVILEGE
The administrator privilege.

Method Detail

values

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

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

valueOf

public static ADSContext.AdministratorProperty 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

getAttributeName

public java.lang.String getAttributeName()
Returns the attribute name.

Returns:
the attribute name.

getAttributeSyntax

public ADSContext.ADSPropertySyntax getAttributeSyntax()
Returns the attribute syntax.

Returns:
the attribute syntax.