Package com.microstrategy.webapi
Class StringWrapper
- java.lang.Object
-
- com.microstrategy.webapi.StringWrapper
-
public class StringWrapper extends java.lang.ObjectWrapper for a String object. Should be passed to a function when a String value is returned via a parameter.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringinternal_str
-
Constructor Summary
Constructors Constructor Description StringWrapper()Creates an empty StringWrapper.StringWrapper(java.lang.String initStr)Constructor that sets the string to the argument passed in.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetString()Returns the wrapped String.voidsetString(java.lang.String newValue)Sets the wrapped String to the value passed in.java.lang.StringtoString()Overrides toString on java.lang.Object.
-
-
-
Method Detail
-
getString
public java.lang.String getString()
Returns the wrapped String.- Returns:
- The wrapped String.
-
setString
public void setString(java.lang.String newValue)
Sets the wrapped String to the value passed in.- Parameters:
newValue- New value for the wrapped String.
-
toString
public java.lang.String toString()
Overrides toString on java.lang.Object.- Overrides:
toStringin classjava.lang.Object- Returns:
- The string being wrapped.
-
-