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

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

public class ValueWithRef
extends java.lang.Object

Encapsulates a value and an optional reference.

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

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

Constructor Detail

ValueWithRef

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

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

getValue

public java.lang.String getValue()
Returns the value.

Returns:
the value, never null

getRef

public java.lang.String getRef()
Returns the reference.

Returns:
the reference, may be null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.