com.starteam
Class VersionedObject.WebCacheVersionedObject

java.lang.Object
  extended by com.starteam.LiveObject.WebCacheLiveObject
      extended by com.starteam.TrackedObject.WebCacheTrackedObject
          extended by com.starteam.VersionedObject.WebCacheVersionedObject
Direct Known Subclasses:
ViewMember.WebCacheViewMember
Enclosing class:
VersionedObject

public static class VersionedObject.WebCacheVersionedObject
extends TrackedObject.WebCacheTrackedObject

Tracked Object accessor for cached SDK Objects contained objects are obtained from the artifact cache


Method Summary
 int getRevisionNumber()
          Gets the revision number for this object revision.
 int getRootObjectID()
          Gets the root object ID for this resource.
 int getViewVersion()
          The version number of this item calculated by counting direct ancestors of this item from this version to the initial version.
 boolean isFromHistory()
          Determines whether or not this is a historical resource obtained from the history.
 
Methods inherited from class com.starteam.TrackedObject.WebCacheTrackedObject
getModifiedBy, getModifiedTime
 
Methods inherited from class com.starteam.LiveObject.WebCacheLiveObject
addTo, equals, getContext, getCreatedBy, getCreatedTime, getDisplayName, getID, getObjectID, getServer, getType, getValue, getValue, hashCode, hasValue, isDirty, isNew, refresh, remove, removeFrom, setValue, setValue, toStarTeamURL, update
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRevisionNumber

public int getRevisionNumber()
Gets the revision number for this object revision. The first revision has revision number zero.

Returns:
The revision number for this object revision.

getRootObjectID

public int getRootObjectID()
Gets the root object ID for this resource. All resources with the same root object ID were derived from the same underlying object. Revisions with the same object ID are all on the same branch.

Returns:
The root object ID for this resource.

isFromHistory

public boolean isFromHistory()
Determines whether or not this is a historical resource obtained from the history.

Returns:
true if this is a historical resource obtained from the history.

getViewVersion

public int getViewVersion()
The version number of this item calculated by counting direct ancestors of this item from this version to the initial version. The first revision will have a view version number of (1).

Returns:
The view version number of this item.


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.