The ICCElement interface represents the Rational® ClearCase® element object.
Gets the version of the element checked out to the associated view
Gets a named trigger that is attached to this file or directory element
Gets the collection of triggers that are attached to this file or directory element
Gets the particular version of this element that is specified by the version selector
Gets the version of this element that is selected by a specified baseline
Moves this element to another directory; both the source directory and target directory must be checked-out
Removes irretrievably this element (equivalent to cleartool rmelem with the -force option)
Removes the name of this element from its parent directory (version)
Gets the version of the element checked out to the associated view
Read-only property
Property CheckedOutFile As CCCheckedOutFile
Gets the component associated with this element
Read-only property
Property Component As CCComponent
Locks this element
Method
Sub CreateLock([ Comment As String = "" ], [ Obsolete As Boolean = False ], [ ExemptUsersStringArray As Variant ])
HRESULT CreateLock( _bstr_t Comment, VARIANT_BOOL Obsolete, const _variant_t& ExemptUsersStringArray = vtMissing);
Member of: ICCElement interface
Gets the element type of this element
Read-only property
Property ElementType As String
Gets the group to which this element belongs
Read-only property
Property Group As String
_bstr_t GetGroup();
Gets the master replica for this element
Read-only property
Property Master As String
_bstr_t GetMaster();
Moves this element to another directory; both the source directory and target directory must be checked-out
Method
Sub Move(pNewParent As CCElement, [ Comment As String = "" ])
HRESULT Move( ICCElement* pNewParent, _bstr_t Comment);
Gets the owner of this element
Read-only property
Property Owner As String
_bstr_t GetOwner();
Gets the parent directory element of this element
Read-only property
Property Parent As CCElement
ICCElementPtr GetParent();
Gets the permissions on this element
Read-only property
Property Permissions As Long
long GetPermissions();
The access mode for the element.
Removes irretrievably this element (equivalent to cleartool rmelem with the -force option)
Method
Sub RemoveElement([ Comment As String = "" ])
HRESULT RemoveElement(_bstr_t Comment);
Member of: ICCElement interface
Removes the name of this element from its parent directory (version)
Method
Sub RemoveName([ Comment As String = "" ], [ DirectoryMustBeCheckedOut As Boolean = True ])
HRESULT RemoveName( _bstr_t Comment, VARIANT_BOOL DirectoryMustBeCheckedOut);
Renames this element
Method
Sub Rename(NewName As String, [ Comment As String = "" ])
HRESULT Rename( _bstr_t NewName, _bstr_t Comment);
Member of: ICCElement interface
Sets the group to which this element belongs
Method
Sub SetGroup(NewGroup As String, [ Comment As String = "" ])
HRESULT SetGroup( _bstr_t NewGroup, _bstr_t Comment);
Sets the master replica for this element
Method
Sub SetMaster(Replica As String, [ Comment As String = "" ])
HRESULT SetMaster( _bstr_t Replica, _bstr_t Comment);
Sets the owner of this element
Method
Sub SetOwner(NewOwner As String, [ Comment As String = "" ])
HRESULT SetOwner( _bstr_t NewOwner, _bstr_t Comment);
Sets the permissions on this element
Method
Sub SetPermissions(NewPermissions As Long, [ Comment As String = "" ])
HRESULT SetPermissions( long NewPermissions, _bstr_t Comment);
Gets a named trigger that is attached to this file or directory element
Read-only property
Property Trigger(TriggerType As String) As CCTrigger
ICCTriggerPtr GetTrigger( _bstr_t TriggerType);
Member of: ICCElement interface
Gets the collection of triggers that are attached to this file or directory element
Read-only property
Property Triggers As CCTriggers
Gets the particular version of this element that is specified by the version selector
Read-only property
Property Version([ Selector As String = "" ]) As CCVersion
ICCVersionPtr GetVersion( _bstr_t Selector);
Member of: ICCElement interface
Gets the version of this element that is selected by a specified baseline
It checks whether the element is in the same component as the baseline. If the specified baseline is not in the same component as the element, the error message is Element is not in the same component as the baseline.
Read-only property
Property VersionByBaseline(Baseline As CCBaseline) As CCVersion
ICCVersionPtr GetVersionByBaseline(ICCBaseline* Baseline);
Member of: ICCElement interface