GetName

Descripción

Devuelve el nombre del tipo de registro correspondiente del objeto EntityDef.

Como los demás componentes de un objeto EntityDef, el nombre de un objeto EntityDef está determinado por el tipo de registro correspondiente, cuyo nombre establece el administrador utilizando Rational ClearQuest Designer. El nombre no se puede establecer directamente desde la API.

Sintaxis

VBScript

entitydef.GetName 

Perl

$entitydef->GetName(); 
Identificador
Descripción
entitydef
Un objeto EntityDef que corresponde a un tipo de registro de un esquema.
Valor de retorno
Un String cuyo valor es el nombre del tipo de registro correspondiente del objeto EntityDef.

Ejemplos

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()); 

Comentarios