com.starbase.starteam
Interface RevisionIdentifier


public interface RevisionIdentifier

The RevisionIdentifier interface globally and uniquely identifies a specific revision of a StarTeam object.


Method Summary
 int getContentRevision()
          Gets the content version of this item revision.
 java.lang.String getDotNotation()
          Gets the dot notation of this revision of the repository object.
 int getObjectID()
          Gets the objectID (also known as the branch identifier) of this revision of the repository object.
 java.lang.String getRepositoryID()
          Gets an ID that uniquely identifies the repository in which the object in question exists.
 int getRevisionNumber()
          Gets the version number of this revision of the repository object within its branch.
 int getRootObjectID()
          Gets the RootObjectID of the repository object.
 void setContentRevision(int rev)
          Sets the content version of this item revision.
 void setDotNotation(java.lang.String dot)
          Sets the dot notation of this revision of the repository object.
 void setObjectID(int id)
          Sets the objectID of this revision of the repository object.
 void setRevisionNumber(int n)
          Sets the version number of this revision of the repository object.
 void setRootObjectID(int id)
          Sets the RootObjectID of the repository object.
 

Method Detail

getRepositoryID

public java.lang.String getRepositoryID()
Gets an ID that uniquely identifies the repository in which the object in question exists. We use the server's GUID in lower-case canonical format.

Returns:
An ID that uniquely identifies the repository in which the object in question exists.

getRootObjectID

public int getRootObjectID()
Gets the RootObjectID of the repository object. All revisions and branches of an object share the same RootObjectID.

Returns:
The RootObjectID of the repository object.

setRootObjectID

public void setRootObjectID(int id)
Sets the RootObjectID of the repository object.

Parameters:
id - The RootObjectID of the repository object.

getObjectID

public int getObjectID()
Gets the objectID (also known as the branch identifier) of this revision of the repository object.

Returns:
The objectID of this revision of the repository object.

setObjectID

public void setObjectID(int id)
Sets the objectID of this revision of the repository object.

Parameters:
id - The objectID of this revision of the repository object.

getRevisionNumber

public int getRevisionNumber()
Gets the version number of this revision of the repository object within its branch.

Returns:
The version number of this revision of the repository object within its branch.
See Also:
Item.getRevisionNumber()

setRevisionNumber

public void setRevisionNumber(int n)
Sets the version number of this revision of the repository object.

Parameters:
n - The version number of this revision of the repository object.

getDotNotation

public java.lang.String getDotNotation()
Gets the dot notation of this revision of the repository object. The dot notation uniquely identifies any revision from any branch off of the same root object ID. For example: "1.2.3.5".

Returns:
The dot notation of this revision of the repository object.

setDotNotation

public void setDotNotation(java.lang.String dot)
Sets the dot notation of this revision of the repository object.

Parameters:
dot - The dot notation of this revision of the repository object.

getContentRevision

public int getContentRevision()
Gets the content version of this item revision. The content version does not increment in parallel with the view version; it only increments when the file contents (not just any property) changes.

Returns:
The content version of this item revision.

setContentRevision

public void setContentRevision(int rev)
Sets the content version of this item revision.

Parameters:
rev - The content version of this item revision.


StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.