01: package com.mockrunner.example.connector;
02:
03: import javax.resource.cci.InteractionSpec;
04:
05: /**
06: * <code>InteractionSpec</code> which can be used to call a
07: * database stored procedure through CCI.
08: */
09: public class CCIInteractionSpec implements InteractionSpec {
10: private String functionName;
11: private String schema;
12: private String catalog;
13:
14: public String getCatalog() {
15: return catalog;
16: }
17:
18: public void setCatalog(String catalog) {
19: this .catalog = catalog;
20: }
21:
22: public String getFunctionName() {
23: return functionName;
24: }
25:
26: public void setFunctionName(String functionName) {
27: this .functionName = functionName;
28: }
29:
30: public String getSchema() {
31: return schema;
32: }
33:
34: public void setSchema(String schema) {
35: this.schema = schema;
36: }
37: }
|