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

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

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

Provides the SAP HANA server types used to set the parameter DatabaseConnection.SAP_HANA_SERVER_TYPE.


Enum Constant Summary
MULTI_SERVER
          The SAP HANA server is a multi server.
SINGLE_SERVER
          The SAP HANA server is an single server.
 
Method Summary
static DatabaseConnection.HANAServerType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DatabaseConnection.HANAServerType[] 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

SINGLE_SERVER

public static final DatabaseConnection.HANAServerType SINGLE_SERVER
The SAP HANA server is an single server.


MULTI_SERVER

public static final DatabaseConnection.HANAServerType MULTI_SERVER
The SAP HANA server is a multi server.

Method Detail

values

public static DatabaseConnection.HANAServerType[] 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.HANAServerType c : DatabaseConnection.HANAServerType.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.HANAServerType 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.