XGTRBAC
Class UserRoleAssign.AssignCondition

java.lang.Object
  extended by XGTRBAC.UserRoleAssign.AssignCondition
Enclosing class:
UserRoleAssign

public class UserRoleAssign.AssignCondition
extends java.lang.Object

An inner "AssignCondition" class *


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

Field Detail

CredType

private java.lang.String CredType

PTExprId

private java.lang.String PTExprId

DExprId

private java.lang.String DExprId

LogicalExpr

private LogicalExpr LogicalExpr
Constructor Detail

UserRoleAssign.AssignCondition

public UserRoleAssign.AssignCondition(java.lang.String cred_type)
Creates a new instance of AssignCondition

Method Detail

getCredType

public java.lang.String getCredType()
Returns the credential type

Returns:
The credential type as String

setPTExprId

public void setPTExprId(java.lang.String pt_expr_id)
Sets the periodic time expression id reference for the assign 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 assign 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 assign 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 assign condition

Returns:
The duration expression id reference as String

getPeriodicTimeExpr

public PeriodicTimeExpr getPeriodicTimeExpr(Policy policy)
Returns the periodic time expression for the assign 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 assign 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 AssignCondition

Returns:
The reference to the logical expression as LogicalExpr