The ICCLabelType interface represents the Rational® ClearCase® label type object.
Every label is an instance of a kind of label type. In general, the meaning that is associated with a particular label type is user-defined.
Gets the constraint for this label type
Sets the constraint for this label type (for example, one per branch)
Gets the name of this label type
Changes the name of this label type and all instances of the label type
Gets whether label type is global for VOBs using this as an admin VOB or local to this VOB
Sets whether label type is global for VOBs using this as an admin VOB or local to this VOB
Applies an instance of this label type to a version object
Method
Sub Apply(pVersion As CCVersion, [ Comment As String = "" ],[ Replace As Boolean = False ], [ Recurse as Boolean = False ])
HRESULT Apply( ICCVersion* pVersion, _bstr_t Comment, VARIANT_BOOL Replace, VARIANT_BOOL Recurse);
Member of: ICCLabelType interface
Gets the constraint for this label type
Read-only property
Property Constraint As CCTypeConstraint
CCTypeConstraint GetConstraint();
A CCTypeConstraint value.
Locks this label type
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);
Gets the group to which this label type belongs
Read-only property
Property Group As String
_bstr_t GetGroup();
Gets the lock on this label type
Read-only property
Property Lock As CCLock
ICCLockPtr GetLock();
Gets the master replica for this label type
Read-only property
Property Master As String
_bstr_t GetMaster();
It is most likely that you want to operate on the local copy of the label type.
Gets the name of this label type
Read-only property
Property Name As String
_bstr_t GetName();
Gets the owner of this label type
Read-only property
Property Owner As String
_bstr_t GetOwner();
Removes this label type from the VOB
Method
Sub RemoveType([ RemoveAllInstances As Boolean = False ], [ Comment As String = "" ])
HRESULT RemoveType( VARIANT_BOOL RemoveAllInstances, _bstr_t Comment);
Member of: ICCLabelType interface
Gets whether label type is global for VOBs using this as an admin VOB or local to this VOB
Read-only property
Property Scope As CCTypeScope
CCTypeScope GetScope();
A CCTypeScope value.
Sets the constraint for this label type (for example, one per branch)
Method
Sub SetConstraint(NewConstraint As CCTypeConstraint, [ Comment As String = "" ])
HRESULT SetConstraint( CCTypeConstraint NewConstraint, _bstr_t Comment);
Sets the group to which this label type belongs
Method
Sub SetGroup(NewGroup As String, [ Comment As String = "" ])
HRESULT SetGroup( _bstr_t NewGroup, _bstr_t Comment);
Sets the master replica for this label type
Method
Sub SetMaster(Replica As String, [ Comment As String = "" ])
HRESULT SetMaster( _bstr_t Replica, _bstr_t Comment);
It is most likely that you want to operate on the local copy of the label type.
Changes the name of this label type and all instances of the label type
Method
Sub SetName(NewName As String, [ Comment As String = "" ])
HRESULT SetName( _bstr_t NewName, _bstr_t Comment);
Sets the owner of this label type
Method
Sub SetOwner(NewOwner As String, [ Comment As String = "" ])
HRESULT SetOwner( _bstr_t NewOwner, _bstr_t Comment);
Sets whether label type is global for VOBs using this as an admin VOB or local to this VOB
Method
Sub SetScope(Global As Boolean, [ Acquire As Boolean = False ], [ Comment As String = "" ])
HRESULT SetScope( VARIANT_BOOL Global, VARIANT_BOOL Acquire, _bstr_t Comment);
Gets the VOB that contains this label type
Read-only property
Property VOB As CCVOB