The system function JavaLib.qualifiedTypeName returns the fully qualified name of the class of an object in the EGL Java™ object space. JavaLib.qualifiedTypeName is one of several Java access functions.
JavaLib.qualifiedTypeName(identifier javaObjId in) returns (result STRING)
For details on mismatched lengths, see Assignments.
This argument is either a string literal or an item of type CHAR, DBCHAR, MBCHAR, or UNICODE. The identifier must be cast to objId, as in a later example. EGL strips single- and double-byte blanks from the beginning and end of the argument value, which is case sensitive.
myItem = JavaLib.qualifiedTypeName( (objId)"myId" );
An error during processing of JavaLib.qualifiedTypeName can set sysVar.errorCode to a value listed in the next table.
Value in sysVar.errorCode | Description |
---|---|
00001001 | The object was null, or the specified identifier was not in the object space |
Related concepts
Syntax diagram for EGL functions
Related reference
EGL library JavaLib
getField()
invoke()
isNull()
isObjID()
qualifiedTypeName()
remove()
removeAll()
setField()
store()
storeCopy()
storeField()
storeNew()
Related tasks
Syntax diagram for EGL statements and commands