com.goldenhammer.test
Class Series

java.lang.Object
  extended bycom.goldenhammer.test.Series
All Implemented Interfaces:
java.io.Serializable

public class Series
extends java.lang.Object
implements java.io.Serializable

Represents a series for a study.

See Also:
Serialized Form

Constructor Summary
Series()
          Construtor
Series(java.lang.String seriesName)
          Creates a new series.
 
Method Summary
 Element getElements()
          Returns the JDOM Element representation of a Series.
 java.io.File getImage()
          Returns the image file.
 int getImageCount()
          Returns the image count.
 java.lang.String getImagePath()
           
 double getInterval()
          Returns the interval.
 java.lang.String getName()
           
 java.lang.String getRandomFunc()
          Returns the random function.
 int getSleepAfter()
          Returns the sleep value.
 void setImage(java.io.File image)
          Sets the image file.
 void setImageCount(int imageCount)
          Sets the image count.
 void setImagePath(java.lang.String imagePath)
           
 void setInterval(double interval)
          Sets the interval.
 void setName(java.lang.String name)
           
 void setRandomFunc(java.lang.String randomFunc)
          Sets the random function.
 void setSleepAfter(int sleepAfter)
          Sets the sleep value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Series

public Series()
Construtor


Series

public Series(java.lang.String seriesName)
Creates a new series.

Parameters:
seriesName - The name of the new series.
Method Detail

getImage

public java.io.File getImage()
Returns the image file.

Returns:
The image file.

setImage

public void setImage(java.io.File image)
Sets the image file.

Parameters:
image - The image file.

getImageCount

public int getImageCount()
Returns the image count.

Returns:
The image count.

setImageCount

public void setImageCount(int imageCount)
Sets the image count.

Parameters:
imageCount - The image count.

getInterval

public double getInterval()
Returns the interval.

Returns:
The interval.

setInterval

public void setInterval(double interval)
Sets the interval.

Parameters:
interval - The interval.

getRandomFunc

public java.lang.String getRandomFunc()
Returns the random function.

Returns:
The random function.

setRandomFunc

public void setRandomFunc(java.lang.String randomFunc)
Sets the random function.

Parameters:
randomFunc - The random function to use for this series.

getSleepAfter

public int getSleepAfter()
Returns the sleep value.

Returns:
The sleep value.

setSleepAfter

public void setSleepAfter(int sleepAfter)
Sets the sleep value.

Parameters:
sleepAfter - The sleep value to use for this series.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getImagePath

public java.lang.String getImagePath()
Returns:
Returns the imagePath.

setImagePath

public void setImagePath(java.lang.String imagePath)
Parameters:
imagePath - The imagePath to set.

getElements

public Element getElements()
Returns the JDOM Element representation of a Series.

Returns:
The JDOM Element representation of a Series.