Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • internal_str

        protected java.lang.String internal_str
    • Constructor Detail

      • StringWrapper

        public StringWrapper()
        Creates an empty StringWrapper.
      • StringWrapper

        public StringWrapper​(java.lang.String initStr)
        Constructor that sets the string to the argument passed in.
        Parameters:
        initStr - String to initialize the wrapped String to.
    • 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 class java.lang.Object
        Returns:
        The string being wrapped.