Package org.opends.admin.ads
Enum ADSContext.AdministratorProperty
- java.lang.Object
-
- java.lang.Enum<ADSContext.AdministratorProperty>
-
- org.opends.admin.ads.ADSContext.AdministratorProperty
-
- All Implemented Interfaces:
Serializable,Comparable<ADSContext.AdministratorProperty>
- Enclosing class:
- ADSContext
public static enum ADSContext.AdministratorProperty extends Enum<ADSContext.AdministratorProperty>
The enumeration containing the different Administrator properties.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMINISTRATOR_DNThe DN of the administrator.DESCRIPTIONThe description of the administrator.PASSWORDThe password of the administrator.PRIVILEGEThe administrator privilege.UIDThe UID of the administrator.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAttributeName()Returns the attribute name.ADSContext.ADSPropertySyntaxgetAttributeSyntax()Returns the attribute syntax.static ADSContext.AdministratorPropertyvalueOf(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.
-
-
-
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(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
-
getAttributeName
public String getAttributeName()
Returns the attribute name.- Returns:
- the attribute name.
-
getAttributeSyntax
public ADSContext.ADSPropertySyntax getAttributeSyntax()
Returns the attribute syntax.- Returns:
- the attribute syntax.
-
-