com.microsoft.tfs.core.clients.authorization
Class IdentityType

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.authorization.IdentityType

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

Represents different types of identity.

Since:
TEE-SDK-10.1

Field Summary
static IdentityType APPLICATION_GROUP
           
static IdentityType INVALID_IDENTITY
           
static IdentityType UNKNOWN_IDENTITY_TYPE
           
static IdentityType WINDOWS_GROUP
           
static IdentityType WINDOWS_USER
           
 
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
webServiceObject
 
Constructor Summary
IdentityType(ms.tfs.services.authorization._03._IdentityType extendedInfo)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
static IdentityType fromWebServiceObject(ms.tfs.services.authorization._03._IdentityType webServiceObject)
          Gets the correct wrapper type for the given web service object.
 ms.tfs.services.authorization._03._IdentityType 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

INVALID_IDENTITY

public static final IdentityType INVALID_IDENTITY

UNKNOWN_IDENTITY_TYPE

public static final IdentityType UNKNOWN_IDENTITY_TYPE

WINDOWS_USER

public static final IdentityType WINDOWS_USER

WINDOWS_GROUP

public static final IdentityType WINDOWS_GROUP

APPLICATION_GROUP

public static final IdentityType APPLICATION_GROUP
Constructor Detail

IdentityType

public IdentityType(ms.tfs.services.authorization._03._IdentityType extendedInfo)
Method Detail

getWebServiceObject

public ms.tfs.services.authorization._03._IdentityType getWebServiceObject()
Gets the web service object this class wraps. The returned object should not be modified.

Returns:
the web service object this class wraps.

fromWebServiceObject

public static IdentityType fromWebServiceObject(ms.tfs.services.authorization._03._IdentityType 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

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.