|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<DSServerType>
com.smartgwt.client.types.DSServerType
public enum DSServerType
Indicates what the ISC server will do with a DataSource request if you call dsRequest.execute() in server code.
If
you use a Java-based persistence layer not provided by Smart GWT, such as Hibernate, EJB or your own custom object
model, you don't need to set dataSource.serverType and should follow the integration instructions.
If you want to use the Smart GWT SQL
engine for persistence, set dataSource.serverType to "sql", and see the instructions on SQL DataSources.
| Enum Constant Summary | |
|---|---|
GENERIC
Requests will be delivered to the server and you are expected to write Java code to create a valid response. |
|
HIBERNATE
Saves via Hibernate, by automatically generating a Hibernate configuration based on a Smart GWT DataSource file (dataSourceID.ds.xml). |
|
SQL
Uses Smart GWT's built-in SQL connectors to talk to relational databases. |
|
| Method Summary | |
|---|---|
java.lang.String |
getValue()
|
static DSServerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DSServerType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DSServerType HIBERNATE
HibernateIntegration for details.
public static final DSServerType SQL
built-in SQL connectors to talk to relational databases.
You can use this if your DataSource connects to a relational database table.
public static final DSServerType GENERIC
| Method Detail |
|---|
public static DSServerType[] values()
for (DSServerType c : DSServerType.values()) System.out.println(c);
public static DSServerType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getValue()
getValue in interface ValueEnum
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||