|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectXGTRBAC.Role.RoleConstraint
public class Role.RoleConstraint
An inner "RoleConstraint" class *
| Field Summary | |
|---|---|
private java.lang.String |
DExprId
|
private java.lang.String |
opcode
|
private java.util.LinkedList |
RoleConditionList
|
| Constructor Summary | |
|---|---|
Role.RoleConstraint()
Creates a new instance of RoleConstraint |
|
| Method Summary | |
|---|---|
Role.RoleCondition |
addRoleCondition()
Adds a new role condition to the RoleConditionList |
java.lang.String |
getDExprId()
Returns the duration expression id reference for the role constraint |
DurationExpr |
getDurationExpr(Policy policy,
boolean[] status)
Returns the effective duration expression of a role constraint |
java.lang.String |
getOpcode()
Returns the opcode |
boolean |
getResult(boolean[] status)
Returns the result for a role constraint evaluation |
Role.RoleCondition |
getRoleCondition(int index)
Returns the role condition |
int |
getRoleConditionCount()
Returns the number of role conditions for the role |
void |
setDExprId(java.lang.String d_expr_id)
Sets the duration expression id reference for the role constraint |
void |
setOpcode(java.lang.String op)
Sets the opcode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String opcode
private java.lang.String DExprId
private java.util.LinkedList RoleConditionList
| Constructor Detail |
|---|
public Role.RoleConstraint()
| Method Detail |
|---|
public java.lang.String getOpcode()
public void setOpcode(java.lang.String op)
op - The opcode supplied as Stringpublic void setDExprId(java.lang.String d_expr_id)
d_expr_id - The duration expression id reference supplied as Stringpublic java.lang.String getDExprId()
public int getRoleConditionCount()
public Role.RoleCondition getRoleCondition(int index)
index - The integer index of the role condition in the RoleConditionList
public Role.RoleCondition addRoleCondition()
public boolean getResult(boolean[] status)
status - An array with stored results of all role conditions supplied as boolean[]
public DurationExpr getDurationExpr(Policy policy,
boolean[] status)
policy - The reference to policy object supplied as Policystatus - An array with stored results of all role conditions supplied as boolean[]
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||