de.unihalle.informatik.MiToBo.core.datatypes.wrapper
Class MTBDoubleData

java.lang.Object
  extended by de.unihalle.informatik.Alida.operator.ALDData
      extended by de.unihalle.informatik.MiToBo.core.datatypes.wrapper.MTBDoubleData

@ALDMetaInfo(export=ALLOWED)
public class MTBDoubleData
extends de.unihalle.informatik.Alida.operator.ALDData

A double to be used as input or output for MTB operators.

This wrapper types overcomes the limitations of Java's built-in wrappers in automatic parameter documentation. While references of type Double aren't necessarily unique and, hence, might not be properly traced through the processing history, this wrapper class overcomes the limitations.

Author:
Stefan Posch

Constructor Summary
MTBDoubleData(Double _value)
          Construct an empty double data object from the given double value.
 
Method Summary
 Double getValue()
          Returns the double value.
 void setValue(Double _value)
          Set the value of the double datat object.
 String toString()
           
 
Methods inherited from class de.unihalle.informatik.Alida.operator.ALDData
cloneProperties, getLocation, getProperty, getPropertyKeys, print, setLocation, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MTBDoubleData

public MTBDoubleData(Double _value)
Construct an empty double data object from the given double value.

Parameters:
value - Double value for the object.
Method Detail

getValue

public Double getValue()
Returns the double value.

Returns:
The double data value.

setValue

public void setValue(Double _value)
Set the value of the double datat object.

Parameters:
value - Double value to set.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.