Entity のタイプ (状態 ありまたは状態なし) を戻します。
API を使用して Entity オブジェクトのタイプを変更することはできません。レコードのタイプは対応するレコード タイプによって判別され、管理者によって Rational ClearQuest Designer を使用して設定されている必要があります。
VBScript
entity.GetType
Perl
$entity->GetType();
VBScript
recordType = GetType If recordType = AD_REQ_ENTITY Then OutputDebugString "This record is a state-based record." Else OutputDebugString "This record is a stateless record." End If
Perl
$recordtype = $entity->GetType(); if ($recordtype eq $CQPerlExt::CQ_REQ_ENTITY) { $session->OutputDebugString("This record is a state-based record."); } else { $session->OutputDebugString("This record is a stateless record."); }