org.objectweb.telosys.common.val
Class StringValue

java.lang.Object
  extended byorg.objectweb.telosys.common.val.StringValue
All Implemented Interfaces:
ISingleValue, java.io.Serializable

public class StringValue
extends java.lang.Object
implements ISingleValue

This class wraps a String in a mutable value object. The current value can be changed with the 'setValue' method.

See Also:
Serialized Form

Constructor Summary
StringValue()
          Default constructor, the initial value is a void string.
StringValue(java.lang.String v)
          Constructor with initial value
 
Method Summary
 java.lang.String getValue()
          Returns the string value ( the value returned is never null )
 void setValue(java.lang.String v)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringValue

public StringValue()
Default constructor, the initial value is a void string.


StringValue

public StringValue(java.lang.String v)
Constructor with initial value

Parameters:
v -
Method Detail

setValue

public void setValue(java.lang.String v)

getValue

public java.lang.String getValue()
Returns the string value ( the value returned is never null )

Returns:

toString

public java.lang.String toString()