Class Subentry

java.lang.Object
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 Details

    • Subentry

      public Subentry()
  • Method Details

    • 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)
      Store the Set of administrative roles supported by this Subentry
      Parameters:
      administrativeRoles - The Administrative roles to set
    • getAdministrativeRoles

      public final Set<AdministrativeRole> getAdministrativeRoles()
      Returns:
      The Set of administratoveRole supported by this Subentry
    • isCollectiveAdminRole

      public final boolean isCollectiveAdminRole()
      Tells if the type contains the Collective attribute Administrative Role
      Returns:
      true if the type contains the Collective Attribute Administrative Role, false otherwise
    • isSchemaAdminRole

      public final boolean isSchemaAdminRole()
      Tells if the type contains the SubSchema Administrative Role
      Returns:
      true if the type contains the SubSchema Administrative Role, false otherwise
    • isAccessControlAdminRole

      public final boolean isAccessControlAdminRole()
      Tells if the type contains the Access Control Administrative Role
      Returns:
      true if the type contains the Access Control Administrative Role, false otherwise
    • isTriggersAdminRole

      public final boolean isTriggersAdminRole()
      Tells if the type contains the Triggers Administrative Role
      Returns:
      true if the type contains the Triggers Administrative Role, false otherwise
    • toString

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