com.ibm.dtfj.analyzer.helpers.objectwrapper
Class ListClassDefinitions

java.lang.Object
  extended by TranslatableAnalyzer
      extended by com.ibm.dtfj.analyzer.base.SimpleAnalyzerBean
          extended by com.ibm.dtfj.analyzer.base.CollectionAnalyzerBase
              extended by com.ibm.dtfj.analyzer.helpers.objectwrapper.ObjectWrapperCollection
                  extended by com.ibm.dtfj.analyzer.helpers.objectwrapper.ListClassDefinitions
All Implemented Interfaces:
IAnalyzerBase, IReport, IWrapper, java.lang.Iterable, java.util.Collection

public class ListClassDefinitions
extends ObjectWrapperCollection

Find the list of all class definitions that match a given class name (passed as a parent to this analyzer). This analyzer represents a ObjectWrapperCollection corresponding to the desired list of classes.


Field Summary
 
Fields inherited from class com.ibm.dtfj.analyzer.helpers.objectwrapper.ObjectWrapperCollection
INDEX_ALL_EQUAL, INDEX_ALL_INSTANCES, INDEX_SINGLETON
 
Constructor Summary
ListClassDefinitions()
           
 
Method Summary
static ListClassDefinitions getInstance(IAnalyzerContext context, java.lang.String className)
          Find the ListClassDefinitions bean instance with all the definitions of a given class (for access to static class variables).
 void setParent(java.lang.Object parent)
          Set the parent Object underlying this analyzer bean.
 
Methods inherited from class com.ibm.dtfj.analyzer.helpers.objectwrapper.ObjectWrapperCollection
get, getCachingPriority, getClassDefinitions, getObjectInstances, getObjectInstancesWithSubClasses, getObjectWrapper, getObjectWrapper, getValueAtPath, getVersion, iterator, printReportAtPath, printValueAtPath, produceReport, size
 
Methods inherited from class com.ibm.dtfj.analyzer.base.CollectionAnalyzerBase
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class com.ibm.dtfj.analyzer.base.SimpleAnalyzerBean
allocateReport, allocateReportOptions, allocateSecondaryReport, getCategories, getContext, getIdentityString, getInstance, getLogger, getLongDescription, getName, getNextValidObject, getParent, getReportExtensionHelper, getResourceBundleName, getShortDescription, isPrimaryAnalyzer, printEmbeddedReport, printEmbeddedReport, printEmbeddedReportWithOptions, printEmbeddedReportWithOptions, printReportInfoHeader, recordInternalExceptionStatic, setContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListClassDefinitions

public ListClassDefinitions()
Method Detail

getInstance

public static ListClassDefinitions getInstance(IAnalyzerContext context,
                                               java.lang.String className)
Find the ListClassDefinitions bean instance with all the definitions of a given class (for access to static class variables). (create it if necessary)

Parameters:
context - the AnalyzerContext in which to locate this bean instance
className - the class name for class definitions in this collection
Returns:
the desired ListClassDefinitions analyzer bean

setParent

public void setParent(java.lang.Object parent)
Set the parent Object underlying this analyzer bean. The parent must be of type String, which represents the class for which we want to find all definitions.

Specified by:
setParent in interface IWrapper
Overrides:
setParent in class ObjectWrapperCollection
Parameters:
parent - The parent object to set (as a String)
See Also:
IWrapper.setParent(java.lang.Object)


© Copyright IBM Corp. 2007, 2008 All Rights Reserved. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.