org.openmdx.compatibility.view1.cci
Interface ViewCapable

All Superinterfaces:
javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, org.openmdx.base.accessor.jmi.cci.RefObject_1_0
All Known Subinterfaces:
AbstractField, AdditionalElementDefinition, AlternateElementDefinition, AssertableInspector, AttributePane, BasicObject, CheckBox, CompoundField, Container, ContainerField, DateField, DocumentBox, Element, ElementDefinition, FieldGroup, Inspector, LabelledField, NonLabelledField, NumberField, ObjectContainer, ObjectReferenceField, OperationPane, OperationTab, Pane, ReferencePane, Segment, Segment, Tab, TextBox, TextField, ValuedField
All Known Implementing Classes:
AbstractFieldImpl, AdditionalElementDefinitionImpl, AlternateElementDefinitionImpl, AssertableInspectorImpl, AttributePaneImpl, BasicObjectImpl, CheckBoxImpl, CompoundFieldImpl, ContainerFieldImpl, ContainerImpl, DateFieldImpl, DocumentBoxImpl, ElementDefinitionImpl, ElementImpl, FieldGroupImpl, InspectorImpl, LabelledFieldImpl, NonLabelledFieldImpl, NumberFieldImpl, ObjectContainerImpl, ObjectReferenceFieldImpl, OperationPaneImpl, OperationTabImpl, PaneImpl, ReferencePaneImpl, SegmentImpl, SegmentImpl, TabImpl, TextBoxImpl, TextFieldImpl, ValuedFieldImpl, ViewCapableImpl

public interface ViewCapable
extends org.openmdx.base.accessor.jmi.cci.RefObject_1_0


Method Summary
 Collection getView()
          Retrieves a collection containing all the elements for the reference view.
 View getView(String namespace)
          Retrieves the value for the reference view for the specified qualifier attribute value.
 List getView(ViewFilter filter)
          Retrieves the value for the reference view for the specified filter.
 List getView(ViewQuery query)
          Retrieves the value for the reference view for the specified query.
 
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 javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getView

View getView(String namespace)
Retrieves the value for the reference view for the specified qualifier attribute value.

Parameters:
namespace - 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.

getView

Collection getView()
Retrieves a collection containing all the elements for the reference view.

Returns:
A collection containing all the elements for this reference.
Throws:
JmiException - If the values cannot be retrieved for some reason.

getView

List getView(ViewFilter filter)
Retrieves the value for the reference view 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.

getView

List getView(ViewQuery query)
Retrieves the value for the reference view 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.


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