deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.datatypes.parameter
Class ParameterValueIm

java.lang.Object
  extended by org.deegree.datatypes.parameter.GeneralParameterValueIm
      extended by org.deegree.datatypes.parameter.ParameterValueIm
All Implemented Interfaces:
java.io.Serializable

public class ParameterValueIm
extends GeneralParameterValueIm
implements java.io.Serializable

Version:
$Revision: 18195 $, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $
See Also:
Serialized Form

Constructor Summary
ParameterValueIm(GeneralOperationParameterIm descriptor)
           
ParameterValueIm(GeneralOperationParameterIm descriptor, boolean value)
           
ParameterValueIm(GeneralOperationParameterIm descriptor, double value)
           
ParameterValueIm(GeneralOperationParameterIm descriptor, int value)
           
ParameterValueIm(GeneralOperationParameterIm descriptor, java.lang.Object value)
           
ParameterValueIm(GeneralOperationParameterIm descriptor, java.lang.String value)
           
ParameterValueIm(GeneralOperationParameterIm descriptor, java.net.URL value)
           
 
Method Summary
 boolean booleanValue()
           
 double doubleValue()
           
 double[] doubleValueList()
           
 java.lang.String getUnit()
           
 java.lang.Object getValue()
           
 int intValue()
           
 int[] intValueList()
           
 void setUnit(java.lang.String unit)
           
 void setValue(boolean value)
           
 void setValue(double value)
           
 void setValue(int value)
           
 void setValue(java.lang.Object value)
           
 void setValue(java.lang.String value)
           
 void setValue(java.net.URL value)
           
 java.lang.String stringValue()
           
 java.net.URL valueFile()
           
 
Methods inherited from class org.deegree.datatypes.parameter.GeneralParameterValueIm
clone, getDescriptor, setDescriptor
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterValueIm

public ParameterValueIm(GeneralOperationParameterIm descriptor)
Parameters:
descriptor -

ParameterValueIm

public ParameterValueIm(GeneralOperationParameterIm descriptor,
                        java.lang.Object value)
Parameters:
descriptor -
value -

ParameterValueIm

public ParameterValueIm(GeneralOperationParameterIm descriptor,
                        java.lang.String value)
Parameters:
descriptor -
value -

ParameterValueIm

public ParameterValueIm(GeneralOperationParameterIm descriptor,
                        java.net.URL value)
Parameters:
descriptor -
value -

ParameterValueIm

public ParameterValueIm(GeneralOperationParameterIm descriptor,
                        int value)
Parameters:
descriptor -
value -

ParameterValueIm

public ParameterValueIm(GeneralOperationParameterIm descriptor,
                        double value)
Parameters:
descriptor -
value -

ParameterValueIm

public ParameterValueIm(GeneralOperationParameterIm descriptor,
                        boolean value)
Parameters:
descriptor -
value -
Method Detail

booleanValue

public boolean booleanValue()
                     throws InvalidParameterTypeException
Returns:
the value as a boolean.
Throws:
InvalidParameterTypeException

doubleValue

public double doubleValue()
                   throws InvalidParameterTypeException
Returns:
the value as a double.
Throws:
InvalidParameterTypeException

doubleValueList

public double[] doubleValueList()
                         throws InvalidParameterTypeException
Returns:
the value list as an array of doubles..
Throws:
InvalidParameterTypeException

getUnit

public java.lang.String getUnit()
Returns:
the value.

getValue

public java.lang.Object getValue()
Returns:
the value as an object.

intValue

public int intValue()
             throws InvalidParameterTypeException
Returns:
the value as an int
Throws:
InvalidParameterTypeException

intValueList

public int[] intValueList()
                   throws InvalidParameterTypeException
Returns:
the value as an array of integers
Throws:
InvalidParameterTypeException

setUnit

public void setUnit(java.lang.String unit)
             throws InvalidParameterTypeException
Parameters:
unit - to set
Throws:
InvalidParameterTypeException

setValue

public void setValue(boolean value)
              throws InvalidParameterValueException
Parameters:
value - to set
Throws:
InvalidParameterValueException

setValue

public void setValue(double value)
              throws InvalidParameterValueException
Parameters:
value - to set
Throws:
InvalidParameterValueException

setValue

public void setValue(int value)
              throws InvalidParameterValueException
Parameters:
value - to set
Throws:
InvalidParameterValueException

setValue

public void setValue(java.lang.Object value)
              throws InvalidParameterValueException
Parameters:
value - to set
Throws:
InvalidParameterValueException

stringValue

public java.lang.String stringValue()
                             throws InvalidParameterTypeException
Returns:
the value as a String
Throws:
InvalidParameterTypeException

setValue

public void setValue(java.lang.String value)
Parameters:
value -

valueFile

public java.net.URL valueFile()
                       throws InvalidParameterTypeException
Returns:
the location of the value file.
Throws:
InvalidParameterTypeException

setValue

public void setValue(java.net.URL value)
Parameters:
value -

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org