com.microsoft.tfs.core.clients.versioncontrol.soapextensions
Class ExtendedItem

java.lang.Object
  extended by com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
      extended by com.microsoft.tfs.core.clients.versioncontrol.soapextensions.ExtendedItem
All Implemented Interfaces:
java.lang.Comparable

public class ExtendedItem
extends com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
implements java.lang.Comparable

Describes an extended item. Similar to Item, but contains more information about working folder versions (so users of it can tell whether their disk items are synced to the latest server versions of these files).

Since:
TEE-SDK-10.1

Field Summary
 
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
webServiceObject
 
Constructor Summary
ExtendedItem(ms.tfs.versioncontrol.clientservices._03._ExtendedItem item)
           
ExtendedItem()
           
ExtendedItem(com.microsoft.tfs.core.clients.versioncontrol.internal.localworkspace.LocalPendingChangesTable pc, com.microsoft.tfs.core.clients.versioncontrol.internal.localworkspace.WorkspaceLocalItem localItem, LocalPendingChange pendingChange)
           
 
Method Summary
 int compareTo(java.lang.Object otherItem)
           
 java.util.Calendar getCheckinDate()
           
 int getDeletionID()
           
 FileEncoding getEncoding()
           
 int getItemID()
           
 ItemType getItemType()
           
 int getLatestVersion()
           
 java.lang.String getLocalItem()
           
 int getLocalVersion()
           
 LockLevel getLockLevel()
           
 java.lang.String getLockOwner()
           
 java.lang.String getLockOwnerDisplayName()
           
 ChangeType getPendingChange()
          Gets the types of changes currently pending for this item.
 PropertyValue[] getPropertyValues()
           
 java.lang.String getSourceServerItem()
           
 java.lang.String getTargetServerItem()
           
 ms.tfs.versioncontrol.clientservices._03._ExtendedItem getWebServiceObject()
          Gets the web service object this class wraps.
 boolean hasLocalChange()
           
 boolean hasOtherPendingChange()
           
 boolean isBranch()
          This method always returns false for items in a TFS 2005 or TFS 2008 server.
 void setCheckinDate(java.util.Calendar date)
           
 void setDeletionID(int did)
           
 void setEncoding(FileEncoding encoding)
           
 void setHasOtherPendingChange(boolean oChange)
           
 void setItemID(int itemid)
           
 void setItemType(ItemType type)
           
 void setLatestVersion(int version)
           
 void setLocalItem(java.lang.String item)
           
 void setLocalVersion(int version)
           
 void setLockLevel(LockLevel lock)
           
 void setLockOwner(java.lang.String owner)
           
 void setPendingChange(ChangeType changeType)
          Sets the types of the changes currently pending for this item.
 void setSourceServerItem(java.lang.String item)
           
 void setTargetServerItem(java.lang.String item)
           
 
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtendedItem

public ExtendedItem()

ExtendedItem

public ExtendedItem(ms.tfs.versioncontrol.clientservices._03._ExtendedItem item)

ExtendedItem

public ExtendedItem(com.microsoft.tfs.core.clients.versioncontrol.internal.localworkspace.LocalPendingChangesTable pc,
                    com.microsoft.tfs.core.clients.versioncontrol.internal.localworkspace.WorkspaceLocalItem localItem,
                    LocalPendingChange pendingChange)
Method Detail

getWebServiceObject

public ms.tfs.versioncontrol.clientservices._03._ExtendedItem getWebServiceObject()
Gets the web service object this class wraps. The returned object should not be modified.

Returns:
the web service object this class wraps.

compareTo

public int compareTo(java.lang.Object otherItem)
Specified by:
compareTo in interface java.lang.Comparable

getLocalVersion

public int getLocalVersion()

setLocalVersion

public void setLocalVersion(int version)

getDeletionID

public int getDeletionID()

setDeletionID

public void setDeletionID(int did)

getLatestVersion

public int getLatestVersion()

setLatestVersion

public void setLatestVersion(int version)

getItemType

public ItemType getItemType()

setItemType

public void setItemType(ItemType type)

getEncoding

public FileEncoding getEncoding()

setEncoding

public void setEncoding(FileEncoding encoding)

getItemID

public int getItemID()

setItemID

public void setItemID(int itemid)

getLocalItem

public java.lang.String getLocalItem()

setLocalItem

public void setLocalItem(java.lang.String item)

getTargetServerItem

public java.lang.String getTargetServerItem()

setTargetServerItem

public void setTargetServerItem(java.lang.String item)

getSourceServerItem

public java.lang.String getSourceServerItem()

setSourceServerItem

public void setSourceServerItem(java.lang.String item)

getPendingChange

public ChangeType getPendingChange()
Gets the types of changes currently pending for this item.

Returns:
the types of the changes currently pending for this item.

setPendingChange

public void setPendingChange(ChangeType changeType)
Sets the types of the changes currently pending for this item.

Parameters:
changeType - the types of the changes currently pending for this item.

hasOtherPendingChange

public boolean hasOtherPendingChange()

setHasOtherPendingChange

public void setHasOtherPendingChange(boolean oChange)

getLockLevel

public LockLevel getLockLevel()

setLockLevel

public void setLockLevel(LockLevel lock)

getLockOwner

public java.lang.String getLockOwner()

setLockOwner

public void setLockOwner(java.lang.String owner)

getLockOwnerDisplayName

public java.lang.String getLockOwnerDisplayName()

hasLocalChange

public boolean hasLocalChange()

getCheckinDate

public java.util.Calendar getCheckinDate()

setCheckinDate

public void setCheckinDate(java.util.Calendar date)

isBranch

public boolean isBranch()
This method always returns false for items in a TFS 2005 or TFS 2008 server.

Returns:
true if the item is a branch, false if it is not a branch
Since:
TFS2010

getPropertyValues

public PropertyValue[] getPropertyValues()


© 2015 Microsoft. All rights reserved.