com.togethersoft.sca.dataflow
Interface INamespaceUnit

All Superinterfaces:
INamedUnit
All Known Subinterfaces:
IBehavior, IClass, IInterface, IPackage, IProject

public interface INamespaceUnit
extends INamedUnit

named program unit which is itself a namespace


Fields inherited from interface com.togethersoft.sca.dataflow.INamedUnit
DEFAULT_ACCESS, KIND_CLASS, KIND_FIELD, KIND_INTERFACE, KIND_METHOD, KIND_PACKAGE, KIND_PROJECT, KINDS_NUMBER, MODIFIER_ABSTRACT, MODIFIER_FINAL, MODIFIER_NATIVE, MODIFIER_STATIC, MODIFIER_STRICTFP, MODIFIER_SYNCHRONIZED, MODIFIER_TRANSIENT, MODIFIER_VOLATILE, PRIVATE_ACCESS, PROTECTED_ACCESS, PUBLIC_ACCESS
 
Method Summary
 INamedUnit[] find(java.lang.String name)
          find all items with a given name
 INamedUnit[] getAll()
          get all items in a namespace
 
Methods inherited from interface com.togethersoft.sca.dataflow.INamedUnit
accessType, getAstObject, isAbstract, isFinal, isNative, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, modifiers, name, remove, scope, unitKind
 

Method Detail

find

public INamedUnit[] find(java.lang.String name)
find all items with a given name
Parameters:
name - --- name of items we are searching for
Returns:
-- array of items with a given name found in this namespace or null if no such items found

getAll

public INamedUnit[] getAll()
get all items in a namespace
Returns:
-- array containing all items in namespace