org.openmdx.base.cci
Interface ContextCapable

All Superinterfaces:
RefBaseObject, RefFeatured, RefObject, RefObject_1_0
All Known Subinterfaces:
AliasType, Association, AssociationEnd, Attribute, BasicObject, BehaviouralFeature, Class, Classifier, CollectionType, Component, Configuration, Connection, Constant, Constraint, DatabaseConnector, DatabaseResourceReference, Dataprovider, DataproviderBooleanProperty, DataproviderConnector, DataproviderIntegerProperty, DataproviderProperty, DataproviderResource, DataproviderResourceReference, DataproviderStringProperty, DataproviderType, DataproviderTypeBooleanProperty, DataproviderTypeIntegerProperty, DataproviderTypeProperty, DataproviderTypeStringProperty, Datatype, DeploymentUnit, Domain, Domain, Element, EnumerationType, Exception, Feature, GeneralizableElement, GenericResourceReference, HttpUrlConnector, Import, InboundCommunication, Instance, Module, Namespace, Namespace, Operation, OutboundCommunication, Package, Parameter, PrimitiveType, Reference, ResourceAdapter, ResourceAdapterBooleanProperty, ResourceAdapterIntegerProperty, ResourceAdapterProperty, ResourceAdapterStringProperty, ResourceReference, Segment, Segment, Segment, Segment, Segment, Segment, StatefulConnection, StatelessConnection, StatelessResource, Statistics, StructuralFeature, StructureField, StructureType, Tag, TypedElement, UnitOfWork
All Known Implementing Classes:
AliasTypeImpl, AssociationEndImpl, AssociationImpl, AttributeImpl, BasicObjectImpl, BehaviouralFeatureImpl, ClassifierImpl, ClassImpl, CollectionTypeImpl, ComponentImpl, ConfigurationImpl, ConnectionImpl, ConstantImpl, ConstraintImpl, ContextCapableImpl, DatabaseConnectorImpl, DatabaseResourceReferenceImpl, DataproviderBooleanPropertyImpl, DataproviderConnectorImpl, DataproviderImpl, DataproviderIntegerPropertyImpl, DataproviderPropertyImpl, DataproviderResourceImpl, DataproviderResourceReferenceImpl, DataproviderStringPropertyImpl, DataproviderTypeBooleanPropertyImpl, DataproviderTypeImpl, DataproviderTypeIntegerPropertyImpl, DataproviderTypePropertyImpl, DataproviderTypeStringPropertyImpl, DatatypeImpl, DeploymentUnitImpl, DomainImpl, DomainImpl, ElementImpl, EnumerationTypeImpl, ExceptionImpl, FeatureImpl, GeneralizableElementImpl, GenericResourceReferenceImpl, HttpUrlConnectorImpl, ImportImpl, InboundCommunicationImpl, InstanceImpl, ModuleImpl, NamespaceImpl, NamespaceImpl, OperationImpl, OutboundCommunicationImpl, PackageImpl, ParameterImpl, PrimitiveTypeImpl, ReferenceImpl, ResourceAdapterBooleanPropertyImpl, ResourceAdapterImpl, ResourceAdapterIntegerPropertyImpl, ResourceAdapterPropertyImpl, ResourceAdapterStringPropertyImpl, ResourceReferenceImpl, SegmentImpl, SegmentImpl, SegmentImpl, SegmentImpl, SegmentImpl, SegmentImpl, StatefulConnectionImpl, StatelessConnectionImpl, StatelessResourceImpl, StatisticsImpl, StructuralFeatureImpl, StructureFieldImpl, StructureTypeImpl, TagImpl, TypedElementImpl, UnitOfWorkImpl

public interface ContextCapable
extends RefObject_1_0


Method Summary
 Collection getContext()
          Retrieves the objects referenced by context.
 Context getContext(String id)
          Retrieves the value for the reference context for the specified qualifier attribute value.
 
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

getContext

Context getContext(String id)
Retrieves the value for the reference context 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.

getContext

Collection getContext()
Retrieves the objects referenced by context.

Returns:
The collection of referenced objects.
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.