qualifiedTypeName()

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)
result
The result field is required and must be of type CHAR, MBCHAR, or UNICODE--
  • If the result field is of type MBCHAR or UNICODE, the received value is always appropriate
  • If the result field is of type CHAR, problems can arise if the received value includes characters that correspond to DBCHAR characters

For details on mismatched lengths, see Assignments.

identifier
An identifier that refers to an object in the object space.

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.

An example is as follows:
  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

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.