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

org.deegree.security.owsproxy
Class OperationParameter

java.lang.Object
  extended by org.deegree.security.owsproxy.OperationParameter

public class OperationParameter
extends java.lang.Object

Bean like class for encapsulating parameters of a owsProxy policy pre/post condition

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

Constructor Summary
OperationParameter(java.lang.String name, boolean any)
           
OperationParameter(java.lang.String name, java.util.List<java.lang.String> values, java.util.List<org.w3c.dom.Element> complexValues, boolean userCoupled)
           
 
Method Summary
 void addComplexValue(org.w3c.dom.Element complexValue)
           
 void addValue(java.lang.String value)
           
 java.util.List<org.w3c.dom.Element> getComplexValues()
           
 double getFirstAsDouble()
          returns the first value of the list as double.
 int getFirstAsInt()
          returns the first value of the list as integer.
 java.lang.String getFirstAsString()
          returns the first value of the list as integer.
 java.lang.String getName()
           
 java.util.List<java.lang.String> getValues()
           
 boolean isAny()
           
 boolean isUserCoupled()
           
 void removeValue(java.lang.String value)
           
 void setAny(boolean any)
           
 void setComplexValues(java.util.List<org.w3c.dom.Element> complexValues)
           
 void setName(java.lang.String name)
           
 void setUserCoupled(boolean userCoupled)
           
 void setValues(java.util.List<java.lang.String> values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationParameter

public OperationParameter(java.lang.String name,
                          java.util.List<java.lang.String> values,
                          java.util.List<org.w3c.dom.Element> complexValues,
                          boolean userCoupled)
Parameters:
name -
values -
complexValues -
userCoupled -

OperationParameter

public OperationParameter(java.lang.String name,
                          boolean any)
Parameters:
name -
any -
Method Detail

getName

public java.lang.String getName()
Returns:
Returns the name of a parameter

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getValues

public java.util.List<java.lang.String> getValues()
Returns:
all values

getComplexValues

public java.util.List<org.w3c.dom.Element> getComplexValues()
Returns:
all values

getFirstAsString

public java.lang.String getFirstAsString()
returns the first value of the list as integer. This is useful for operation parameter that only allow one single string expression (e.g. BBOX)

Returns:
first value of a list as String

getFirstAsInt

public int getFirstAsInt()
returns the first value of the list as integer. This is useful for operation parameter that only allow one single integer expression (e.g. maxHeight)

Returns:
first value of a list as integer

getFirstAsDouble

public double getFirstAsDouble()
returns the first value of the list as double. This is useful for operation parameter that only allow one single double expression (e.g. resolution)

Returns:
first value of a list as double

setValues

public void setValues(java.util.List<java.lang.String> values)
Parameters:
values -

setComplexValues

public void setComplexValues(java.util.List<org.w3c.dom.Element> complexValues)
Parameters:
complexValues -

addValue

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

addComplexValue

public void addComplexValue(org.w3c.dom.Element complexValue)
Parameters:
complexValue -

removeValue

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

isUserCoupled

public boolean isUserCoupled()
Returns:
Returns the userCoupled.

setUserCoupled

public void setUserCoupled(boolean userCoupled)
Parameters:
userCoupled - The userCoupled to set.

isAny

public boolean isAny()
Returns:
Returns the all.

setAny

public void setAny(boolean any)
Parameters:
any -

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