org.deegree.protocol.wps.client.param
Class ValueWithRef

java.lang.Object
  extended by org.deegree.protocol.wps.client.param.ValueWithRef

public class ValueWithRef
extends Object

Encapsulates a value and an optional reference.

Version:
$Revision: 27166 $, $Date: 2010-10-04 14:17:54 +0200 (Mon, 04 Oct 2010) $
Author:
Andrei Ionita, last edited by: $Author: lbuesching $
See Also:
LiteralInputType, LiteralOutputType

Constructor Summary
ValueWithRef(String value, String ref)
          Creates a new ValueWithRef instance.
 
Method Summary
 String getRef()
          Returns the reference.
 String getValue()
          Returns the value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueWithRef

public ValueWithRef(String value,
                    String ref)
Creates a new ValueWithRef instance.

Parameters:
value - value, must not be null
ref - reference, can be null
Method Detail

getValue

public String getValue()
Returns the value.

Returns:
the value, never null

getRef

public String getRef()
Returns the reference.

Returns:
the reference, may be null

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.