org.apache.directory.shared.ldap.schema
Class ObjectClassTypeEnum

java.lang.Object
  extended byorg.apache.directory.shared.ldap.util.Enum
      extended byorg.apache.directory.shared.ldap.util.ValuedEnum
          extended byorg.apache.directory.shared.ldap.schema.ObjectClassTypeEnum
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class ObjectClassTypeEnum
extends ValuedEnum

Type safe enumerations for an objectClass' type. An ObjectClass type can be one of the following types:

Version:
$Rev: 379008 $
Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
static ObjectClassTypeEnum ABSTRACT
          ValuedEnum for abstract objectClasses
static int ABSTRACT_VAL
          The enumeration constant value for the abstract objectClasses
static ObjectClassTypeEnum AUXILIARY
          ValuedEnum for auxillary objectClasses
static int AUXILLARY_VAL
          The enumeration constant value for the auxillary objectClasses
static ObjectClassTypeEnum STRUCTURAL
          ValuedEnum for structural objectClasses
static int STRUCTURAL_VAL
          The enumeration constant value for the structural objectClasses
 
Fields inherited from class org.apache.directory.shared.ldap.util.Enum
iToString
 
Method Summary
static ObjectClassTypeEnum getClassType(java.lang.String name)
          Gets the objectClass type enumeration of AUXILIARY, STRUCTURAL, or, ABSTRACT.
static java.util.List list()
          Gets a List of the enumerations for the ObjectClass type.
static java.util.Map map()
          Gets the Map of ClassTypeEnum objects by name using the ClassTypeEnum class.
 
Methods inherited from class org.apache.directory.shared.ldap.util.ValuedEnum
compareTo, getEnum, getValue, toString
 
Methods inherited from class org.apache.directory.shared.ldap.util.Enum
equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ABSTRACT_VAL

public static final int ABSTRACT_VAL
The enumeration constant value for the abstract objectClasses

See Also:
Constant Field Values

AUXILLARY_VAL

public static final int AUXILLARY_VAL
The enumeration constant value for the auxillary objectClasses

See Also:
Constant Field Values

STRUCTURAL_VAL

public static final int STRUCTURAL_VAL
The enumeration constant value for the structural objectClasses

See Also:
Constant Field Values

ABSTRACT

public static final ObjectClassTypeEnum ABSTRACT
ValuedEnum for abstract objectClasses


AUXILIARY

public static final ObjectClassTypeEnum AUXILIARY
ValuedEnum for auxillary objectClasses


STRUCTURAL

public static final ObjectClassTypeEnum STRUCTURAL
ValuedEnum for structural objectClasses

Method Detail

getClassType

public static ObjectClassTypeEnum getClassType(java.lang.String name)
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

list

public static java.util.List list()
Gets a List of the enumerations for the ObjectClass type.

Returns:
the List of enumerations possible for ObjectClass types

map

public static java.util.Map map()
Gets the Map of ClassTypeEnum objects by name using the ClassTypeEnum class.

Returns:
the Map by name of ClassTypeEnums


Copyright © 2003-2006 . All Rights Reserved.