com.ibm.dtfj.analyzer.helpers.objectwrapper
Class ListObjectInstances
java.lang.Object
TranslatableAnalyzer
com.ibm.dtfj.analyzer.base.SimpleAnalyzerBean
com.ibm.dtfj.analyzer.base.CollectionAnalyzerBase
com.ibm.dtfj.analyzer.helpers.objectwrapper.ObjectWrapperCollection
com.ibm.dtfj.analyzer.helpers.objectwrapper.ListObjectInstances
- All Implemented Interfaces:
- IAnalyzerBase, IReport, IWrapper, java.lang.Iterable, java.util.Collection
public class ListObjectInstances
- extends ObjectWrapperCollection
Find the list of all object instances that match a given class name (passed as a parent to this analyzer).
This analyzer represents a ObjectWrapperCollection corresponding to the desired list of instances.
Method Summary |
static ListObjectInstances |
getInstance(IAnalyzerContext context,
java.lang.String className)
Find the ListObjectInstances bean instance with all the instances of a given class. |
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 |
ListObjectInstances
public ListObjectInstances()
getInstance
public static ListObjectInstances getInstance(IAnalyzerContext context,
java.lang.String className)
- Find the ListObjectInstances bean instance with all the instances of a given class.
(create it if necessary)
- Parameters:
context
- the AnalyzerContext in which to locate this bean instanceclassName
- the class name for the instances in this collection
- Returns:
- the desired ListObjectInstances 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 instances.
- 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.