Description
Returns
the schema's default EntityDef object.
This method returns
the default EntityDef object as defined in the schema. For methods that require
a named EntityDef object, Rational ClearQuest uses the default
EntityDef object when the name is the empty string ("").
Syntaxe
VBScript
session.GetDefaultEntityDef
Perl
$session->GetDefaultEntityDef();
- Identificateur
- Description
- session
- Objet Session représentant la session en cours d'accès à la
base de données.
- Valeur renvoyée
- The default EntityDef object.
Exemples
VBScript
set sessionObj = GetSession
set defEntityDef = sessionObj.GetDefaultEntityDef
Perl
#Create a Rational ClearQuest session
$sessionObj = $entity->GetSession();
#Get the default record type of the schema
$defEntityDef = $sessionObj->GetDefaultEntityDef();