|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ObjectClassTypeEnum>
org.apache.directory.shared.ldap.schema.ObjectClassTypeEnum
public enum ObjectClassTypeEnum
Type safe enumerations for an objectClass' type. An ObjectClass type can be one of the following types:
| Enum Constant Summary | |
|---|---|
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 Summary | |
|---|---|
static int |
ABSTRACT_VAL
The int constant value for the abstract objectClasses |
static int |
AUXILIARY_VAL
The int constant value for the auxillary objectClasses |
static int |
STRUCTURAL_VAL
The int constant value for the structural objectClasses |
| Method Summary | |
|---|---|
static ObjectClassTypeEnum |
getClassType(java.lang.String name)
Gets the objectClass type enumeration of AUXILIARY, STRUCTURAL, or, ABSTRACT. |
int |
getValue()
|
static ObjectClassTypeEnum |
valueOf(java.lang.String name)
Returns 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. |
| 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 |
|---|
public static final ObjectClassTypeEnum ABSTRACT
public static final ObjectClassTypeEnum AUXILIARY
public static final ObjectClassTypeEnum STRUCTURAL
| Field Detail |
|---|
public static final int ABSTRACT_VAL
public static final int AUXILIARY_VAL
public static final int STRUCTURAL_VAL
| Method Detail |
|---|
public static ObjectClassTypeEnum[] values()
for (ObjectClassTypeEnum c : ObjectClassTypeEnum.values()) System.out.println(c);
public static ObjectClassTypeEnum valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic int getValue()
public static ObjectClassTypeEnum getClassType(java.lang.String name)
name - options are AUXILIARY, STRUCTURAL, or, ABSTRACT
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||