com.sap.sl.sdk.authoring.connection
Enum DatabaseConnection.SAPServerType

java.lang.Object
  extended by java.lang.Enum<DatabaseConnection.SAPServerType>
      extended by com.sap.sl.sdk.authoring.connection.DatabaseConnection.SAPServerType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DatabaseConnection.SAPServerType>
Enclosing interface:
DatabaseConnection

public static enum DatabaseConnection.SAPServerType
extends java.lang.Enum<DatabaseConnection.SAPServerType>

Provides the SAP server types used to set the parameter DatabaseConnection.SAP_SERVER_TYPE.


Enum Constant Summary
APPLICATION_SERVER
          The SAP server is an application server.
MESSAGE_SERVER
          The SAP server is a message server.
 
Method Summary
static DatabaseConnection.SAPServerType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DatabaseConnection.SAPServerType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

APPLICATION_SERVER

public static final DatabaseConnection.SAPServerType APPLICATION_SERVER
The SAP server is an application server.


MESSAGE_SERVER

public static final DatabaseConnection.SAPServerType MESSAGE_SERVER
The SAP server is a message server.

Method Detail

values

public static DatabaseConnection.SAPServerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DatabaseConnection.SAPServerType c : DatabaseConnection.SAPServerType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DatabaseConnection.SAPServerType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


© Copyright 2016 SAP SE or an SAP affiliate company. All rights reserved.