org.openmdx.security.realm1.cci2
Interface Role

All Superinterfaces:
org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable
All Known Subinterfaces:
Role
All Known Implementing Classes:
Role

public interface Role
extends org.openmdx.base.cci2.BasicObject

Class Role


Nested Class Summary
static interface Role.Identity
          Object Identity
 
Method Summary
 String getDescription()
           
 String getName()
          Retrieves the value for the attribute name.
<T extends Permission>
Collection<T>
getPermission()
          Retrieves a set containing all the elements for the reference permission.
 Policy getPolicy()
          Retrieves the value for the reference policy.
 boolean isDisabled()
          Retrieves the value for the attribute disabled.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setDisabled(boolean disabled)
          Sets a new value for the attribute disabled.
 void setPolicy(Policy policy)
          Sets a new value for the reference policy.
 void setPolicy(Policy policy, boolean nameIsPersistent, String name)
          Set the object's composite association org:openmdx:security:realm1:RoleBelongsToPolicy.
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 

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.

isDisabled

boolean isDisabled()
Retrieves the value for the attribute disabled.

Returns:
The non-null value for attribute disabled.

setDisabled

void setDisabled(boolean disabled)
Sets a new value for the attribute disabled.

Parameters:
disabled - The non-null new value for attribute disabled.

getName

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

Returns:
The non-null value for attribute name.

getPermission

<T extends Permission> Collection<T> getPermission()
Retrieves a set containing all the elements for the reference permission.

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

getPolicy

Policy getPolicy()
Retrieves the value for the reference policy.

Returns:
The non-null value for this reference.

setPolicy

void setPolicy(Policy policy)
Sets a new value for the reference policy.

Parameters:
policy - The non-null new value for this reference.

setPolicy

void setPolicy(Policy policy,
               boolean nameIsPersistent,
               String name)
Set the object's composite association org:openmdx:security:realm1:RoleBelongsToPolicy.

Parameters:
policy - The non-null new value for this object's composite owner.
nameIsPersistent - Defines whether the name is persistent.
name - The non-null new value for this object's qualifier.


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