|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cysols.iodef.analysis.AggregatedEvent
public abstract class AggregatedEvent
This class is an abstract value object which represents an aggregated event generated by analyzing events.
| Field Summary | |
|---|---|
protected List |
eventList
Used for keeping the concrete Event instances by its sub class. |
| Constructor Summary | |
|---|---|
AggregatedEvent(String sourceAddress)
Default Constructor with Source Address, The aggregated event is generated for each source address. |
|
| Method Summary | |
|---|---|
void |
addEvent(Event event)
Adds an event in the aggregated event. |
long |
getEarliestTime()
Returns the earliest timestamp among the aggregated events |
long |
getLatestTime()
Returns the latest timestamp among the aggregated events. |
String |
getSrcAddress()
Returns source address of this aggregated event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List eventList
| Constructor Detail |
|---|
public AggregatedEvent(String sourceAddress)
sourceAddress - source address of the aggregated events| Method Detail |
|---|
public void addEvent(Event event)
event - an Event instance to be aggregated.public String getSrcAddress()
public long getLatestTime()
public long getEarliestTime()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||