getstrvalue
| getstrvalue | 
  Purpose
 
  Synopsis
 
function getstrvalue(obj:jvmobject) : string
 
  Argument
 
| 
     obj 
     | 
     The object reference to query, which must be an instance of
     java.lang.String
     | 
  Return value
 
 The boolean value held within the Java object
  Further information
 
 1. If the reference within the
 jvmobject is null, calling this function will cause the model to immediately terminate with an error. You can use
 getisnull to check the object reference is set before calling this.
 
 2. If the
 jvmobject is not a
 java.lang.String, calling this function will cause the model to immediately terminate with an error. You can use
 getclass to check the object reference type before calling this.
 
 3. If the wish to get the string representation of a
 jvmobject regardless of type, convert to a string directly, ie:
 string(obj) - this will call the Java
 toString() method and will return sensible dummy values if the reference is null or if
 toString() throws an exception.
 
  Related topics
 
 
