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
 NamespaceFindElementsByTypeResult findElementsByType(boolean includeSubtypes, String ofType)
           
<T extends Element>
Collection<T>
getAllNamespaceContent()
          Retrieves a set containing all the elements for the reference allNamespaceContent.
 Element getAllNamespaceContent(boolean qualifiedNameIsPersistent, String qualifiedName)
          Retrieves the value for the reference allNamespaceContent for the specified qualifier attribute value.
<T extends Element>
Set<T>
getContent()
          Retrieves the Collection of objects referenced by content.
<T extends Element>
Collection<T>
getNamespaceContent()
          Retrieves a set containing all the elements for the reference namespaceContent.
 Element getNamespaceContent(boolean qualifiedNameIsPersistent, String qualifiedName)
          Retrieves the value for the reference namespaceContent for the specified qualifier attribute value.
 NamespaceLookupElementResult lookupElement(String name)
           
 NamespaceResolveQualifiedNameResult resolveQualifiedName(String qualifiedName)
           
 
Methods inherited from interface org.omg.model1.cci2.Element
getAnnotation, getContainer, getName, getQualifiedName, getSegment, getStereotype, setAnnotation, setContainer, 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, getView
 

Method Detail

getAllNamespaceContent

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

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

getAllNamespaceContent

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

Parameters:
qualifiedNameIsPersistent - Defines whether value for the qualifier is persistent or not
qualifiedName - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getContent

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

Returns:
The Collection of referenced objects.

findElementsByType

NamespaceFindElementsByTypeResult findElementsByType(boolean includeSubtypes,
                                                     String ofType)

lookupElement

NamespaceLookupElementResult lookupElement(String name)

getNamespaceContent

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

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

getNamespaceContent

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

Parameters:
qualifiedNameIsPersistent - Defines whether value for the qualifier is persistent or not
qualifiedName - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

resolveQualifiedName

NamespaceResolveQualifiedNameResult resolveQualifiedName(String qualifiedName)


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