org.openmdx.base.cci
Interface RoleCapable
- All Superinterfaces:
- RefBaseObject, RefFeatured, RefObject, RefObject_1_0
- All Known Implementing Classes:
- RoleCapableImpl
public interface RoleCapable
- extends RefObject_1_0
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
getRole
RoleCapable getRole(String roleId)
- Retrieves the value for the reference
role for the
specified qualifier attribute value.
- Parameters:
roleId - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this reference.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
getRole
Collection getRole()
- Retrieves the objects referenced by
role.
- Returns:
- The collection of referenced objects.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
addRole
void addRole(String roleId,
RoleCapable newValue)
- Parameters:
roleId - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.
- Throws:
JmiException - If the value cannot be appended for some reason.
addRole
void addRole(RoleCapable newValue)
- Parameters:
newValue - The element to be appended.
- Throws:
JmiException - If the value cannot be appended for some reason.
removeRole
void removeRole(String roleId)
- Throws:
JmiException - If the value cannot be removed for some reason.
getRoleId
String getRoleId()
- Returns:
- The possibly null value for attribute
roleId.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.