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

java.lang.Object
  extended byorg.apache.directory.shared.ldap.schema.AbstractSchemaObject
      extended byorg.apache.directory.shared.ldap.schema.DefaultObjectClass
All Implemented Interfaces:
ObjectClass, SchemaObject, java.io.Serializable

public class DefaultObjectClass
extends AbstractSchemaObject
implements ObjectClass, java.io.Serializable

Objectclass specification bean used to store the schema information for an objectclass definition.

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

Field Summary
 
Fields inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject
description, isObsolete, names, oid
 
Method Summary
 AttributeType[] getMayList()
          Gets the AttributeTypes whose attributes may be present within an entry of this ObjectClass.
 AttributeType[] getMustList()
          Gets the AttributeTypes whose attributes must be present within an entry of this ObjectClass.
 ObjectClass[] getSuperClasses()
          Gets the superclasses of this ObjectClass.
 ObjectClassTypeEnum getType()
          Gets the type of this ObjectClass as a type safe enum.
 
Methods inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject
equals, getDescription, getName, getNames, getOid, hashCode, isObsolete, setDescription, setNames, setObsolete, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.directory.shared.ldap.schema.SchemaObject
getDescription, getName, getNames, getOid, isObsolete
 

Method Detail

getSuperClasses

public ObjectClass[] getSuperClasses()
Description copied from interface: ObjectClass
Gets the superclasses of this ObjectClass.

Specified by:
getSuperClasses in interface ObjectClass
Returns:
the superclasses

getType

public ObjectClassTypeEnum getType()
Description copied from interface: ObjectClass
Gets the type of this ObjectClass as a type safe enum.

Specified by:
getType in interface ObjectClass
Returns:
the ObjectClass type as an enum

getMustList

public AttributeType[] getMustList()
Description copied from interface: ObjectClass
Gets the AttributeTypes whose attributes must be present within an entry of this ObjectClass.

Specified by:
getMustList in interface ObjectClass
Returns:
the AttributeTypes of attributes that must be within entries of this ObjectClass

getMayList

public AttributeType[] getMayList()
Description copied from interface: ObjectClass
Gets the AttributeTypes whose attributes may be present within an entry of this ObjectClass.

Specified by:
getMayList in interface ObjectClass
Returns:
the AttributeTypes of attributes that may be within entries of this ObjectClass


Copyright © 2003-2006 . All Rights Reserved.