org.omg.model1.cci2
Interface Namespace

All Superinterfaces:
BasicObject, ContextCapable, Element, ExtentCapable, ViewCapable
All Known Subinterfaces:
AliasType, AliasType, Association, Association, BehaviouralFeature, BehaviouralFeature, Class, Class, Classifier, Classifier, CollectionType, CollectionType, Datatype, Datatype, EnumerationType, EnumerationType, Exception, Exception, GeneralizableElement, GeneralizableElement, Namespace, Operation, Operation, Package, Package, PrimitiveType, PrimitiveType, StructureType, StructureType
All Known Implementing Classes:
AliasType, Association, Class, CollectionType, EnumerationType, Exception, Operation, Package, PrimitiveType, StructureType

public interface Namespace
extends Element

Abstract class Namespace


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.omg.model1.cci2.Element
Element.Identity
 
Method Summary
<T extends NamespaceFindElementsByTypeResult>
T
findElementsByType(boolean includeSubtypes, String ofType)
           
<T extends Element>
Set<T>
getAllNamespaceContent()
          Retrieves a set containing all the elements for the reference allNamespaceContent.
<T extends Element>
Set<T>
getContent()
          Retrieves the Collection of objects referenced by content.
<T extends Element>
Set<T>
getNamespaceContent()
          Retrieves a set containing all the elements for the reference namespaceContent.
<T extends NamespaceLookupElementResult>
T
lookupElement(String name)
           
<T extends NamespaceResolveQualifiedNameResult>
T
resolveQualifiedName(String qualifiedName)
           
 
Methods inherited from interface org.omg.model1.cci2.Element
getAnnotation, getContainer, getName, getQualifiedName, getSegment, getStereotype, setAnnotation, setContainer, setSegment, setSegment, setStereotype
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 

Method Detail

getAllNamespaceContent

<T extends Element> Set<T> getAllNamespaceContent()
Retrieves a set containing all the elements for the reference allNamespaceContent.

Returns:
A set containing all the elements for this reference.

getContent

<T extends Element> Set<T> getContent()
Retrieves the Collection of objects referenced by content.

Returns:
The Collection of referenced objects.

findElementsByType

<T extends NamespaceFindElementsByTypeResult> T findElementsByType(boolean includeSubtypes,
                                                                   String ofType)
                                                               throws RefException
Throws:
RefException

lookupElement

<T extends NamespaceLookupElementResult> T lookupElement(String name)
                                                     throws RefException
Throws:
RefException

getNamespaceContent

<T extends Element> Set<T> getNamespaceContent()
Retrieves a set containing all the elements for the reference namespaceContent.

Returns:
A set containing all the elements for this reference.

resolveQualifiedName

<T extends NamespaceResolveQualifiedNameResult> T resolveQualifiedName(String qualifiedName)
                                                                   throws RefException
Throws:
RefException


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