org.openmdx.security.realm1.cci2
Interface Policy

All Known Subinterfaces:
Policy, Policy, Policy
All Known Implementing Classes:
Policy

public interface Policy

Abstract class Policy


Method Summary
 String getDescription()
           
 String getName()
          Retrieves the value for the attribute name.
<T extends Privilege>
Collection<T>
getPrivilege()
          Retrieves a set containing all the elements for the reference privilege.
<T extends Role>
Collection<T>
getRole()
          Retrieves a set containing all the elements for the reference role.
 void setDescription(String description)
          Sets a new value for the attribute description.
 

Method Detail

getDescription

String getDescription()
Returns:
The possibly null value for attribute description.

setDescription

void setDescription(String description)
Sets a new value for the attribute description.

Parameters:
description - The possibly null new value for attribute description.

getName

String getName()
Retrieves the value for the attribute name.

Returns:
The non-null value for attribute name.

getPrivilege

<T extends Privilege> Collection<T> getPrivilege()
Retrieves a set containing all the elements for the reference privilege.

Returns:
A set containing all the elements for this reference.

getRole

<T extends Role> Collection<T> getRole()
Retrieves a set containing all the elements for the reference role.

Returns:
A set containing all the elements for this reference.


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.