Package org.forgerock.opendj.ldap.schema
Enum Class ObjectClassType
- All Implemented Interfaces:
Serializable,Comparable<ObjectClassType>,java.lang.constant.Constable
This enumeration defines the set of possible objectclass types that may be
used, as defined in RFC 2252.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe objectclass type that to use for classes declared "abstract".The objectclass type that to use for classes declared "auxiliary".The objectclass type that to use for classes declared "structural". -
Method Summary
Modifier and TypeMethodDescriptiontoString()Retrieves a string representation of this objectclass type.static ObjectClassTypeReturns the enum constant of this class with the specified name.static ObjectClassType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ABSTRACT
The objectclass type that to use for classes declared "abstract". -
STRUCTURAL
The objectclass type that to use for classes declared "structural". -
AUXILIARY
The objectclass type that to use for classes declared "auxiliary".
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
Retrieves a string representation of this objectclass type.- Overrides:
toStringin classEnum<ObjectClassType>- Returns:
- A string representation of this objectclass type.
-