Entity 오브젝트가 다른 Entity 오브젝트의 중복으로 표시되어 있는지 여부를 나타냅니다.
중복 오브젝트는 원래 오브젝트에 이루어진 변경사항을 반영합니다. Entity 오브젝트가 중복으로 표시되면 원본 오브젝트에 발생한 모든 변경사항은 중복에도 반영됩니다. IBM® Rational® ClearQuest®는 원본 오브젝트 및 해당 중복 사이의 링크를 유지보수하여 이러한 변경사항을 업데이트합니다.
중복으로 표시된 오브젝트를 수정하면 오류가 발생합니다. 대신 원본 오브젝트를 수정해야 합니다. 원본 오브젝트를 찾으려면 중복의 GetOriginal 메소드를 사용하십시오.
VBScript
entity.IsDuplicate
Perl
$entity->IsDuplicate();
VBScript
'Display a window indicating which record is
'the original of this record
If entity.IsDuplicate Then
' Get the ID of this record
duplicateID = entity.GetDisplayName
' Get the ID of the original record
set originalObj = entity.GetOriginal
originalID = originalObj.GetDisplayName
OutputDebugString "The parent of record " & duplicateID & _
" is record " & originalID
End If
Perl
# Display a window indicating which record is
# the original of this record
if ($entity->IsDuplicate)
{
# Get the ID of this record
$duplicateID = $entity->GetDisplayName();
# Get the ID of the original record
$originalObj = $entity->GetOriginal();
$originalID = $originalObj->GetDisplayName();
$session->OutputDebugString("The parent of record
".$duplicateID. " is record ".$originalID);
}