org.deegree.datatypes.parameter
Class ParameterValueIm
java.lang.Object
org.deegree.datatypes.parameter.GeneralParameterValueIm
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
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
-
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
-
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org