com.starbase.starteam
Class ItemRevision

java.lang.Object
  |
  +--com.starbase.starteam.CacheRef
        |
        +--com.starbase.starteam.NamedCacheRef
              |
              +--com.starbase.starteam.TypedResource
                    |
                    +--com.starbase.starteam.SimpleTypedResource
                          |
                          +--com.starbase.starteam.ItemRevision
All Implemented Interfaces:
java.lang.Cloneable

public class ItemRevision
extends SimpleTypedResource

A ItemRevision represents a View member level revision of an item. Such revisions are created when one modifies the view level properties of a particular share of the item. These would be operations like: 1. changing the item branch behavior 2. changing the item configuration 3. branching the item 4. moving the item


Method Summary
 boolean equals(java.lang.Object source)
          returns true if this object instance is equal to the source
 int getBranchFlag()
          Returns the branch flag of this item revision.
 int getBranchState()
          Returns the branch state of this item revision.
 int getLocationItemID()
          Returns the location item ID of this item revision.
 int getObjectID()
          Returns the object ID for this item revision.
 OLEDate getObjectTime()
          Returns the time of this item revision.
 int getParentItemID()
          Returns the Item ID of the parent for this item revision.
 int getProjectID()
          Returns the Project ID of the project that contains this item revision.
 OLEDate getTime()
          Returns the time of this item revision.
 int getUserID()
          Returns the created User ID for this item revision.
 int getViewID()
          Returns the View ID for this item revision.
 int hashCode()
          returns a unique hash for all instances of this type
 java.lang.String toString()
          Returns a string containing one line for each property of the ItemRevision.
 
Methods inherited from class com.starbase.starteam.SimpleTypedResource
get, getByteArray, getDouble, getEnumDisplayName, getID, getInt, getIntArray, getOLEDate, getPossibleValues, getPropertyNames, getString, getType, getTypeNames, put, putByPropertyID
 
Methods inherited from class com.starbase.starteam.TypedResource
addToIntArray, removeFromIntArray
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getParentItemID

public int getParentItemID()
Returns the Item ID of the parent for this item revision.

Returns:
the Item ID of the parent for this item revision.

getProjectID

public int getProjectID()
Returns the Project ID of the project that contains this item revision.

Returns:
the Project ID of the project that contains this item revision.

getObjectID

public int getObjectID()
Returns the object ID for this item revision.

Returns:
the object ID for this item revision.

getUserID

public int getUserID()
Returns the created User ID for this item revision.

Returns:
the created User ID for this item revision.

getViewID

public int getViewID()
Returns the View ID for this item revision.

Returns:
the View ID for this item revision.

getObjectTime

public OLEDate getObjectTime()
Returns the time of this item revision.

Returns:
the time of this item revision.

getTime

public OLEDate getTime()
Returns the time of this item revision.

Returns:
the time of this item revision.

getLocationItemID

public int getLocationItemID()
Returns the location item ID of this item revision.

Returns:
the location item ID of this item revision.

getBranchFlag

public int getBranchFlag()
Returns the branch flag of this item revision.

Returns:
the branch flag of this item revision.

getBranchState

public int getBranchState()
Returns the branch state of this item revision.

Returns:
the branch state of this item revision.

toString

public java.lang.String toString()
Returns a string containing one line for each property of the ItemRevision.

Overrides:
toString in class TypedResource
Returns:
a string containing one line for each property of the ItemRevision.

equals

public boolean equals(java.lang.Object source)
returns true if this object instance is equal to the source

Overrides:
equals in class SimpleTypedResource
Parameters:
source - Object the source to comapre with
Returns:
boolean true if this object is equal to the source

hashCode

public int hashCode()
returns a unique hash for all instances of this type

Overrides:
hashCode in class SimpleTypedResource
Returns:
int a unique hash for all instances of this type


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