|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dms.dss.DataSession
This is the top level class for the API.
CVS $Id: DataSession.html,v 1.2 2003/08/01 21:44:24 khuck Exp $
Field Summary | |
protected dms.dss.Application |
application
|
protected java.util.Vector |
contexts
|
protected dms.dss.Experiment |
experiment
|
protected java.util.Vector |
functionData
|
protected java.util.Vector |
functions
|
protected java.util.Vector |
nodes
|
static int |
PERFDB_NONE
|
protected java.util.Vector |
threads
|
protected java.util.Vector |
trials
|
protected java.util.Vector |
userEventData
|
protected java.util.Vector |
userEvents
|
Constructor Summary | |
DataSession()
|
Method Summary | |
abstract java.util.ListIterator |
getApplicationList()
Returns a ListIterator of Application objects. |
abstract java.util.ListIterator |
getExperimentList()
Returns a ListIterator of Experiment objects |
abstract dms.dss.Function |
getFunction(int functionID)
Returns the Function identified by the unique function id. |
abstract java.util.ListIterator |
getFunctionData()
Returns the FunctionData for this DataSession |
abstract java.util.ListIterator |
getFunctions()
Returns a ListIterator of Function objects. |
abstract java.util.ListIterator |
getTrialList()
Returns a ListIterator of Trial objects |
abstract dms.dss.UserEvent |
getUserEvent(int userEventID)
Returns the UserEvent identified by the unique user event id. |
abstract java.util.ListIterator |
getUserEventData()
Returns the UserEventData for this DataSession |
abstract java.util.ListIterator |
getUserEvents()
Returns a ListIterator of UserEvent objects. |
abstract void |
initialize(java.lang.Object obj)
Initialize the DataSession object. |
void |
setApplication(dms.dss.Application application)
Set the Application for this DataSession. |
abstract dms.dss.Application |
setApplication(int id)
Set the Application for this DataSession. |
abstract dms.dss.Application |
setApplication(java.lang.String name,
java.lang.String version)
Set the Application for this DataSession. |
void |
setContext(int context)
Set the context for this DataSession. |
void |
setContext(java.util.Vector contexts)
Set a Vector of context values for this DataSession. |
void |
setExperiment(dms.dss.Experiment experiment)
Set the Experiment for this DataSession. |
abstract dms.dss.Experiment |
setExperiment(int id)
Set the Experiment for this DataSession. |
void |
setFunction(dms.dss.Function function)
Set the Function for this DataSession. |
abstract dms.dss.Function |
setFunction(int id)
Set the Function for this DataSession. |
void |
setFunction(java.util.Vector functions)
Set a Vector of Function objects for this DataSession. |
void |
setNode(int node)
Set the node for this DataSession. |
void |
setNode(java.util.Vector nodes)
Set a Vector of node values for this DataSession. |
void |
setThread(int thread)
Set the thread for this DataSession. |
void |
setThread(java.util.Vector threads)
Set a Vector of thread values for this DataSession. |
abstract dms.dss.Trial |
setTrial(int id)
Set the Trial for this DataSession. |
void |
setTrial(dms.dss.Trial trial)
Set the Trial for this DataSession. |
void |
setTrial(java.util.Vector trials)
Set a Vector of Trial objects for this DataSession. |
abstract dms.dss.UserEvent |
setUserEvent(int id)
Set the UserEvent for this DataSession. |
void |
setUserEvent(dms.dss.UserEvent userEvent)
Set the UserEvent for this DataSession. |
void |
setUserEvent(java.util.Vector userEvents)
Set a Vector of UserEvent objects for this DataSession. |
abstract void |
terminate()
Terminate the DataSession object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected dms.dss.Application application
protected dms.dss.Experiment experiment
protected java.util.Vector trials
protected java.util.Vector nodes
protected java.util.Vector contexts
protected java.util.Vector threads
protected java.util.Vector functions
protected java.util.Vector functionData
protected java.util.Vector userEvents
protected java.util.Vector userEventData
public static int PERFDB_NONE
Constructor Detail |
public DataSession()
Method Detail |
public abstract void initialize(java.lang.Object obj)
obj
- an implementation-specific object required to initialize the DataSessionpublic abstract void terminate()
public abstract java.util.ListIterator getApplicationList()
DataSessionIterator
,
Application
public abstract java.util.ListIterator getExperimentList()
DataSessionIterator
,
Experiment
,
setApplication(dms.dss.Application)
public abstract java.util.ListIterator getTrialList()
DataSessionIterator
,
Trial
,
setApplication(dms.dss.Application)
,
setExperiment(dms.dss.Experiment)
public void setApplication(dms.dss.Application application)
application
- Application object to be saved.Application
public abstract dms.dss.Application setApplication(int id)
id
- unique id of the Application object to be saved.Application
,
setApplication(Application)
public abstract dms.dss.Application setApplication(java.lang.String name, java.lang.String version)
version
- version of the Application object to be saved.Application
,
setApplication(Application)
public void setExperiment(dms.dss.Experiment experiment)
experiment
- Experiment object to be saved.Experiment
public abstract dms.dss.Experiment setExperiment(int id)
id
- unique id of the Experiment object to be saved.Experiment
,
setExperiment(Experiment)
public void setTrial(dms.dss.Trial trial)
trial
- Trial object to be saved.Trial
public void setTrial(java.util.Vector trials)
trials
- Vector of Trial objects to be saved.Trial
public abstract dms.dss.Trial setTrial(int id)
id
- unique id of the Trial object to be saved.Trial
,
setTrial(Trial)
public void setNode(int node)
node
- value of the node to be saved.PERFDB_NONE
public void setNode(java.util.Vector nodes)
nodes
- Vector of node values to be saved.PERFDB_NONE
public void setContext(int context)
context
- value of the context to be saved.PERFDB_NONE
public void setContext(java.util.Vector contexts)
PERFDB_NONE
public void setThread(int thread)
thread
- value of the thread to be saved.PERFDB_NONE
public void setThread(java.util.Vector threads)
threads
- Vector of thread values to be saved.PERFDB_NONE
public abstract java.util.ListIterator getFunctions()
DataSessionIterator
,
Function
,
setApplication(dms.dss.Application)
,
setExperiment(dms.dss.Experiment)
,
setTrial(dms.dss.Trial)
,
setNode(int)
,
setContext(int)
,
setThread(int)
public void setFunction(dms.dss.Function function)
function
- Function object to be saved.Function
,
setFunction(Function)
public abstract dms.dss.Function setFunction(int id)
id
- unique id of the Function object to be saved.Function
,
setFunction(Function)
public void setFunction(java.util.Vector functions)
functions
- Vector of Function objects to be saved.Function
,
setFunction(Function)
public abstract dms.dss.Function getFunction(int functionID)
Function
public abstract java.util.ListIterator getUserEvents()
DataSessionIterator
,
UserEvent
,
setApplication(dms.dss.Application)
,
setExperiment(dms.dss.Experiment)
,
setTrial(dms.dss.Trial)
,
setNode(int)
,
setContext(int)
,
setThread(int)
public void setUserEvent(dms.dss.UserEvent userEvent)
userEvent
- UserEvent object to be saved.UserEvent
,
setUserEvent(UserEvent)
public abstract dms.dss.UserEvent setUserEvent(int id)
id
- unique id of the UserEvent object to be saved.UserEvent
,
setUserEvent(UserEvent)
public void setUserEvent(java.util.Vector userEvents)
userEvents
- Vector of UserEvent objects to be saved.UserEvent
,
setUserEvent(UserEvent)
public abstract dms.dss.UserEvent getUserEvent(int userEventID)
UserEvent
public abstract java.util.ListIterator getFunctionData()
DataSessionIterator
,
FunctionDataObject
,
setApplication(dms.dss.Application)
,
setExperiment(dms.dss.Experiment)
,
setTrial(dms.dss.Trial)
,
setNode(int)
,
setContext(int)
,
setThread(int)
,
setFunction(dms.dss.Function)
public abstract java.util.ListIterator getUserEventData()
DataSessionIterator
,
UserEventDataObject
,
setApplication(dms.dss.Application)
,
setExperiment(dms.dss.Experiment)
,
setTrial(dms.dss.Trial)
,
setNode(int)
,
setContext(int)
,
setThread(int)
,
setUserEvent(dms.dss.UserEvent)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |