Package com.microstrategy.webapi
Class StringWrapper
- java.lang.Object
-
- com.microstrategy.webapi.StringWrapper
-
public class StringWrapper extends java.lang.Object
Wrapper 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.String
internal_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.String
getString()
Returns the wrapped String.void
setString(java.lang.String newValue)
Sets the wrapped String to the value passed in.java.lang.String
toString()
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:
toString
in classjava.lang.Object
- Returns:
- The string being wrapped.
-
-