org.omg.model1.cci
Interface Namespace

All Superinterfaces:
BasicObject, ContextCapable, Element, ExtentCapable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, ViewCapable
All Known Subinterfaces:
AliasType, Association, BehaviouralFeature, Class, Classifier, CollectionType, Datatype, EnumerationType, Exception, GeneralizableElement, Operation, Package, PrimitiveType, StructureType
All Known Implementing Classes:
AliasTypeImpl, AssociationImpl, BehaviouralFeatureImpl, ClassifierImpl, ClassImpl, CollectionTypeImpl, DatatypeImpl, EnumerationTypeImpl, ExceptionImpl, GeneralizableElementImpl, NamespaceImpl, OperationImpl, PackageImpl, PrimitiveTypeImpl, StructureTypeImpl

public interface Namespace
extends Element


Method Summary
 NamespaceFindElementsByTypeResult findElementsByType(boolean includeSubtypes, String ofType)
           
 NamespaceFindElementsByTypeResult findElementsByType(NamespaceFindElementsByTypeParams params)
           
 Collection getAllNamespaceContent()
          Retrieves a collection containing all the elements for the reference allNamespaceContent.
 List getAllNamespaceContent(ElementFilter filter)
          Retrieves the value for the reference allNamespaceContent for the specified filter.
 List getAllNamespaceContent(ElementQuery query)
          Retrieves the value for the reference allNamespaceContent for the specified query.
 Element getAllNamespaceContent(String qualifiedName)
          Retrieves the value for the reference allNamespaceContent for the specified qualifier attribute value.
 Collection getContent()
          Retrieves a collection containing all the elements for the reference content.
 List getContent(ElementFilter filter)
          Retrieves the value for the reference content for the specified filter.
 List getContent(ElementQuery query)
          Retrieves the value for the reference content for the specified query.
 Collection getNamespaceContent()
          Retrieves a collection containing all the elements for the reference namespaceContent.
 List getNamespaceContent(ElementFilter filter)
          Retrieves the value for the reference namespaceContent for the specified filter.
 List getNamespaceContent(ElementQuery query)
          Retrieves the value for the reference namespaceContent for the specified query.
 Element getNamespaceContent(String qualifiedName)
          Retrieves the value for the reference namespaceContent for the specified qualifier attribute value.
 NamespaceLookupElementResult lookupElement(NamespaceLookupElementParams params)
           
 NamespaceLookupElementResult lookupElement(String name)
           
 NamespaceResolveQualifiedNameResult resolveQualifiedName(NamespaceResolveQualifiedNameParams params)
           
 NamespaceResolveQualifiedNameResult resolveQualifiedName(String qualifiedName)
           
 
Methods inherited from interface org.omg.model1.cci.Element
getAnnotation, getContainer, getName, getQualifiedName, getSegment, getStereotype, removeContainer, setAnnotation, setContainer, setStereotype
 
Methods inherited from interface org.openmdx.base.cci.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci.ContextCapable
getContext, getContext
 
Methods inherited from interface org.openmdx.base.cci.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci.ViewCapable
getView, getView, getView, getView
 
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

getAllNamespaceContent

Element getAllNamespaceContent(String qualifiedName)
Retrieves the value for the reference allNamespaceContent for the specified qualifier attribute value.

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

getAllNamespaceContent

Collection getAllNamespaceContent()
Retrieves a collection containing all the elements for the reference allNamespaceContent.

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

getAllNamespaceContent

List getAllNamespaceContent(ElementFilter filter)
Retrieves the value for the reference allNamespaceContent 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.

getAllNamespaceContent

List getAllNamespaceContent(ElementQuery query)
Retrieves the value for the reference allNamespaceContent 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.

getContent

Collection getContent()
Retrieves a collection containing all the elements for the reference content.

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

getContent

List getContent(ElementFilter filter)
Retrieves the value for the reference content 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.

getContent

List getContent(ElementQuery query)
Retrieves the value for the reference content 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.

findElementsByType

NamespaceFindElementsByTypeResult findElementsByType(NamespaceFindElementsByTypeParams params)
                                                     throws RefException
Throws:
RefException

findElementsByType

NamespaceFindElementsByTypeResult findElementsByType(boolean includeSubtypes,
                                                     String ofType)
                                                     throws RefException
Throws:
RefException

lookupElement

NamespaceLookupElementResult lookupElement(NamespaceLookupElementParams params)
                                           throws RefException
Throws:
RefException

lookupElement

NamespaceLookupElementResult lookupElement(String name)
                                           throws RefException
Throws:
RefException

getNamespaceContent

Element getNamespaceContent(String qualifiedName)
Retrieves the value for the reference namespaceContent for the specified qualifier attribute value.

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

getNamespaceContent

Collection getNamespaceContent()
Retrieves a collection containing all the elements for the reference namespaceContent.

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

getNamespaceContent

List getNamespaceContent(ElementFilter filter)
Retrieves the value for the reference namespaceContent 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.

getNamespaceContent

List getNamespaceContent(ElementQuery query)
Retrieves the value for the reference namespaceContent 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.

resolveQualifiedName

NamespaceResolveQualifiedNameResult resolveQualifiedName(NamespaceResolveQualifiedNameParams params)
                                                         throws RefException
Throws:
RefException

resolveQualifiedName

NamespaceResolveQualifiedNameResult resolveQualifiedName(String qualifiedName)
                                                         throws RefException
Throws:
RefException


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