All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class guinea.logic.GenericItem

java.lang.Object
   |
   +----guinea.logic.Item
           |
           +----guinea.logic.GenericItem

public class GenericItem
extends Item
implements Cloneable
The GenericItem is a generic test item.

See Also:
ABTest

Variable Index

· AName
Sample ID of the test sample A.
· BName
Sample ID of the test sample B.

Constructor Index

· GenericItem()
Create a new Item.

Method Index

· getParameter(String)
Get a parameter by name.
· getParameterNames()
· propertyLoad(Properties, String)
Load information from properties to this item.
· propertySave(ExtProperties)
Saves item's information to properties.
· toString()
Get the string representation of the object.

Variables

· AName
 public String AName
Sample ID of the test sample A.

· BName
 public String BName
Sample ID of the test sample B.

Constructors

· GenericItem
 public GenericItem()
Create a new Item.

Methods

· getParameterNames
 public String[] getParameterNames()
Overrides:
getParameterNames in class Item
· getParameter
 public Object getParameter(String pname)
Get a parameter by name. Parameter name can be "A" or "B" to get the A and B samples respectively.

Parameters:
pname - name of parameter
Returns:
returns value of parameter or null if not found
Overrides:
getParameter in class Item
· toString
 public String toString()
Get the string representation of the object.

Overrides:
toString in class Object
· propertyLoad
 public void propertyLoad(Properties p,
                          String name) throws IllegalArgumentException
Load information from properties to this item.

Overrides:
propertyLoad in class Item
· propertySave
 public void propertySave(ExtProperties p)
Saves item's information to properties.

Parameters:
p - where to save information.
Overrides:
propertySave in class Item

All Packages  Class Hierarchy  This Package  Previous  Next  Index