|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.service.datacollection.SummaryItem
public class SummaryItem
A data item that holds summary information.
GenericSummarizer
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
SummaryItem(java.lang.Object pDataItem,
java.lang.String[] pGroupByFields)
Construct a summary event that will summarize the given "type" of data item. |
Method Summary | |
---|---|
int |
compareTo(atg.core.util.Sortable s)
Compare to the specfied summary event. |
boolean |
equals(java.lang.Object pOther)
Determine if this object is equal to another. |
java.sql.Timestamp |
getCurrentTime()
Returns property CurrentTime, computed each time it is called. |
long |
getCurrentTimeMillis()
Returns property CurrentTimeMillis, computed each time it is called |
java.lang.Object |
getDataItem()
Returns property DataItem |
int |
getSummaryCount()
Returns property SummaryCount |
java.sql.Timestamp |
getSummaryFromTime()
Returns property SummaryFromTime |
long |
getSummaryFromTimeMillis()
Returns property SummaryFromTimeMillis |
java.sql.Timestamp |
getSummaryToTime()
Returns property SummaryToTime |
long |
getSummaryToTimeMillis()
Returns property SummaryToTimeMillis |
int |
hashCode()
Get hashcode for this object |
void |
setSummaryFromTimeMillis(long pSummaryFromTimeMillis)
Sets property SummaryFromTimeMillis |
void |
setSummaryToTimeMillis(long pSummaryToTimeMillis)
Sets property SummaryToTimeMillis |
java.lang.String |
toString()
Get a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public SummaryItem(java.lang.Object pDataItem, java.lang.String[] pGroupByFields)
pDataItem
- the data item we are summarizingpGroupByFields
- a list of the property names
that we group by for summarizing. We ignore other properties.Method Detail |
---|
public long getCurrentTimeMillis()
public java.sql.Timestamp getCurrentTime()
public int getSummaryCount()
public java.lang.Object getDataItem()
public void setSummaryFromTimeMillis(long pSummaryFromTimeMillis)
public long getSummaryFromTimeMillis()
public java.sql.Timestamp getSummaryFromTime()
public void setSummaryToTimeMillis(long pSummaryToTimeMillis)
public long getSummaryToTimeMillis()
public java.sql.Timestamp getSummaryToTime()
public int compareTo(atg.core.util.Sortable s)
compareTo
in interface atg.core.util.Sortable
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object pOther)
equals
in class java.lang.Object
pOther
- object to compare to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |