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

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

public class RoleSetView
extends java.lang.Object

map to the role set view for testing

Author:
mchyzer

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

See Also:
Constant Field Values

FIELD_ID

public static final java.lang.String FIELD_ID
constant for field name for: id

See Also:
Constant Field Values

FIELD_IF_HAS_ROLE_ID

public static final java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String FIELD_THEN_HAS_ROLE_NAME
constant for field name for: thenHasRoleName

See Also:
Constant Field Values

FIELD_TYPE

public static final java.lang.String FIELD_TYPE
constant for field name for: type

See Also:
Constant Field Values

FIELD_PARENT_IF_HAS_NAME

public static final java.lang.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 java.lang.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 java.lang.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(java.lang.String type1)
membership type -- self, immediate, or effective set group set assignment type

Parameters:
type1 -

getIfHasRoleName

public java.lang.String getIfHasRoleName()
name of the set role

Returns:
the ifHasRoleName

setIfHasRoleName

public void setIfHasRoleName(java.lang.String ifHasRoleName1)
name of the set role

Parameters:
ifHasRoleName1 - the ifHasRoleName to set

getThenHasRoleName

public java.lang.String getThenHasRoleName()
name of the member role

Returns:
the thenHasRoleName

setThenHasRoleName

public void setThenHasRoleName(java.lang.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 java.lang.String getId()
id of the set record

Returns:
the id

setId

public void setId(java.lang.String id1)
id of the set record

Parameters:
id1 - the id to set

getIfHasRoleId

public java.lang.String getIfHasRoleId()
id of the set role

Returns:
the ifHasRoleId

setIfHasRoleId

public void setIfHasRoleId(java.lang.String ifHasRoleId1)
id of the set role

Parameters:
ifHasRoleId1 - the ifHasRoleId to set

getThenHasRoleId

public java.lang.String getThenHasRoleId()
Returns:
the thenHasRoleId

setThenHasRoleId

public void setThenHasRoleId(java.lang.String thenHasRoleId1)
id of the member role

Parameters:
thenHasRoleId1 - the thenHasRoleId to set

getParentRoleSetId

public java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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