Class RoleSetView
java.lang.Object
edu.internet2.middleware.grouper.permissions.role.RoleSetView
map to the role set view for testing
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
constant for field name for: depthstatic final String
constant for field name for: idstatic final String
constant for field name for: ifHasRoleIdstatic final String
constant for field name for: ifHasRoleNamestatic final String
constant for field name for: parentIfHasNamestatic final String
constant for field name for: parentIdstatic final String
constant for field name for: parentThenHasNamestatic final String
constant for field name for: thenHasRoleIdstatic final String
constant for field name for: thenHasRoleNamestatic final String
constant for field name for: type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getDepth()
number of hops in the directed graphgetId()
id of the set recordid of the set rolename of the set rolename of the attribute of the parent where if it has this name, then it has another nameid of the role set record which is the immediate record this derives from (everything but last hop)name of the attribute of the parent where it has this name, if it have the ifNamename of the member rolegetType()
membership type -- self, immediate, or effective get string value of type for hibernatevoid
setDepth
(int depth1) number of hops in the directed graphvoid
id of the set recordvoid
setIfHasRoleId
(String ifHasRoleId1) id of the set rolevoid
setIfHasRoleName
(String ifHasRoleName1) name of the set rolevoid
setParentIfHasName
(String parentIfHasName1) name of the attribute of the parent where if it has this name, then it has another namevoid
setParentRoleSetId
(String parentRoleSetId1) id of the role set record which is the immediate record this derives from (everything but last hop)void
setParentThenHasName
(String parentThenHasName1) name of the attribute of the parent where it has this name, if it have the ifNamevoid
setThenHasRoleId
(String thenHasRoleId1) id of the member rolevoid
setThenHasRoleName
(String thenHasRoleName1) name of the member rolevoid
setType
(RoleHierarchyType type1) membership type -- self, immediate, or effective set group set assignment typevoid
membership type -- self, immediate, or effective set group set assignment type
-
Field Details
-
FIELD_DEPTH
constant for field name for: depth- See Also:
-
FIELD_ID
constant for field name for: id- See Also:
-
FIELD_IF_HAS_ROLE_ID
constant for field name for: ifHasRoleId- See Also:
-
FIELD_IF_HAS_ROLE_NAME
constant for field name for: ifHasRoleName- See Also:
-
FIELD_PARENT_ROLE_SET_ID
constant for field name for: parentId- See Also:
-
FIELD_THEN_HAS_ROLE_ID
constant for field name for: thenHasRoleId- See Also:
-
FIELD_THEN_HAS_ROLE_NAME
constant for field name for: thenHasRoleName- See Also:
-
FIELD_TYPE
constant for field name for: type- See Also:
-
FIELD_PARENT_IF_HAS_NAME
constant for field name for: parentIfHasName- See Also:
-
FIELD_PARENT_THEN_HAS_NAME
constant for field name for: parentThenHasName- See Also:
-
-
Constructor Details
-
RoleSetView
public RoleSetView()
-
-
Method Details
-
getType
- Returns:
- membership type (immediate, effective, or self)
-
getTypeDb
membership type -- self, immediate, or effective get string value of type for hibernate- Returns:
- type
-
setType
membership type -- self, immediate, or effective set group set assignment type- Parameters:
type1
-
-
setTypeDb
membership type -- self, immediate, or effective set group set assignment type- Parameters:
type1
-
-
getIfHasRoleName
name of the set role- Returns:
- the ifHasRoleName
-
setIfHasRoleName
name of the set role- Parameters:
ifHasRoleName1
- the ifHasRoleName to set
-
getThenHasRoleName
name of the member role- Returns:
- the thenHasRoleName
-
setThenHasRoleName
name of the member role- Parameters:
thenHasRoleName1
- the thenHasRoleName to set
-
getDepth
public int getDepth()number of hops in the directed graph- Returns:
- the depth
-
setDepth
public void setDepth(int depth1) number of hops in the directed graph- Parameters:
depth1
- the depth to set
-
getId
id of the set record- Returns:
- the id
-
setId
id of the set record- Parameters:
id1
- the id to set
-
getIfHasRoleId
id of the set role- Returns:
- the ifHasRoleId
-
setIfHasRoleId
id of the set role- Parameters:
ifHasRoleId1
- the ifHasRoleId to set
-
getThenHasRoleId
- Returns:
- the thenHasRoleId
-
setThenHasRoleId
id of the member role- Parameters:
thenHasRoleId1
- the thenHasRoleId to set
-
getParentRoleSetId
id of the role set record which is the immediate record this derives from (everything but last hop)- Returns:
- the parentRoleSetId
-
setParentRoleSetId
id of the role set record which is the immediate record this derives from (everything but last hop)- Parameters:
parentRoleSetId1
- the parentRoleSetId to set
-
getParentIfHasName
name of the attribute of the parent where if it has this name, then it has another name- Returns:
- the parentIfHasName
-
setParentIfHasName
name of the attribute of the parent where if it has this name, then it has another name- Parameters:
parentIfHasName1
- the parentIfHasName to set
-
getParentThenHasName
name of the attribute of the parent where it has this name, if it have the ifName- Returns:
- the parentThenHasName
-
setParentThenHasName
name of the attribute of the parent where it has this name, if it have the ifName- Parameters:
parentThenHasName1
- the parentThenHasName to set
-