|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectXGTRBAC.SSDRoleSet
public class SSDRoleSet
This class contains methods and members for maintaining SSD role sets. It is instantiated in XRS_DTDScanner class (addSSDRoleSet method).
| Field Summary | |
|---|---|
private int |
cardinality
|
private Policy |
policy
|
private java.util.LinkedList |
SSDRoleNames
|
private java.lang.String |
SSDRoleSetId
|
| Constructor Summary | |
|---|---|
SSDRoleSet(java.lang.String id)
Creates a new instance of SSDRoleSet |
|
| Method Summary | |
|---|---|
int |
addSSDRole(java.lang.String role_name)
Adds a new SSD role to the SSDRoleNames list |
Policy |
getPolicy()
Returns the policy object containing this DSDRoleSet |
int |
getSSDCardinality()
Returns the cardinality of a role set |
int |
getSSDRoleCount()
Returns the number of roles in the set |
java.lang.String |
getSSDRoleName(int index)
Returns the name of the SSD role |
java.lang.String |
getSSDRoleSetId()
Returns the id of a role set |
void |
setPolicy(Policy policy)
Sets the policy object containing this DSDRoleSet |
void |
setSSDCardinality(int cardinality)
Sets the cardinality of a role set |
void |
setSSDRoleName(java.lang.String role_name,
int index)
Sets the name of the SSD role |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String SSDRoleSetId
private java.util.LinkedList SSDRoleNames
private int cardinality
private Policy policy
| Constructor Detail |
|---|
public SSDRoleSet(java.lang.String id)
| Method Detail |
|---|
public java.lang.String getSSDRoleSetId()
public int getSSDCardinality()
public void setSSDCardinality(int cardinality)
cardinality - The role set cardinality supplied as intpublic int getSSDRoleCount()
public void setSSDRoleName(java.lang.String role_name,
int index)
role_name - The name of the role supplied as Stringindex - The integer index of the role in the RoleNames listpublic java.lang.String getSSDRoleName(int index)
index - The integer index of the role in the RoleNames list
public int addSSDRole(java.lang.String role_name)
role_name - Name of the SSD role supllied as String
public Policy getPolicy()
public void setPolicy(Policy policy)
policy - The policy object supplied as Policy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||