|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBeanData
Provides access to the information that is collected by the New SQLJ File wizard. This information can be used to customize the code generated for the new SQLJ file.
Data Type | Field Name and Description |
---|---|
static int |
AUTHENTICATION_BY_CALLER Authentication is passed as parameters in generated code. |
static int |
AUTHENTICATION_IN_METHOD Authentication is hard-coded in generated code. |
Return Data Type | Method Name and Description |
---|---|
int |
getAuthenticationStyle() Returns a code that signifies how to handle user authentication for database access at run time. |
java.lang.String |
getClassName() Returns the Java class name of the new SQLJ file. |
java.lang.String[] |
getColMethodsNames() Returns unique names to use as method names to retrieve individual column data. |
ISQLFieldInfo[] |
getColumnInfo() Returns metadata about the columns that are contained in the SQL statement. |
java.lang.String |
getDataSourceName() Returns the JNDI name of the DataSource object to use to obtain the runtime database connection. |
java.lang.String |
getDriverName() Returns the name of the JDBC driver to use to connect to the database at run time. |
java.lang.String |
getJavaPackageName() Returns the name of the package in which the new SQLJ file should be stored. |
java.lang.String |
getJavaTypeForSql(int type) Returns the Java type for the specified SQL type. |
ISQLFieldInfo[] |
getParmInfo() Returns the information about the parameters that are contained in the SQL statement. |
java.lang.String |
getPassword() Returns the password to use to access the database at run time. |
java.lang.String |
getSQLStatementString() Returns the SQL statement that was specified in the New SQLJ File wizard. |
java.lang.String |
getURL() Returns the URL of the database to connect to at run time. |
java.lang.String |
getUserName() Returns the user ID to use to access the database at run time. |
boolean |
isUseDriverManager() Indicates whether to use a DriverManager object to obtain the run-time database connection. |
Field Detail |
---|
static final int AUTHENTICATION_IN_METHOD
static final int AUTHENTICATION_BY_CALLER
Method Detail |
---|
java.lang.String getJavaPackageName()
java.lang.String getClassName()
boolean isUseDriverManager()
DriverManager
object to obtain the run-time database connection.true
if the radio button is selected; otherwise, false
.java.lang.String getSQLStatementString()
ISQLFieldInfo[] getColumnInfo()
ISQLFieldInfo
that contains column information.ISQLFieldInfo
java.lang.String[] getColMethodsNames()
ISQLFieldInfo[] getParmInfo()
ISQLFieldInfo
that contains parameter information.ISQLFieldInfo
java.lang.String getJavaTypeForSql(int type)
ISQLFieldInfo.getType()
method.type
- an SQL type as defined in java.sql.TypesISQLFieldInfo.getType()
java.lang.String getDriverName()
java.lang.String getDataSourceName()
DataSource
object to use to obtain the runtime database connection.java.lang.String getURL()
int getAuthenticationStyle()
The int value returned is one of the two following authentication styles:
AUTHENTICATION_IN_METHOD
- authentication is hardcoded in method
AUTHENTICATION_BY_CALLER
- authentication is passed as parameters in method of the calling application
java.lang.String getUserName()
java.lang.String getPassword()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |