|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.peace_tools.workspace.WorkspaceEvent
public class WorkspaceEvent
Nested Class Summary | |
---|---|
static class |
WorkspaceEvent.EntryType
Enumeration for the different types of Workpace entries that can be reported via a WorkspaceEvent object. |
static class |
WorkspaceEvent.Operation
Enumeration for the different types of operations on a Workspace entity that can be reported via a WorkspaceEvent object. |
Field Summary | |
---|---|
private WorkspaceEvent.EntryType |
entryType
This instance variable is used to contain the type of the entry regarding which a status change is being reported. |
private WorkspaceEvent.Operation |
operation
This instance variable is used to contain the type of status change being reported via this event. |
private static long |
serialVersionUID
A generated serialization UID (required as the base class is defined to be serializable). |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
WorkspaceEvent(ClassifierList list)
Constructor to create an event that can be used to report change to the list of DB classifiers. |
|
WorkspaceEvent(DataSet ds,
WorkspaceEvent.Operation operation)
Constructor to create an event that can be used to report change in the status of a complete data set. |
|
WorkspaceEvent(Job job,
WorkspaceEvent.Operation operation)
Constructor to create an event that can be used to report change in the status of a job entry. |
|
WorkspaceEvent(MSTClusterData clusters,
WorkspaceEvent.Operation operation)
Constructor to create an event that can be used to report change in the status of a MST cluster data file. |
|
WorkspaceEvent(MSTData mst,
WorkspaceEvent.Operation operation)
Constructor to create an event that can be used to report change in the status of a MST data file. |
|
WorkspaceEvent(Server server,
WorkspaceEvent.Operation operation)
Constructor to create an event that can be used to report change in the status of a server entry. |
Method Summary | |
---|---|
WorkspaceEvent.EntryType |
getEntryType()
Determine the type of entry regarding which a status change is being reported. |
WorkspaceEvent.Operation |
getOperation()
Determine the type of operation reported by this event. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final WorkspaceEvent.EntryType entryType
private final WorkspaceEvent.Operation operation
private static final long serialVersionUID
Constructor Detail |
---|
public WorkspaceEvent(DataSet ds, WorkspaceEvent.Operation operation)
ds
- The data set that has been inserted, deleted, or updated.operation
- The type of operation (insert, delete, or update) that
has already occured to the data set.public WorkspaceEvent(MSTData mst, WorkspaceEvent.Operation operation)
mst
- The MST data file that has been inserted, deleted, or updated.operation
- The type of operation (insert, delete, or update) that
has already occurred to the MST data.public WorkspaceEvent(MSTClusterData clusters, WorkspaceEvent.Operation operation)
clusters
- The MST cluster data file that has been inserted,
deleted, or updated.operation
- The type of operation (insert, delete, or update) that
has already occurred to the MST cluster data.public WorkspaceEvent(Job job, WorkspaceEvent.Operation operation)
job
- The job entry that has been inserted, deleted, or
updated.operation
- The type of operation (insert, delete, or update) that
has already occurred to the job.public WorkspaceEvent(Server server, WorkspaceEvent.Operation operation)
server
- The server entry that has been inserted, deleted, or
updated.operation
- The type of operation (insert, delete, or update) that
has already occurred to the server entry.public WorkspaceEvent(ClassifierList list)
list
- The classifier list that has been changed.Method Detail |
---|
public WorkspaceEvent.EntryType getEntryType()
Note: The entry type determines the data type of the source object included in the event as indicated in the enumeration definition(s).
public WorkspaceEvent.Operation getOperation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |