org.deegree.protocol.wps.client.input.type
Class LiteralInputType

java.lang.Object
  extended by org.deegree.protocol.wps.client.input.type.InputType
      extended by org.deegree.protocol.wps.client.input.type.LiteralInputType

public class LiteralInputType
extends InputType

InputType that defines a literal input.

Version:
$Revision: 31860 $, $Date: 2011-09-13 15:11:47 +0200 (Tue, 13 Sep 2011) $
Author:
Andrei Ionita, Markus Schneider, last edited by: $Author: mschneider $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.deegree.protocol.wps.client.input.type.InputType
InputType.Type
 
Constructor Summary
LiteralInputType(CodeType id, LanguageString inputTitle, LanguageString inputAbstract, String minOccurs, String maxOccurs, ValueWithRef dataType, ValueWithRef defaultUom, ValueWithRef[] supportedUoms, String[] allowedValues, Range[] range, boolean anyValue, ValueWithRef reference)
          Creates a new LiteralInputType instance.
 
Method Summary
 String[] getAllowedValues()
           
 ValueWithRef getDataType()
          Returns a ValueWithRef instance (that encapsulates a String and an URL), as data type for the literal input.
 ValueWithRef getDefaultUom()
          Returns a ValueWithRef instance (that encapsulates a String and an URL), as default Unit-of-measure for the literal input.
 Range[] getRanges()
           
 ValueWithRef[] getSupportedUoms()
          Returns an array of ValueWithRef instances (that encapsulates a String and an URL), as default Unit-of-measure for the literal input.
 InputType.Type getType()
          Returns the concrete input type of this instance.
 boolean isAnyValue()
          Returns whether any value is accepted as input or not.
 
Methods inherited from class org.deegree.protocol.wps.client.input.type.InputType
getAbstract, getId, getMaxOccurs, getMinOccurs, getTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiteralInputType

public LiteralInputType(CodeType id,
                        LanguageString inputTitle,
                        LanguageString inputAbstract,
                        String minOccurs,
                        String maxOccurs,
                        ValueWithRef dataType,
                        ValueWithRef defaultUom,
                        ValueWithRef[] supportedUoms,
                        String[] allowedValues,
                        Range[] range,
                        boolean anyValue,
                        ValueWithRef reference)
Creates a new LiteralInputType instance.

Parameters:
id -
inputTitle -
inputAbstract -
minOccurs -
maxOccurs -
dataType -
defaultUom -
supportedUoms -
allowedValues -
range -
anyValue -
reference -
Method Detail

getType

public InputType.Type getType()
Description copied from class: InputType
Returns the concrete input type of this instance.

Specified by:
getType in class InputType
Returns:
the concrete input type, never null

getAllowedValues

public String[] getAllowedValues()
Returns:
a string array with the concrete values the input can take

getRanges

public Range[] getRanges()
Returns:
an array of Range instances, each describing the interval in which the input values can be.

getDataType

public ValueWithRef getDataType()
Returns a ValueWithRef instance (that encapsulates a String and an URL), as data type for the literal input.

Returns:
the data type of the literal input

getDefaultUom

public ValueWithRef getDefaultUom()
Returns a ValueWithRef instance (that encapsulates a String and an URL), as default Unit-of-measure for the literal input.

Returns:
default Unit-of-measure for the literal input

getSupportedUoms

public ValueWithRef[] getSupportedUoms()
Returns an array of ValueWithRef instances (that encapsulates a String and an URL), as default Unit-of-measure for the literal input.

Returns:
an array of supported Unit-of-measure instance for the literal input

isAnyValue

public boolean isAnyValue()
Returns whether any value is accepted as input or not.

Returns:
true, if any value is accepted as input. False otherwise.


Copyright © 2011. All Rights Reserved.