|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.core.ExtensionSupport com.tonbeller.jpivot.test.olap.TestSqlAccess
public class TestSqlAccess
Field Summary |
---|
Fields inherited from interface com.tonbeller.jpivot.param.SqlAccess |
---|
ID |
Constructor Summary | |
---|---|
TestSqlAccess()
|
Method Summary | |
---|---|
com.tonbeller.wcf.param.SessionParam |
createParameter(Member m,
java.lang.String paramName)
returns a parameter that describes the member. |
com.tonbeller.wcf.param.SessionParam |
createParameter(Member m,
java.lang.String paramName,
java.lang.String propertyName)
returns a parameter that describes the member. |
javax.sql.DataSource |
getDataSource()
returns the data source to access the database |
Methods inherited from class com.tonbeller.jpivot.core.ExtensionSupport |
---|
decorate, getId, getModel, modelInitialized, setId, setModel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.tonbeller.jpivot.core.Extension |
---|
decorate, getId, modelInitialized, setModel |
Constructor Detail |
---|
public TestSqlAccess()
Method Detail |
---|
public javax.sql.DataSource getDataSource()
SqlAccess
getDataSource
in interface SqlAccess
public com.tonbeller.wcf.param.SessionParam createParameter(Member m, java.lang.String paramName)
SqlAccess
createParameter
in interface SqlAccess
public com.tonbeller.wcf.param.SessionParam createParameter(Member m, java.lang.String paramName, java.lang.String propertyName)
SqlAccess
createParameter
in interface SqlAccess
m
- the memberparamName
- teh name of the new paramterpropertyName
- name of a member property whose value
will be used as sqlValue of the parameter. This may be used
in situations where the members key is for example "John Smith"
and the member property is the customer ID "123" which we want to use
in the SQL queries.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |