org.deegree.observation.model
Class SimpleDoubleResult

java.lang.Object
  extended by org.deegree.observation.model.SimpleDoubleResult
All Implemented Interfaces:
Result

public class SimpleDoubleResult
extends Object
implements Result

This class stores double result values.

Version:
$Revision: 24362 $, $Date: 2010-05-12 15:42:07 +0200 (Wed, 12 May 2010) $
Author:
Oliver Tonnhofer, Andrei Ionita, last edited by: $Author: aionita $

Constructor Summary
SimpleDoubleResult(double value, Property property)
           
 
Method Summary
 Property getProperty()
           
 String getResultAsString()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleDoubleResult

public SimpleDoubleResult(double value,
                          Property property)
Parameters:
value -
property -
Method Detail

getResultAsString

public String getResultAsString()
Specified by:
getResultAsString in interface Result
Returns:
the result as a string

getProperty

public Property getProperty()
Specified by:
getProperty in interface Result
Returns:
the observedProperty of this result

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.