Enum ObjectClassTypeEnum
- All Implemented Interfaces:
Serializable, Comparable<ObjectClassTypeEnum>
Type safe enumerations for an objectClass' type. An ObjectClass type can be
one of the following types:
- ABSTRACT
- AUXILIARY
- STRUCTURAL
- Author:
- Apache Directory Project
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe enumeration constant value for the abstract objectClassesThe enumeration constant value for the auxillary objectClassesThe enumeration constant value for the structural objectClasses -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe int constant value for the abstract objectClassesstatic final intThe int constant value for the auxillary objectClassesstatic final intThe int constant value for the structural objectClasses -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectClassTypeEnumgetClassType(String name) Gets the objectClass type enumeration of AUXILIARY, STRUCTURAL, or, ABSTRACT.intgetValue()static ObjectClassTypeEnumReturns the enum constant of this type with the specified name.static ObjectClassTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ABSTRACT
The enumeration constant value for the abstract objectClasses -
AUXILIARY
The enumeration constant value for the auxillary objectClasses -
STRUCTURAL
The enumeration constant value for the structural objectClasses
-
-
Field Details
-
ABSTRACT_VAL
public static final int ABSTRACT_VALThe int constant value for the abstract objectClasses- See Also:
-
AUXILIARY_VAL
public static final int AUXILIARY_VALThe int constant value for the auxillary objectClasses- See Also:
-
STRUCTURAL_VAL
public static final int STRUCTURAL_VALThe int constant value for the structural objectClasses- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
public int getValue()- Returns:
- The value associated with the current element.
-
getClassType
Gets the objectClass type enumeration of AUXILIARY, STRUCTURAL, or, ABSTRACT.- Parameters:
name- options are AUXILIARY, STRUCTURAL, or, ABSTRACT- Returns:
- the type safe enumeration for the objectClass type
-