audiojury.domain
Class TestMethod

java.lang.Object
  |
  +--audiojury.domain.TestMethod
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ACR, CCR, DCR, FullComparison, GeneralPairs

public abstract class TestMethod
extends java.lang.Object
implements java.io.Serializable

This class is the abstract superclass for other test methods.

See Also:
Serialized Form

Field Summary
protected  java.lang.String name
          Name of the test method
 
Constructor Summary
TestMethod()
          Constructor for TestMethod.
 
Method Summary
 boolean equals(TestMethod method)
          Compares this testMethod object with another.
 java.lang.String getName()
          Retrieves the name of the test method.
abstract  boolean isPaired()
          Check if this is a paired test method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
Name of the test method

Constructor Detail

TestMethod

public TestMethod()
Constructor for TestMethod. Since TestMethod is a abstract, do not try to create an object of this class directly.

Method Detail

equals

public boolean equals(TestMethod method)
Compares this testMethod object with another. Used to see if two subclases of the abstract TestMethod are of the same type.

Parameters:
method - testMethod to compare with.
Returns:
boolean indicating if the two objects where of the same type.

getName

public java.lang.String getName()
Retrieves the name of the test method.

Returns:
String with the name of the test method.

isPaired

public abstract boolean isPaired()
Check if this is a paired test method.

Returns:
boolean indicating if this is a paired test method