com.ibm.dtfj.analyzer.helpers.base
Class MapEntryWrapperBase

java.lang.Object
  extended by TranslatableAnalyzer
      extended by com.ibm.dtfj.analyzer.base.SimpleAnalyzerBean
          extended by com.ibm.dtfj.analyzer.helpers.base.MapEntryWrapperBase
All Implemented Interfaces:
IAnalyzerBase, IReport, IWrapper, java.util.Map.Entry

public abstract class MapEntryWrapperBase
extends SimpleAnalyzerBean
implements java.util.Map.Entry

A common base class for analyzers that serve as specialized wrappers for a Map.Entry extracted from a Map object from the dump under analysis.


Constructor Summary
MapEntryWrapperBase()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object getKey()
           
 java.lang.Object getValue()
           
 java.lang.String getVersion()
          Get version information for this analyser.
 int hashCode()
           
 IAnalysisReport produceReport()
          Generate a report which will be encapsulated in the IAnalysisReport object for later use by some formatter.
 void setParent(java.lang.Object parent)
          Set the parent Map$Entry underlying this analyzer bean.
 java.lang.Object setValue(java.lang.Object value)
           
 
Methods inherited from class com.ibm.dtfj.analyzer.base.SimpleAnalyzerBean
allocateReport, allocateReportOptions, allocateSecondaryReport, getCachingPriority, 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, toString, wait, wait, wait
 

Constructor Detail

MapEntryWrapperBase

public MapEntryWrapperBase()
Method Detail

getVersion

public java.lang.String getVersion()
Description copied from interface: IAnalyzerBase
Get version information for this analyser.

Specified by:
getVersion in interface IAnalyzerBase
Overrides:
getVersion in class SimpleAnalyzerBean
Returns:
- a String containing the version information
See Also:
Override the default from SimpleAnalyzerBean ("EXPERIMENTAL"). The version number is typically not defined for small wrappers.

setParent

public void setParent(java.lang.Object parent)
Set the parent Map$Entry underlying this analyzer bean.

Specified by:
setParent in interface IWrapper
Overrides:
setParent in class SimpleAnalyzerBean
Parameters:
parent - The parent object to set. Must be of type Map.Entry.
See Also:
IWrapper.setParent(java.lang.Object)

getKey

public java.lang.Object getKey()
Specified by:
getKey in interface java.util.Map.Entry
See Also:
Map.Entry.getKey()

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface java.util.Map.Entry
See Also:
Map.Entry.getValue()

setValue

public java.lang.Object setValue(java.lang.Object value)
Specified by:
setValue in interface java.util.Map.Entry
See Also:
java.util.Map$Entry#setValue()

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Map.Entry
See Also:
Map.Entry.hashCode()

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Map.Entry
See Also:
Map.Entry.equals(java.lang.Object)

produceReport

public IAnalysisReport produceReport()
Description copied from interface: IReport
Generate a report which will be encapsulated in the IAnalysisReport object for later use by some formatter.

Specified by:
produceReport in interface IReport
Overrides:
produceReport in class SimpleAnalyzerBean
Returns:
- the generic report object which will be given to some formatter
See Also:
IReport.produceReport()


© 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.