javax.jmi.model
Interface Namespace

All Superinterfaces:
ModelElement, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
AliasType, Association, BehavioralFeature, Classifier, CollectionType, DataType, EnumerationType, GeneralizableElement, MofClass, MofException, MofPackage, Operation, PrimitiveType, StructureType

public interface Namespace
extends ModelElement


Field Summary
 
Fields inherited from interface javax.jmi.model.ModelElement
ALLDEP, CONSTRAINEDELEMENTSDEP, CONSTRAINTDEP, CONTAINERDEP, CONTENTSDEP, IMPORTDEP, INDIRECTDEP, REFERENCEDENDSDEP, SIGNATUREDEP, SPECIALIZATIONDEP, TAGGEDELEMENTSDEP, TYPEDEFINITIONDEP
 
Method Summary
 List findElementsByType(MofClass ofType, boolean includeSubtypes)
           
 List getContents()
           
 ModelElement lookupElement(String name)
           
 boolean nameIsValid(String proposedName)
           
 ModelElement resolveQualifiedName(List qualifiedName)
           
 
Methods inherited from interface javax.jmi.model.ModelElement
findRequiredElements, getAnnotation, getConstraints, getContainer, getName, getQualifiedName, getRequiredElements, isFrozen, isRequiredBecause, isVisible, setAnnotation, setContainer, setName
 
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

lookupElement

ModelElement lookupElement(String name)
                           throws NameNotFoundException
Throws:
NameNotFoundException

resolveQualifiedName

ModelElement resolveQualifiedName(List qualifiedName)
                                  throws NameNotResolvedException
Throws:
NameNotResolvedException

findElementsByType

List findElementsByType(MofClass ofType,
                        boolean includeSubtypes)

nameIsValid

boolean nameIsValid(String proposedName)

getContents

List getContents()


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