com.vodafone360.people.datatypes
Class SimpleText

java.lang.Object
  extended by com.vodafone360.people.datatypes.BaseDataType
      extended by com.vodafone360.people.datatypes.SimpleText

public class SimpleText
extends BaseDataType

BaseDataType encapsulating a text response returned from server


Field Summary
 java.lang.StringBuffer mValue
           
 
Constructor Summary
SimpleText()
           
 
Method Summary
 void addText(java.lang.String text)
          Add test to SimpleText item
 java.lang.String name()
          Return name of the current Data-type.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mValue

public java.lang.StringBuffer mValue
Constructor Detail

SimpleText

public SimpleText()
Method Detail

name

public java.lang.String name()
Return name of the current Data-type.

Specified by:
name in class BaseDataType
Returns:
String containing name of the data-type.

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

addText

public void addText(java.lang.String text)
Add test to SimpleText item

Parameters:
text - String containing text to add.


JavaDoc