org.opencrx.kernel.model1.cci
Interface Segment
- All Superinterfaces:
- Auditee, ContextCapable, Importer, Indexed, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject, Segment, ViewCapable, XmlExporter
public interface Segment
- extends Segment, Auditee, Importer, Indexed, SecureObject, XmlExporter
| 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 |
| Methods inherited from interface org.opencrx.kernel.base.cci.SecureObject |
addOwningGroup, addOwningGroup, addOwningGroup, addOwningGroup, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwner, getOwningGroup, getOwningGroup, getOwningUser, removeAllOwningGroup, removeAllOwningGroup, removeOwningGroup, removeOwningGroup, removeOwningGroup, removeOwningUser, setAccessLevel, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser, setOwningUser |
getElement
Element getElement(String id)
- Retrieves the value for the reference
element for the
specified qualifier attribute value.
- Parameters:
id - 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.
getElement
Collection getElement()
- Retrieves a collection containing all the elements for the reference
element.
- Returns:
- A collection containing all the elements for this reference.
- Throws:
JmiException - If the values cannot be retrieved for some reason.
getElement
List getElement(ElementFilter filter)
- Retrieves the value for the reference
element for the
specified filter.
- Parameters:
filter - filter which is applied to the set of referenced objects.
- Returns:
- The filtered collection of referenced objects.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
getElement
List getElement(ElementQuery query)
- Retrieves the value for the reference
element for the
specified query.
- Parameters:
predicate - predicate which is applied to the set of referenced objects.
- Returns:
- The filtered collection of referenced objects.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
addElement
void addElement(String id,
Element newValue)
- Parameters:
id - 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.
addElement
void addElement(Element newValue)
- Parameters:
newValue - The element to be appended.
- Throws:
JmiException - If the value cannot be appended for some reason.
removeElement
void removeElement(String id)
- Throws:
JmiException - If the value cannot be removed for some reason.
This software is published under the BSD license. Copyright © 2003-2007, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.