© 2006-2007 ETH Zurich

org.ximtec.igesture.batch.core
Class BatchForValue

java.lang.Object
  extended by org.ximtec.igesture.batch.core.BatchForValue

public class BatchForValue
extends Object

Represents the for loop of the batch process.

Version:
1.0 Dec 2006
Author:
Ueli Kurmann, igesture@uelikurmann.ch, Beat Signer, signer@inf.ethz.ch

Constructor Summary
BatchForValue()
           
 
Method Summary
 double getEnd()
          Returns the upper bound of the loop.
 double getStart()
          Returns the lower bound of the loop.
 double getStep()
          Returns the step size for iterating between the lower and upper bound.
 List<String> getValues()
          Returns a list of all values matching the constraints.
 void setEnd(double end)
          Sets the upper bound of the loop.
 void setStart(double start)
          Sets the lower bound of the loop.
 void setStep(double step)
          Sets the step size for iterating between the lower and upper bound.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchForValue

public BatchForValue()
Method Detail

setEnd

public void setEnd(double end)
Sets the upper bound of the loop.

Parameters:
end - the upper bound of the loop.

getEnd

public double getEnd()
Returns the upper bound of the loop.

Returns:
the upper bound of the loop.

setStart

public void setStart(double start)
Sets the lower bound of the loop.

Parameters:
start - the lower bound of the loop.

getStart

public double getStart()
Returns the lower bound of the loop.

Returns:
the lower bound of the loop.

setStep

public void setStep(double step)
Sets the step size for iterating between the lower and upper bound.

Parameters:
step - the step size for iterating between the lower and upper bound.

getStep

public double getStep()
Returns the step size for iterating between the lower and upper bound.

Returns:
the step size for iterating between the lower and upper bound.

getValues

public List<String> getValues()
Returns a list of all values matching the constraints.

Returns:
a list of all values matching the constraints.

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.