com.jamonapi
Class MonKeyItemBase

java.lang.Object
  extended by com.jamonapi.MonKeyItemBase
All Implemented Interfaces:
MonKeyItem

public class MonKeyItemBase
extends java.lang.Object
implements MonKeyItem

Used in MonKeys. Pass a generalized form to the summaryLabel and a specific form to the detailLabel. (i.e. summary=myproc ?,?, detail=myproc 'steve','souza'. Make sure you don't pass the arguments in the wrong order as jamon uses the summary label for jamon aggregate stats, and you don't want every non-generalized form to become a jamon record.

Author:
steve souza

Constructor Summary
MonKeyItemBase(java.lang.Object summaryLabel)
           
MonKeyItemBase(java.lang.Object summaryLabel, java.lang.Object details)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Object getDetails()
           
 int hashCode()
           
 void setDetails(java.lang.Object details)
           
 java.lang.String toString()
          should call getSummaryLabel
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MonKeyItemBase

public MonKeyItemBase(java.lang.Object summaryLabel)

MonKeyItemBase

public MonKeyItemBase(java.lang.Object summaryLabel,
                      java.lang.Object details)
Method Detail

getDetails

public java.lang.Object getDetails()
Specified by:
getDetails in interface MonKeyItem

setDetails

public void setDetails(java.lang.Object details)
Specified by:
setDetails in interface MonKeyItem

toString

public java.lang.String toString()
should call getSummaryLabel

Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object