|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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:
FunctionalPoint
s executed in this Session - REQUIRED
Field Summary | |
---|---|
protected String |
application
The application this session is opened for |
protected List |
functionalPoints
A list of FunctionalPoint s |
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 FunctionalPoint s 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
FunctionalPoint
s
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 anyMethod Detail |
---|
public List getFunctionalPoints()
FunctionalPoint
s contained in this Sessionpublic void addFunctionalPoint(FunctionalPoint fp)
FunctionalPoint
to the list of FunctionalPoint
s 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()
XMLable
toString
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 |