Interface Graphable
-
- All Known Implementing Classes:
AdminRole
,AdminRoleAnt
,OrgUnit
,OrgUnitAnt
,Role
public interface Graphable
The Fortress Graphable interface prescribes attributes that are used to maintain implementor within a simple directed graph.Role
,AdminRole
,OrgUnit
entities.Manageable Schema
The entity maps to Fortress LDAP attributetype :( 1.3.6.1.4.1.1.38088.1.28 NAME 'ftParents' DESC 'Fortress Parent Nodes' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delParent(String parent)
Set the occupant attribute with the contents of the User dn.String
getName()
Get the name required attribute of the node.Set<String>
getParents()
Get the names of roles that are parents (direct ascendants) of this role.void
setName(String name)
Sets the required name attribute on the node.void
setParent(String parent)
Set the occupant attribute with the contents of the User dn.void
setParents(Set<String> parents)
Set the names of roles names that are parents (direct ascendants) of this role.
-
-
-
Method Detail
-
getParents
Set<String> getParents()
Get the names of roles that are parents (direct ascendants) of this role.- Returns:
- Set of parent role names assigned to this role.
-
setParents
void setParents(Set<String> parents)
Set the names of roles names that are parents (direct ascendants) of this role.- Parameters:
parents
- contains the Set of parent role names assigned to this role.
-
setParent
void setParent(String parent)
Set the occupant attribute with the contents of the User dn.- Parameters:
parent
- maps to 'ftParents' attribute on 'ftRls' object class.
-
delParent
void delParent(String parent)
Set the occupant attribute with the contents of the User dn.- Parameters:
parent
- maps to 'ftParents' attribute on 'ftRls' object class.
-
getName
String getName()
Get the name required attribute of the node.- Returns:
- attribute maps to attribute on 'organizationalUnit' object class.
-
setName
void setName(String name)
Sets the required name attribute on the node.- Parameters:
name
- The name to set
-
-