01: package net.sourceforge.squirrel_sql.plugins.userscript.kernel;
02:
03: public class ScriptTarget {
04: public static final String DB_OBJECT_TYPE_TABLE = "TABLE";
05: public static final String DB_OBJECT_TYPE_VIEW = "VIEW";
06: public static final String DB_OBJECT_TYPE_PROCEDURE = "PROCEDURE";
07: public static final String DB_OBJECT_TYPE_CONNECTION = "CONNECTION";
08: public static final String DB_OBJECT_TYPE_SQL_STATEMENT = "SQL";
09:
10: private String m_targetInfo;
11: private String m_targetType;
12:
13: public ScriptTarget(String targetName, String targetType) {
14: m_targetInfo = targetName;
15: m_targetType = targetType;
16: }
17:
18: public String getTargetType() {
19: return m_targetType;
20: }
21:
22: public String getTargetInfo() {
23: return m_targetInfo;
24: }
25: }
|