public class StoredActivity extends Object
StoredIncident| Constructor and Description | 
|---|
StoredActivity(String activityID)
This contructor initializes the activity. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addIncident(StoredIncident incident)
Add an incident to the list of incidents. 
 | 
String | 
getActivityID()
Return the activity identifier. 
 | 
List | 
getIncidents()
Return the list of associated incidents. 
 | 
public StoredActivity(String activityID)
activityID - The identifier for the activity.public void addIncident(StoredIncident incident)
incident - The StoredIncident class to add to the list.public final String getActivityID()
public final List getIncidents()
Copyright © 1999–2017 Apache OODT. All rights reserved.