com.microsoft.tfs.core.clients.versioncontrol.specs.version
Class DeletionVersionSpec
java.lang.Object
com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
com.microsoft.tfs.core.clients.versioncontrol.specs.version.VersionSpec
com.microsoft.tfs.core.clients.versioncontrol.specs.version.DeletionVersionSpec
public final class DeletionVersionSpec
- extends VersionSpec
Represents a deletion specification. This class does not extend a web service
object, because the web service uses simple integers for deletion specs.
- Since:
- TEE-SDK-10.1
- Thread-safety:
- immutable
Field Summary |
protected static char |
IDENTIFIER
The single character identifier for the type of spec implemented by this
class. |
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
webServiceObject |
Method Summary |
boolean |
equals(java.lang.Object o)
|
int |
getDeletionID()
|
ms.tfs.versioncontrol.clientservices._03._VersionSpec |
getWebServiceObject()
Gets the web service object this class wraps. |
int |
hashCode()
|
java.lang.String |
toString()
Returns the version component of the spec string for the type of
VersionSpec implemented by this class. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
IDENTIFIER
protected static final char IDENTIFIER
- The single character identifier for the type of spec implemented by this
class.
- Constant Field Value:
88
- See Also:
- Constant Field Values
DeletionVersionSpec
public DeletionVersionSpec(int deletionID)
toString
public java.lang.String toString()
- Description copied from class:
VersionSpec
- Returns the version component of the spec string for the type of
VersionSpec implemented by this class. This is used to format version
specs for display to the user.
- Specified by:
toString
in class VersionSpec
- Returns:
- the version component of the spec string.
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
hashCode
public int hashCode()
- Overrides:
hashCode
in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
getWebServiceObject
public ms.tfs.versioncontrol.clientservices._03._VersionSpec getWebServiceObject()
- Description copied from class:
VersionSpec
- Gets the web service object this class wraps. The returned object should
not be modified.
- Overrides:
getWebServiceObject
in class VersionSpec
- Returns:
- the web service object this class wraps.
getDeletionID
public int getDeletionID()
- Returns:
- the deletion ID, 0 if none.
© 2015 Microsoft. All rights reserved.