-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathContainerProcessor.java
42 lines (39 loc) · 1.02 KB
/
ContainerProcessor.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package decodepcode;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
public abstract class ContainerProcessor
{
private String dBowner, tag;
private Connection JDBCconnection;
private PreparedStatement ps;
public void aboutToProcess() {}
public void finishedProcessing() {}
abstract public void process( PeopleCodeObject c) throws IOException;
abstract public void processSQL( SQLobject sql) throws IOException;
abstract public void processCONT(CONTobject cont) throws IOException;
public String getDBowner() {
return dBowner;
}
public void setDBowner(String dBowner) {
this.dBowner = dBowner;
}
public Connection getJDBCconnection() {
return JDBCconnection;
}
public void setJDBCconnection(Connection jDBCconnection) {
JDBCconnection = jDBCconnection;
}
public String getTag() {
return tag;
}
public void setTag( String _tag){
tag = _tag;
}
public PreparedStatement getPs() {
return ps;
}
public void setPs(PreparedStatement ps) {
this.ps = ps;
}
}