Enum DSServerType
- All Implemented Interfaces:
- ValueEnum,- Serializable,- Comparable<DSServerType>,- Constable
 If
 you use a Java-based persistence layer not provided by Smart GWT, such as EJB or your own custom object model, you don't
 need to set dataSource.serverType and should follow the integration instructions.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionRequests will be delivered to the server and you are expected to write Java code to create a valid response.Use Hibernate, either using a real mapped bean or by automatically generating a Hibernate configuration based on a Smart GWT DataSource file (dataSourceID.ds.xml).Use Smart GWT's built-in JPA 2.0 connector.Use Smart GWT's built-in JPA 1.0 connector.Use Smart GWT's built-inOData DataSource.Requests will be delivered to the server and processed asFileSource operations, using directories or other DataSources which you configure viaDataSource.projectFileKeyorDataSource.projectFileLocationsUse Smart GWT's built-inRestConnector, which can connect to many different types of REST webserviceUse Smart GWT'sbuilt-in SQL connectorsto talk directly to relational databases.Use Smart GWT's built-inunionDataSource, which assimilates records from multiple member dataSources
- 
Method SummaryModifier and TypeMethodDescriptiongetValue()static DSServerTypeReturns 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.
- 
Enum Constant Details- 
SQLUse Smart GWT'sbuilt-in SQL connectorsto talk directly to relational databases.If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "sql".
- 
HIBERNATEUse Hibernate, either using a real mapped bean or by automatically generating a Hibernate configuration based on a Smart GWT DataSource file (dataSourceID.ds.xml). SeeHibernateIntegrationfor details.If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "hibernate".
- 
JPAUse Smart GWT's built-in JPA 2.0 connector.If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "jpa".
- 
JPA1Use Smart GWT's built-in JPA 1.0 connector.If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "jpa1".
- 
RESTUse Smart GWT's built-inRestConnector, which can connect to many different types of REST webserviceIf this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "rest".
- 
ODATAUse Smart GWT's built-inOData DataSource. This is a specialized subclass of theRestConnectorwhich adds functionality for REST webservices that follow the OData protocolIf this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "odata".
- 
GENERICRequests will be delivered to the server and you are expected to write Java code to create a valid response. Throws an error if the server side method dsRequest.execute() is called. This is appropriate if you intend an entirely custom implementation, and you want an error thrown if there is an attempt to call an operation you have not implemented.If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "generic".
- 
PROJECTFILERequests will be delivered to the server and processed asFileSource operations, using directories or other DataSources which you configure viaDataSource.projectFileKeyorDataSource.projectFileLocationsIf this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "projectFile".
- 
UNIONUse Smart GWT's built-inunionDataSource, which assimilates records from multiple member dataSourcesIf this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "union".
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns 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:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getValue
 
-