Returns the name of the EntityDef object's corresponding record type.
Like the other parts of an EntityDef object, the name of an EntityDef object is determined by the corresponding record type, whose name is set by the administrator using Rational ClearQuest Designer. The name cannot be set directly from the API.
VBScript
entitydef.GetName
Perl
$entitydef->GetName();
VBScript
set sessionObj = GetSession
set entityDefObj = sessionObj.GetEntityDef(GetEntityDefName())
sessionObj.OutputDebugString "Name of record type: " & _
entityDefObj.GetName()
Perl
$sessionobj = $entity->GetSession();
$entitydefobj = $sessionobj->GetEntityDef($entity->GetEntityDefName());
$sessionobj->OutputDebugString("Name of record type:
".$entitydefobj->GetName());