All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jdsltools.testers.TestStructure

java.lang.Object
   |
   +----jdsltools.testers.TestStructure

public class TestStructure
extends Object
This is what the factory actually returns in generate(...)

Author:
Marco da Silva (mds)

Constructor Index

 o TestStructure(Object, Object, String[], String[])
The constructor for TestStructure.
 o TestStructure(Object, String[])
A TestStructure that is just a location.

Method Index

 o location()
An accessor for the test locations.
 o locName(int)
An accessor for the name of a specific test location.
 o locNames()
An accessor for the names of all the test locations.
 o name(int)
An accessor for the name of a specific test structure.
 o names()
An accessor for the names of all the test Structures.
 o setLoc(Object)
 o setLocName(String, int)
 o setName(String, int)
 o setStruct(Object)
 o structure()
An accessor for the test structure.

Constructors

 o TestStructure
 public TestStructure(Object struct,
                      Object loc,
                      String name[],
                      String locName[])
The constructor for TestStructure.

Parameters:
struct - The actual test structure(s) created by the factory.
loc - The location(s) created by the factory.
name - The names of the structures.
locName - The names of the locations.
 o TestStructure
 public TestStructure(Object loc,
                      String locNames[])
A TestStructure that is just a location.

Parameters:
loc - The location(s) created by the factory.
locNames - The names of the locations.

Methods

 o structure
 public Object structure()
An accessor for the test structure.

Returns:
Object the current test structure this TestStructure holds
 o location
 public Object location()
An accessor for the test locations.

Returns:
Object the current locations this TestStructure hold
 o name
 public String name(int i)
An accessor for the name of a specific test structure.

Parameters:
i - The index number of the structure.
Returns:
String The name of that structure.
 o locName
 public String locName(int i)
An accessor for the name of a specific test location.

Parameters:
i - The index number of the location.
Returns:
String The name of that location.
 o names
 public String[] names()
An accessor for the names of all the test Structures.

Returns:
String[] The names of the structures.
 o locNames
 public String[] locNames()
An accessor for the names of all the test locations.

Returns:
String[] The names of the locations.
 o setStruct
 public void setStruct(Object struct)
 o setLoc
 public void setLoc(Object loc)
 o setName
 public void setName(String name,
                     int i)
 o setLocName
 public void setLocName(String name,
                        int i)

All Packages  Class Hierarchy  This Package  Previous  Next  Index