com.sap.mdm.session
Class SessionTypes

java.lang.Object
  extended bycom.sap.mdm.session.SessionTypes

public class SessionTypes
extends Object

Enumerations specifying session types


Field Summary
static int NON_SESSION_TYPE
           
static String REPOSITORY_SESSION_NAME
           
static int REPOSITORY_SESSION_TYPE
           
static String SERVER_SESSION_NAME
           
static int SERVER_SESSION_TYPE
           
static String UNKNOWN_SESSION_NAME
           
static int UNKNOWN_SESSION_TYPE
           
static String USER_SESSION_NAME
           
static int USER_SESSION_TYPE
           
 
Constructor Summary
SessionTypes()
           
 
Method Summary
static int getSessionType(String sessionTypeName)
          Convert name of session type to session type
static String getSessionTypeName(int sessionType)
          Convert session type to session name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN_SESSION_TYPE

public static final int UNKNOWN_SESSION_TYPE
See Also:
Constant Field Values

NON_SESSION_TYPE

public static final int NON_SESSION_TYPE
See Also:
Constant Field Values

SERVER_SESSION_TYPE

public static final int SERVER_SESSION_TYPE
See Also:
Constant Field Values

REPOSITORY_SESSION_TYPE

public static final int REPOSITORY_SESSION_TYPE
See Also:
Constant Field Values

USER_SESSION_TYPE

public static final int USER_SESSION_TYPE
See Also:
Constant Field Values

UNKNOWN_SESSION_NAME

public static final String UNKNOWN_SESSION_NAME
See Also:
Constant Field Values

SERVER_SESSION_NAME

public static final String SERVER_SESSION_NAME
See Also:
Constant Field Values

REPOSITORY_SESSION_NAME

public static final String REPOSITORY_SESSION_NAME
See Also:
Constant Field Values

USER_SESSION_NAME

public static final String USER_SESSION_NAME
See Also:
Constant Field Values
Constructor Detail

SessionTypes

public SessionTypes()
Method Detail

getSessionTypeName

public static String getSessionTypeName(int sessionType)
Convert session type to session name

Parameters:
sessionType - session type
Returns:
session name

getSessionType

public static int getSessionType(String sessionTypeName)
Convert name of session type to session type

Parameters:
sessionTypeName - session type name
Returns:
session type


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.