com.ibm.task.api
Class AuthorizationType

java.lang.Object
  extended by com.ibm.task.api.AuthorizationType
All Implemented Interfaces:
java.io.Serializable

public final class AuthorizationType
extends java.lang.Object
implements java.io.Serializable

This enumeration class defines symbolic constants for types of authorization. These values are used when authorization information about query tables is returned.

Since:
7.0
See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
static AuthorizationType INSTANCE_BASED
          Symbolic constant for authorization type INSTANCE_BASED
static AuthorizationType NONE
          Symbolic constant for authorization type NONE
static AuthorizationType ROLE_BASED
          Symbolic constant for authorization type ROLE_BASED
 
Method Summary
static AuthorizationType newAuthorizationType(java.lang.String typeString)
          Factory method to create an authorization type by its string representation.
 java.lang.String toString()
          Returns a string representation of the authorization type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

NONE

public static final AuthorizationType NONE
Symbolic constant for authorization type NONE


INSTANCE_BASED

public static final AuthorizationType INSTANCE_BASED
Symbolic constant for authorization type INSTANCE_BASED


ROLE_BASED

public static final AuthorizationType ROLE_BASED
Symbolic constant for authorization type ROLE_BASED

Method Detail

newAuthorizationType

public static AuthorizationType newAuthorizationType(java.lang.String typeString)
Factory method to create an authorization type by its string representation. If the enum passed is not a valid type enumeration, null is returned.

Parameters:
typeString - The string representation of an authorization type.
Returns:
AuthorizationType - The AuthorizationType object that is created.

toString

public java.lang.String toString()
Returns a string representation of the authorization type.

Overrides:
toString in class java.lang.Object
Returns:
String - A string representation of the authorization type.