com.sap.caf.eu.gp.process.api

Class GPSearchRole

java.lang.Object
  extended bycom.sap.caf.eu.gp.process.api.GPSearchRole

public class GPSearchRole
extends Object


Field Summary
static GPSearchRole SEARCH_ROLE_ADMINISTRATOR
          Search role.
static GPSearchRole SEARCH_ROLE_OVERSEER
          Search role.
static GPSearchRole SEARCH_ROLE_OWNER
          Search role.
 
Method Summary
 int getCode()
          Get the integer code of this search role.
static GPSearchRole getTypeForCode(int code)
          Get the GPSearchRole instance corresponding to a given code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEARCH_ROLE_ADMINISTRATOR

public static final GPSearchRole SEARCH_ROLE_ADMINISTRATOR
Search role.


SEARCH_ROLE_OWNER

public static final GPSearchRole SEARCH_ROLE_OWNER
Search role.


SEARCH_ROLE_OVERSEER

public static final GPSearchRole SEARCH_ROLE_OVERSEER
Search role.

Method Detail

getCode

public int getCode()
Get the integer code of this search role.

Returns:
the code

getTypeForCode

public static GPSearchRole getTypeForCode(int code)
                                   throws IllegalArgumentException
Get the GPSearchRole instance corresponding to a given code.

Parameters:
code - the integer code of a search role
Returns:
the GPSearchRole instance
Throws:
IllegalArgumentException - if the given code is not valid


Copyright 2006 SAP AG Complete Copyright Notice