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

java.lang.Object
  extended by org.deegree.protocol.wps.client.input.type.InputType
Direct Known Subclasses:
BBoxInputType, ComplexInputType, LiteralInputType

public abstract class InputType
extends Object

Abstract base class for definitions of process input parameters.

Version:
$Revision: 26137 $, $Date: 2010-08-25 18:05:25 +0200 (Wed, 25 Aug 2010) $
Author:
Andrei Ionita, Markus Schneider, last edited by: $Author: aionita $

Nested Class Summary
static class InputType.Type
          Convenvience enum type for discriminating the different subclasses of InputType.
 
Constructor Summary
protected InputType(CodeType id, LanguageString inputTitle, LanguageString inputAbstract, String minOccurs, String maxOccurs)
          Creates a new InputType instance.
 
Method Summary
 LanguageString getAbstract()
          Returns the abstract for the parameter.
 CodeType getId()
          Returns the parameter identifier.
 String getMaxOccurs()
          Returns the maximum number of times the parameter may be present.
 String getMinOccurs()
          Returns minimum number of times the parameter must be present.
 LanguageString getTitle()
          Returns the parameter title.
abstract  InputType.Type getType()
          Returns the concrete input type of this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputType

protected InputType(CodeType id,
                    LanguageString inputTitle,
                    LanguageString inputAbstract,
                    String minOccurs,
                    String maxOccurs)
Creates a new InputType instance.

Parameters:
id - parameter identifier, must not be null
inputTitle - parameter title, must not be null
inputAbstract - abstract for the parameter, can be null
minOccurs - minimum number of times the parameter must be present, may be null (defaults to 1 time)
maxOccurs - maximum number of times the parameter may be present, may be null (defaults to 1 time)
Method Detail

getType

public abstract InputType.Type getType()
Returns the concrete input type of this instance.

Returns:
the concrete input type, never null

getId

public CodeType getId()
Returns the parameter identifier.

Returns:
the parameter identifier, never null

getTitle

public LanguageString getTitle()
Returns the parameter title.

Returns:
the parameter title, never null

getAbstract

public LanguageString getAbstract()
Returns the abstract for the parameter.

Returns:
the abstract for the parameter, can be null

getMinOccurs

public String getMinOccurs()
Returns minimum number of times the parameter must be present.

Returns:
minimum occurrences of this parameter, may be null (defaults to 1 time)

getMaxOccurs

public String getMaxOccurs()
Returns the maximum number of times the parameter may be present.

Returns:
maximum number of times the parameter may be present, may be null (defaults to 1 time) or "unbounded"


Copyright © 2011. All Rights Reserved.