|
|||||||||
| 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 SmartClient, 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 SmartGWT SQL engine for persistence, set
dataSource.serverType to "sql", and see
the instructions on
SqlDataSource.
| Enum Constant Summary | |
|---|---|
GENERIC
Throws an error if dsRequest.execute() is called. |
|
HIBERNATE
Saves via Hibernate, by automatically generating a Hibernate configuration based on a SmartClient DataSource file (dataSourceID.ds.xml). |
|
SQL
Uses SmartGWT's 'built-in SQL connectors' to talk
to
relational databases. |
|
| Method Summary | |
|---|---|
String |
getValue()
|
static DSServerType |
valueOf(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(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getValue()
getValue in interface ValueEnum
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||