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
 java.util.List findElementsByType(MofClass ofType, boolean includeSubtypes)
           
 java.util.List getContents()
           
 ModelElement lookupElement(java.lang.String name)
           
 boolean nameIsValid(java.lang.String proposedName)
           
 ModelElement resolveQualifiedName(java.util.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

public ModelElement lookupElement(java.lang.String name)
                           throws NameNotFoundException
NameNotFoundException

resolveQualifiedName

public ModelElement resolveQualifiedName(java.util.List qualifiedName)
                                  throws NameNotResolvedException
NameNotResolvedException

findElementsByType

public java.util.List findElementsByType(MofClass ofType,
                                         boolean includeSubtypes)

nameIsValid

public boolean nameIsValid(java.lang.String proposedName)

getContents

public java.util.List getContents()