XGTRBAC
Class Role.RoleCondition

java.lang.Object
  extended by XGTRBAC.Role.RoleCondition
Enclosing class:
Role

public class Role.RoleCondition
extends java.lang.Object

An inner "RoleCondition" class *


Field Summary
private  java.lang.String DExprId
           
private  LogicalExpr LogicalExpr
           
private  java.lang.String PTExprId
           
 
Constructor Summary
Role.RoleCondition()
          Creates a new instance of RoleCondition
 
Method Summary
 java.lang.String getDExprId()
          Returns the duration expression id reference for the role condition
 DurationExpr getDurationExpr(Policy policy)
          Returns the duration expression for the role condition
 LogicalExpr getLogicalExpr()
          Returns the logical expression
 PeriodicTimeExpr getPeriodicTimeExpr(Policy policy)
          Returns the periodic time expression for the role condition
 java.lang.String getPTExprId()
          Returns the periodic time expression id reference for the role condition
 void setDExprId(java.lang.String d_expr_id)
          Sets the duration expression id reference for the role condition
 LogicalExpr setLogicalExpr()
          Sets the logical expression for the RoleCondition
 void setPTExprId(java.lang.String pt_expr_id)
          Sets the periodic time expression id reference for the role condition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PTExprId

private java.lang.String PTExprId

DExprId

private java.lang.String DExprId

LogicalExpr

private LogicalExpr LogicalExpr
Constructor Detail

Role.RoleCondition

public Role.RoleCondition()
Creates a new instance of RoleCondition

Method Detail

setPTExprId

public void setPTExprId(java.lang.String pt_expr_id)
Sets the periodic time expression id reference for the role condition

Parameters:
pt_expr_id - The periodic time expression id reference supplied as String

getPTExprId

public java.lang.String getPTExprId()
Returns the periodic time expression id reference for the role condition

Returns:
The periodic time expression id reference as String

setDExprId

public void setDExprId(java.lang.String d_expr_id)
Sets the duration expression id reference for the role condition

Parameters:
d_expr_id - The duration expression id reference supplied as String

getDExprId

public java.lang.String getDExprId()
Returns the duration expression id reference for the role condition

Returns:
The duration expression id reference as String

getPeriodicTimeExpr

public PeriodicTimeExpr getPeriodicTimeExpr(Policy policy)
Returns the periodic time expression for the role condition

Parameters:
policy - The reference to policy object supplied as Policy
Returns:
The periodic time expression as PeriodicTimeExpr

getDurationExpr

public DurationExpr getDurationExpr(Policy policy)
Returns the duration expression for the role condition

Parameters:
policy - The reference to policy object supplied as Policy
Returns:
The duration expression as DurationExpr

getLogicalExpr

public LogicalExpr getLogicalExpr()
Returns the logical expression

Returns:
The logical expression as LogicalExpr

setLogicalExpr

public LogicalExpr setLogicalExpr()
Sets the logical expression for the RoleCondition

Returns:
The reference to the logical expression as LogicalExpr