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

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

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: 664290 $
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, schema
 
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.
 boolean isAbstract()
          Tells if the current ObjectClass is ABSTRACT
 boolean isAuxiliary()
          Tells if the current ObjectClass is AUXILIARY
 boolean isStructural()
          Tells if the current ObjectClass is STRUCTURAL
 
Methods inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject
equals, getDescription, getName, getNamesRef, getOid, getSchema, hashCode, isObsolete, setDescription, setNames, setObsolete, setSchema, 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, getNamesRef, getOid, getSchema, isObsolete, setSchema
 

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

isStructural

public boolean isStructural()
Description copied from interface: ObjectClass
Tells if the current ObjectClass is STRUCTURAL

Specified by:
isStructural in interface ObjectClass
Returns:
true if the ObjectClass is STRUCTURAL

isAbstract

public boolean isAbstract()
Description copied from interface: ObjectClass
Tells if the current ObjectClass is ABSTRACT

Specified by:
isAbstract in interface ObjectClass
Returns:
true if the ObjectClass is ABSTRACT

isAuxiliary

public boolean isAuxiliary()
Description copied from interface: ObjectClass
Tells if the current ObjectClass is AUXILIARY

Specified by:
isAuxiliary in interface ObjectClass
Returns:
true if the ObjectClass is AUXILIARY

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-2011 Apache Software Foundation. All Rights Reserved.