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 Summary
Constructors Constructor Description Subentry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<AdministrativeRole>getAdministrativeRoles()SubtreeSpecificationgetSubtreeSpecification()booleanisAccessControlAdminRole()Tells if the type contains the Access Control Administrative RolebooleanisCollectiveAdminRole()Tells if the type contains the Collective attribute Administrative RolebooleanisSchemaAdminRole()Tells if the type contains the SubSchema Administrative RolebooleanisTriggersAdminRole()Tells if the type contains the Triggers Administrative RolevoidsetAdministrativeRoles(Set<AdministrativeRole> administrativeRoles)Store the Set of administrative roles supported by this SubentryvoidsetSubtreeSpecification(SubtreeSpecification ss)Stores the subtreeStringtoString()
-
-
-
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)
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:
toStringin classObject- See Also:
Object.toString()
-
-