java.lang.Object
edu.internet2.middleware.grouper.permissions.role.RoleSetView

public class RoleSetView extends Object
map to the role set view for testing
  • Field Details

    • FIELD_DEPTH

      public static final String FIELD_DEPTH
      constant for field name for: depth
      See Also:
    • FIELD_ID

      public static final String FIELD_ID
      constant for field name for: id
      See Also:
    • FIELD_IF_HAS_ROLE_ID

      public static final String FIELD_IF_HAS_ROLE_ID
      constant for field name for: ifHasRoleId
      See Also:
    • FIELD_IF_HAS_ROLE_NAME

      public static final String FIELD_IF_HAS_ROLE_NAME
      constant for field name for: ifHasRoleName
      See Also:
    • FIELD_PARENT_ROLE_SET_ID

      public static final String FIELD_PARENT_ROLE_SET_ID
      constant for field name for: parentId
      See Also:
    • FIELD_THEN_HAS_ROLE_ID

      public static final String FIELD_THEN_HAS_ROLE_ID
      constant for field name for: thenHasRoleId
      See Also:
    • FIELD_THEN_HAS_ROLE_NAME

      public static final String FIELD_THEN_HAS_ROLE_NAME
      constant for field name for: thenHasRoleName
      See Also:
    • FIELD_TYPE

      public static final String FIELD_TYPE
      constant for field name for: type
      See Also:
    • FIELD_PARENT_IF_HAS_NAME

      public static final String FIELD_PARENT_IF_HAS_NAME
      constant for field name for: parentIfHasName
      See Also:
    • FIELD_PARENT_THEN_HAS_NAME

      public static final String FIELD_PARENT_THEN_HAS_NAME
      constant for field name for: parentThenHasName
      See Also:
  • Constructor Details

    • RoleSetView

      public RoleSetView()
  • Method Details

    • getType

      public RoleHierarchyType getType()
      Returns:
      membership type (immediate, effective, or self)
    • getTypeDb

      public String getTypeDb()
      membership type -- self, immediate, or effective get string value of type for hibernate
      Returns:
      type
    • setType

      public void setType(RoleHierarchyType type1)
      membership type -- self, immediate, or effective set group set assignment type
      Parameters:
      type1 -
    • setTypeDb

      public void setTypeDb(String type1)
      membership type -- self, immediate, or effective set group set assignment type
      Parameters:
      type1 -
    • getIfHasRoleName

      public String getIfHasRoleName()
      name of the set role
      Returns:
      the ifHasRoleName
    • setIfHasRoleName

      public void setIfHasRoleName(String ifHasRoleName1)
      name of the set role
      Parameters:
      ifHasRoleName1 - the ifHasRoleName to set
    • getThenHasRoleName

      public String getThenHasRoleName()
      name of the member role
      Returns:
      the thenHasRoleName
    • setThenHasRoleName

      public void setThenHasRoleName(String thenHasRoleName1)
      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

      public String getId()
      id of the set record
      Returns:
      the id
    • setId

      public void setId(String id1)
      id of the set record
      Parameters:
      id1 - the id to set
    • getIfHasRoleId

      public String getIfHasRoleId()
      id of the set role
      Returns:
      the ifHasRoleId
    • setIfHasRoleId

      public void setIfHasRoleId(String ifHasRoleId1)
      id of the set role
      Parameters:
      ifHasRoleId1 - the ifHasRoleId to set
    • getThenHasRoleId

      public String getThenHasRoleId()
      Returns:
      the thenHasRoleId
    • setThenHasRoleId

      public void setThenHasRoleId(String thenHasRoleId1)
      id of the member role
      Parameters:
      thenHasRoleId1 - the thenHasRoleId to set
    • getParentRoleSetId

      public String getParentRoleSetId()
      id of the role set record which is the immediate record this derives from (everything but last hop)
      Returns:
      the parentRoleSetId
    • setParentRoleSetId

      public void setParentRoleSetId(String parentRoleSetId1)
      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

      public String getParentIfHasName()
      name of the attribute of the parent where if it has this name, then it has another name
      Returns:
      the parentIfHasName
    • setParentIfHasName

      public void setParentIfHasName(String parentIfHasName1)
      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

      public String getParentThenHasName()
      name of the attribute of the parent where it has this name, if it have the ifName
      Returns:
      the parentThenHasName
    • setParentThenHasName

      public void setParentThenHasName(String parentThenHasName1)
      name of the attribute of the parent where it has this name, if it have the ifName
      Parameters:
      parentThenHasName1 - the parentThenHasName to set