org.deegree.observation.model
Class SimpleIntegerResult

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

public class SimpleIntegerResult
extends Object
implements Result

This class stores integer 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
SimpleIntegerResult(int 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

SimpleIntegerResult

public SimpleIntegerResult(int 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.