org.openmdx.security.realm1.cci2
Interface Privilege

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:
ModelClassPrivilege, ModelClassPrivilege, ModelElementPrivilege, ModelElementPrivilege, ModelReferencePrivilege, ModelReferencePrivilege, Privilege, Privilege, Privilege, ResourcePrivilege, ResourcePrivilege
All Known Implementing Classes:
ModelClassPrivilege, ModelReferencePrivilege, Privilege, Privilege, ResourcePrivilege

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

Abstract class Privilege


Nested Class Summary
static interface Privilege.Identity
          Object Identity
 
Method Summary
 Set<String> getAction()
           
 String getDescription()
           
 String getName()
          Retrieves the value for the attribute name.
 void setAction(String... action)
           This method is equivalent to
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setPolicy(Policy policy)
          Sets a new value for the reference policy.
 void setPolicy(Policy policy, boolean idIsPersistent, String id)
          Set the object's composite association org:openmdx:security:realm1:PrivilegeBelongsToPolicy.
 
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

getAction

Set<String> getAction()
Returns:
A set containing all elements for this attribute.

setAction

void setAction(String... action)

This method is equivalent to

   set.clear();
   set.addAll(Arrays.asList(action));
 

Parameters:
action - value(s) to be added to action

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.

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 idIsPersistent,
               String id)
Set the object's composite association org:openmdx:security:realm1:PrivilegeBelongsToPolicy.

Parameters:
policy - The non-null new value for this object's composite owner.
idIsPersistent - Defines whether the id is persistent.
id - 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.