|
WebObjects 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.webobjects.eocontrol.EOEvent | +--com.webobjects.eocontrol.EOAggregateEvent
An instance of the EOAggregateEvent class is used to aggregate multiple EOEvent objects with the same aggregate signature into one event. This one aggregate event is typically used in a WOEventDisplay page in a WebObjects application to display the sum of all of the aggregated events' durations.
Fields inherited from class com.webobjects.eocontrol.EOEvent |
BasicEventSignature, EventGroupName |
Constructor Summary | |
EOAggregateEvent()
|
Method Summary | |
void |
addEvent(EOEvent e)
Adds e to the set of events that the receiver aggregates. |
String |
comment()
Gets the comment from any member of the EOvents set aggregated by
the receiver. |
String |
description()
Gets the description of the family of events represented by the class. |
String |
displayComponentName()
Returns the name of a WebObjects component to use to display the receiver's logging information. |
long |
durationWithoutSubevents()
Gets the the sum of all of the aggregated events'durations excluding the receivers subevents. |
NSArray |
events()
Typically, an EOAggregateEvent has at least one event, the event for which the event logging system created the aggregate event. |
Object |
info()
Gets the info from any member of the EOvents set aggregated by
the receiver. |
String |
signatureOfType(int tag)
Used to group and aggregate the receiver with other events that have the same signature. |
NSArray |
subevents()
For each EOEvent aggregated in the reciver this method gathers their subevents and return an array with them.The array is ordered ascending by duration. |
String |
title()
Gets the title from any member of the EOvents set aggregated by
the receiver. |
Methods inherited from class com.webobjects.eocontrol.EOEvent |
aggregateEvents, classDescription, compare, duration, eventTypeDescriptions, groupEvents, markAtomicWithInfo, markEnd, markStartWithInfo, parentEvent, setInfo, setType, startDate, toString, type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EOAggregateEvent()
Method Detail |
public void addEvent(EOEvent e)
e
to the set of events that the receiver aggregates.e
- the EOEvent to be added to the receiverpublic String comment()
comment
from any member of the EOvents set aggregated by
the receiver.comment
in class EOEvent
EOEvent.comment()
public String description()
description
in class EOEvent
EOEvent.eventTypeDescriptions(Class aClass)
,
EOEvent.description()
public String displayComponentName()
EOEvent
WOEventRow
component, which is generally sufficient
for subclasses.displayComponentName
in class EOEvent
public long durationWithoutSubevents()
durationWithoutSubevents
in class EOEvent
public NSArray events()
public Object info()
info
from any member of the EOvents set aggregated by
the receiver.info
in class EOEvent
EOEvent.info()
public String signatureOfType(int tag)
null
.signatureOfType
in class EOEvent
tag
- specifies signature typeEOEvent.aggregateEvents(NSArray events,int tag)
,
EOEvent.groupEvents(NSArray events,int tag)
public NSArray subevents()
subevents
in class EOEvent
EOEvent.subevents()
public String title()
title
from any member of the EOvents set aggregated by
the receiver.title
in class EOEvent
EOEvent.eventTypeDescriptions(Class aClass)
,
EOEvent.title()
|
Last updated Fri Feb 21 13:15:00 PST 2003. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |