GetDefaultEntityDef

説明

スキーマのデフォルトの EntityDef オブジェクトを戻します。

このメソッドは、スキーマに定義されたデフォルトの EntityDef オブジェクトを戻します。指定された EntityDef オブジェクトが必要なメソッドの場合、Rational ClearQuest は、名前が空の文字列 ("") のときはデフォルトの EntityDef オブジェクトを使用します。

構文

VBScript

session.GetDefaultEntityDef 

Perl

$session->GetDefaultEntityDef(); 
識別子
説明
session
現在のデータベース アクセス セッションを表す Session オブジェクト。
戻り値
デフォルトの EntityDef オブジェクト。

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

フィードバック