1 | public class IndexParentInfo extends DatabaseObjectInfo↵ | | 1 | public class TriggerParentInfo extends DatabaseObjectInfo↵
|
2 | {↵ | | 2 | {↵
|
3 | private static final long serialVersionUID = 1L;↵ | | 3 | private static final long serialVersionUID = 1L;↵
|
|
4 | public interface IPropertyNames {↵ | | 4 | public interface IPropertyNames {↵
|
5 | String SIMPLE_NAME = "simpleName";↵ | | 5 | String SIMPLE_NAME = "simpleName";↵
|
6 | String TABLE_INFO = "tableInfo";↵ | | 6 | String TABLE_INFO = "tableInfo";↵
|
7 | }↵ | | 7 | }↵
|
8 | ↵ | | 8 | ↵
|
9 | private final IDatabaseObjectInfo _tableInfo;↵ | | 9 | private final IDatabaseObjectInfo _tableInfo;↵
|
|
10 | public IndexParentInfo(IDatabaseObjectInfo tableInfo, ↵ | | 10 | public TriggerParentInfo(IDatabaseObjectInfo tableInfo, ↵
|
11 | String schema,↵ | | 11 | String schema,↵
|
12 | SQLDatabaseMetaData md)↵ | | 12 | SQLDatabaseMetaData md)↵
|
13 | throws SQLException↵ | | 13 | throws SQLException↵
|
14 | {↵ | | 14 | {↵
|
15 | super(tableInfo.getCatalogName(), ↵ | | 15 | super(tableInfo.getCatalogName(), ↵
|
16 | schema, ↵ | | 16 | schema, ↵
|
17 | "INDEX", ↵ | | 17 | "TRIGGER", ↵
|
18 | DatabaseObjectType.INDEX_TYPE_DBO, ↵ | | 18 | DatabaseObjectType.TRIGGER_TYPE_DBO, ↵
|
19 | md);↵ | | 19 | md);↵
|
20 | _tableInfo = tableInfo;↵ | | 20 | _tableInfo = tableInfo;↵
|
21 | }↵ | | 21 | }↵
|
|
22 | public IDatabaseObjectInfo getTableInfo()↵ | | 22 | public IDatabaseObjectInfo getTableInfo()↵
|
23 | {↵ | | 23 | {↵
|
24 | return _tableInfo;↵ | | 24 | return _tableInfo;↵
|
25 | | | 25 |
|