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

java.lang.Object
  extended by com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
      extended by com.microsoft.tfs.core.internal.wrappers.EnumerationWrapper
          extended by com.microsoft.tfs.core.clients.versioncontrol.soapextensions.RequestType

public class RequestType
extends com.microsoft.tfs.core.internal.wrappers.EnumerationWrapper

Enumerates the types of requested changes that can be made on version control objects.

Since:
TEE-SDK-10.1

Field Summary
static RequestType ADD
           
static RequestType BRANCH
           
static RequestType DELETE
           
static RequestType EDIT
           
static RequestType ENCODING
           
static RequestType LOCK
           
static RequestType NONE
           
static RequestType PROPERTY
           
static RequestType RENAME
           
static RequestType UNDELETE
           
 
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
webServiceObject
 
Method Summary
 boolean equals(java.lang.Object o)
           
static RequestType fromWebServiceObject(ms.tfs.versioncontrol.clientservices._03._RequestType webServiceObject)
          Gets the correct wrapper type for the given web service object.
 ms.tfs.versioncontrol.clientservices._03._RequestType getWebServiceObject()
          Gets the web service object this class wraps.
 int hashCode()
           
 
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.EnumerationWrapper
fromWebServiceObject
 
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final RequestType NONE

ADD

public static final RequestType ADD

BRANCH

public static final RequestType BRANCH

ENCODING

public static final RequestType ENCODING

EDIT

public static final RequestType EDIT

DELETE

public static final RequestType DELETE

LOCK

public static final RequestType LOCK

RENAME

public static final RequestType RENAME

UNDELETE

public static final RequestType UNDELETE

PROPERTY

public static final RequestType PROPERTY
Method Detail

fromWebServiceObject

public static RequestType fromWebServiceObject(ms.tfs.versioncontrol.clientservices._03._RequestType webServiceObject)
Gets the correct wrapper type for the given web service object.

Parameters:
webServiceObject - the web service object (must not be null)
Returns:
the correct wrapper type for the given web service object
Throws:
java.lang.RuntimeException - if no wrapper type is known for the given web service object

getWebServiceObject

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

Returns:
the web service object this class wraps.

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


© 2015 Microsoft. All rights reserved.