public class

StringWrapper

extends Object
java.lang.Object
   ↳ com.microstrategy.webapi.StringWrapper

Class Overview

Wrapper for a String object. Should be passed to a function when a String value is returned via a parameter.

Summary

Fields
protected String internal_str
Public Constructors
StringWrapper()
Creates an empty StringWrapper.
StringWrapper(String initStr)
Constructor that sets the string to the argument passed in.
Public Methods
String getString()
Returns the wrapped String.
void setString(String newValue)
Sets the wrapped String to the value passed in.
String toString()
Overrides toString on java.lang.Object.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String internal_str

Public Constructors

public StringWrapper ()

Creates an empty StringWrapper.

public StringWrapper (String initStr)

Constructor that sets the string to the argument passed in.

Parameters
initStr String to initialize the wrapped String to.

Public Methods

public String getString ()

Returns the wrapped String.

Returns
  • The wrapped String.

public void setString (String newValue)

Sets the wrapped String to the value passed in.

Parameters
newValue New value for the wrapped String.

public String toString ()

Overrides toString on java.lang.Object.

Returns
  • The string being wrapped.