org.apache.directory.api.ldap.model.subtree
Class Subentry

java.lang.Object
  extended by org.apache.directory.api.ldap.model.subtree.Subentry

public class Subentry
extends Object

An operational view of a subentry within the system. A Subentry can have many types (Collective, Schema, AccessControl or Trigger) but only one Subtree Specification.

Author:
Apache Directory Project

Constructor Summary
Subentry()
           
 
Method Summary
 Set<AdministrativeRole> getAdministrativeRoles()
           
 SubtreeSpecification getSubtreeSpecification()
           
 boolean isAccessControlAdminRole()
          Tells if the type contains the Access Control Administrative Role
 boolean isCollectiveAdminRole()
          Tells if the type contains the Collective attribute Administrative Role
 boolean isSchemaAdminRole()
          Tells if the type contains the SubSchema Administrative Role
 boolean isTriggersAdminRole()
          Tells if the type contains the Triggers Administrative Role
 void setAdministrativeRoles(Set<AdministrativeRole> administrativeRoles)
          TODO setAdministrativeRoles.
 void setSubtreeSpecification(SubtreeSpecification ss)
          Stores the subtree
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Subentry

public Subentry()
Method Detail

setSubtreeSpecification

public final void setSubtreeSpecification(SubtreeSpecification ss)
Stores the subtree

Parameters:
ss - The subtree specification

getSubtreeSpecification

public final SubtreeSpecification getSubtreeSpecification()
Returns:
The subtree specification

setAdministrativeRoles

public final void setAdministrativeRoles(Set<AdministrativeRole> administrativeRoles)
TODO setAdministrativeRoles.

Parameters:
administrativeRoles -

getAdministrativeRoles

public final Set<AdministrativeRole> getAdministrativeRoles()

isCollectiveAdminRole

public final boolean isCollectiveAdminRole()
Tells if the type contains the Collective attribute Administrative Role


isSchemaAdminRole

public final boolean isSchemaAdminRole()
Tells if the type contains the SubSchema Administrative Role


isAccessControlAdminRole

public final boolean isAccessControlAdminRole()
Tells if the type contains the Access Control Administrative Role


isTriggersAdminRole

public final boolean isTriggersAdminRole()
Tells if the type contains the Triggers Administrative Role


toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.