org.omg.model1.jmi1
Interface Namespace

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

public interface Namespace
extends Namespace, 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(NamespaceFindElementsByTypeParams params)
           
<T extends Element>
List<T>
getAllNamespaceContent(ElementQuery query)
          Retrieves the value for the reference allNamespaceContent for the specified query.
 Namespace getContainer()
          Retrieves the value for the reference container.
<T extends Element>
List<T>
getNamespaceContent(ElementQuery query)
          Retrieves the value for the reference namespaceContent for the specified query.
 Segment getSegment()
          Retrieves the value for the reference segment.
<T extends View>
List<T>
getView(ViewQuery query)
          Retrieves the value for the reference view for the specified query.
<T extends NamespaceLookupElementResult>
T
lookupElement(NamespaceLookupElementParams params)
           
 void removeContainer()
          Removes the value for the optional reference container.
<T extends NamespaceResolveQualifiedNameResult>
T
resolveQualifiedName(NamespaceResolveQualifiedNameParams params)
           
 void setContainer(Namespace container)
          Sets a new value for the reference container.
 
Methods inherited from interface org.omg.model1.cci2.Namespace
findElementsByType, getAllNamespaceContent, getContent, getNamespaceContent, lookupElement, resolveQualifiedName
 
Methods inherited from interface org.omg.model1.jmi1.Element
getStereotype, setSegment, setSegment, setStereotype
 
Methods inherited from interface org.omg.model1.cci2.Element
getAnnotation, getName, getQualifiedName, setAnnotation, setStereotype
 
Methods inherited from interface org.openmdx.base.jmi1.BasicObject
getCreatedBy, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getModifiedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
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

getContainer

Namespace getContainer()
Retrieves the value for the reference container.

Specified by:
getContainer in interface Element
Returns:
The – possibly null – value for this reference.

setContainer

void setContainer(Namespace container)
Sets a new value for the reference container.

Specified by:
setContainer in interface Element
Parameters:
container - The non-null new value for this reference.

removeContainer

void removeContainer()
Removes the value for the optional reference container.


getSegment

Segment getSegment()
Retrieves the value for the reference segment.

Specified by:
getSegment in interface Element
Returns:
The non-null value for this reference.

getAllNamespaceContent

<T extends Element> List<T> getAllNamespaceContent(ElementQuery query)
Retrieves the value for the reference allNamespaceContent for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

findElementsByType

<T extends NamespaceFindElementsByTypeResult> T findElementsByType(NamespaceFindElementsByTypeParams params)
                                                               throws RefException
Throws:
RefException

lookupElement

<T extends NamespaceLookupElementResult> T lookupElement(NamespaceLookupElementParams params)
                                                     throws RefException
Throws:
RefException

getNamespaceContent

<T extends Element> List<T> getNamespaceContent(ElementQuery query)
Retrieves the value for the reference namespaceContent for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

resolveQualifiedName

<T extends NamespaceResolveQualifiedNameResult> T resolveQualifiedName(NamespaceResolveQualifiedNameParams params)
                                                                   throws RefException
Throws:
RefException

getView

<T extends View> List<T> getView(ViewQuery query)
Retrieves the value for the reference view for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.


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