|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jameleon.bean.Session
public class Session
This class represents a Session in a TestCase. This is currently used only for test case documentation generation A Session consists of:
FunctionalPoints executed in this Session - REQUIRED
| Field Summary | |
|---|---|
protected String |
application
The application this session is opened for |
protected List |
functionalPoints
A list of FunctionalPoints |
protected String |
organization
The organization this session will test for if any |
| Constructor Summary | |
|---|---|
Session()
Default constructor only used to initialize variables |
|
Session(String application,
String organization)
Constructor to set the following parameters |
|
| Method Summary | |
|---|---|
void |
addFunctionalPoint(FunctionalPoint fp)
Adds a FunctionalPoint to the list of FunctionalPoints under this Session |
String |
getApplication()
|
List |
getFunctionalPoints()
|
String |
getOrganization()
|
void |
setApplication(String application)
Sets the application this session is opened for |
void |
setOrganization(String organization)
Sets the organization this session will test for if any |
String |
toXML()
Implement this method the same way the toString method would be implemented, except
the object's information should be in a valid XML format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String application
protected String organization
protected List functionalPoints
FunctionalPoints
| Constructor Detail |
|---|
public Session()
public Session(String application,
String organization)
application - - The application this session is opened fororganization - - The organization this session will test for if any| Method Detail |
|---|
public List getFunctionalPoints()
FunctionalPoints contained in this Sessionpublic void addFunctionalPoint(FunctionalPoint fp)
FunctionalPoint to the list of FunctionalPoints under this Session
fp - - A FunctionalPoint under this Sessionpublic String getApplication()
public void setApplication(String application)
application - - the application this session is opened forpublic String getOrganization()
public void setOrganization(String organization)
organization - - the organization this session will test for if anypublic String toXML()
XMLabletoString method would be implemented, except
the object's information should be in a valid XML format.
toXML in interface XMLable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||