|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
com.microsoft.tfs.core.internal.wrappers.EnumerationWrapper
com.microsoft.tfs.core.clients.versioncontrol.soapextensions.ItemType
public class ItemType
Enumerates the types of version control objects.
| Field Summary | |
|---|---|
static ItemType |
ANY
Matches any kind of item (file, folder, other). |
static ItemType |
FILE
Matches only file objects (which may not contain files or folders). |
static ItemType |
FOLDER
Matches only folder objects (which may contain other folders and files). |
static java.util.HashMap<java.lang.Byte,ItemType> |
VALUE_MAP
A map of enumeration integer values to ItemType |
| Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
|---|
webServiceObject |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
static ItemType |
fromByteValue(byte value)
Gets the ItemType associated with the specified integer value. |
static ItemType |
fromWebServiceObject(ms.tfs.versioncontrol.clientservices._03._ItemType webServiceObject)
Gets the correct wrapper type for the given web service object. |
byte |
getValue()
Returns the integer value associated with this enumeration. |
ms.tfs.versioncontrol.clientservices._03._ItemType |
getWebServiceObject()
Gets the web service object this class wraps. |
int |
hashCode()
|
java.lang.String |
toUIString()
The localized string appropriate for normal item type display. |
| 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 |
|---|
public static final java.util.HashMap<java.lang.Byte,ItemType> VALUE_MAP
public static final ItemType ANY
public static final ItemType FOLDER
public static final ItemType FILE
| Method Detail |
|---|
public static ItemType fromByteValue(byte value)
value - The integer value for this item type.
public static ItemType fromWebServiceObject(ms.tfs.versioncontrol.clientservices._03._ItemType webServiceObject)
webServiceObject - the web service object (must not be null)
java.lang.RuntimeException - if no wrapper type is known for the given web service objectpublic ms.tfs.versioncontrol.clientservices._03._ItemType getWebServiceObject()
public byte getValue()
public java.lang.String toUIString()
public boolean equals(java.lang.Object o)
equals in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapperpublic int hashCode()
hashCode in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||