GetDefaultEntityDef

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 ("").

Syntax

VBScript

session.GetDefaultEntityDef 

Perl

$session->GetDefaultEntityDef(); 
Identifier
Description
session
The Session object that represents the current database-access session.
Return value
The default EntityDef object.

Examples

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

Feedback