edu.internet2.middleware.grouper.permissions.role
Class RoleSetView

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

public class RoleSetView
extends Object

map to the role set view for testing

Author:
mchyzer

Field Summary
static String FIELD_DEPTH
          constant for field name for: depth
static String FIELD_ID
          constant for field name for: id
static String FIELD_IF_HAS_ROLE_ID
          constant for field name for: ifHasRoleId
static String FIELD_IF_HAS_ROLE_NAME
          constant for field name for: ifHasRoleName
static String FIELD_PARENT_IF_HAS_NAME
          constant for field name for: parentIfHasName
static String FIELD_PARENT_ROLE_SET_ID
          constant for field name for: parentId
static String FIELD_PARENT_THEN_HAS_NAME
          constant for field name for: parentThenHasName
static String FIELD_THEN_HAS_ROLE_ID
          constant for field name for: thenHasRoleId
static String FIELD_THEN_HAS_ROLE_NAME
          constant for field name for: thenHasRoleName
static String FIELD_TYPE
          constant for field name for: type
 
Constructor Summary
RoleSetView()
           
 
Method Summary
 int getDepth()
          number of hops in the directed graph
 String getId()
          id of the set record
 String getIfHasRoleId()
          id of the set role
 String getIfHasRoleName()
          name of the set role
 String getParentIfHasName()
          name of the attribute of the parent where if it has this name, then it has another name
 String getParentRoleSetId()
          id of the role set record which is the immediate record this derives from (everything but last hop)
 String getParentThenHasName()
          name of the attribute of the parent where it has this name, if it have the ifName
 String getThenHasRoleId()
           
 String getThenHasRoleName()
          name of the member role
 RoleHierarchyType getType()
           
 String getTypeDb()
          membership type -- self, immediate, or effective get string value of type for hibernate
 void setDepth(int depth1)
          number of hops in the directed graph
 void setId(String id1)
          id of the set record
 void setIfHasRoleId(String ifHasRoleId1)
          id of the set role
 void setIfHasRoleName(String ifHasRoleName1)
          name of the set role
 void setParentIfHasName(String parentIfHasName1)
          name of the attribute of the parent where if it has this name, then it has another name
 void 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 ifName
 void setThenHasRoleId(String thenHasRoleId1)
          id of the member role
 void setThenHasRoleName(String thenHasRoleName1)
          name of the member role
 void setType(RoleHierarchyType type1)
          membership type -- self, immediate, or effective set group set assignment type
 void setTypeDb(String type1)
          membership type -- self, immediate, or effective set group set assignment type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_DEPTH

public static final String FIELD_DEPTH
constant for field name for: depth

See Also:
Constant Field Values

FIELD_ID

public static final String FIELD_ID
constant for field name for: id

See Also:
Constant Field Values

FIELD_IF_HAS_ROLE_ID

public static final String FIELD_IF_HAS_ROLE_ID
constant for field name for: ifHasRoleId

See Also:
Constant Field Values

FIELD_IF_HAS_ROLE_NAME

public static final String FIELD_IF_HAS_ROLE_NAME
constant for field name for: ifHasRoleName

See Also:
Constant Field Values

FIELD_PARENT_ROLE_SET_ID

public static final String FIELD_PARENT_ROLE_SET_ID
constant for field name for: parentId

See Also:
Constant Field Values

FIELD_THEN_HAS_ROLE_ID

public static final String FIELD_THEN_HAS_ROLE_ID
constant for field name for: thenHasRoleId

See Also:
Constant Field Values

FIELD_THEN_HAS_ROLE_NAME

public static final String FIELD_THEN_HAS_ROLE_NAME
constant for field name for: thenHasRoleName

See Also:
Constant Field Values

FIELD_TYPE

public static final String FIELD_TYPE
constant for field name for: type

See Also:
Constant Field Values

FIELD_PARENT_IF_HAS_NAME

public static final String FIELD_PARENT_IF_HAS_NAME
constant for field name for: parentIfHasName

See Also:
Constant Field Values

FIELD_PARENT_THEN_HAS_NAME

public static final String FIELD_PARENT_THEN_HAS_NAME
constant for field name for: parentThenHasName

See Also:
Constant Field Values
Constructor Detail

RoleSetView

public RoleSetView()
Method Detail

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