|
com.im.commons.db 5.9.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.im.commons.db.ddl.DBTriggerInfo
public class DBTriggerInfo
why getCalogName() and getSchemaName() - are not these given by parent DFTableInfo? I thought DFTriggerInfo instances are obtained from table, so parent of table (schema, catalog) is given this way. - [LUK]: The information comes from trigger/tables repositories. It is not clear whether we have 100% guarantee it will be always same
| Nested Class Summary | |
|---|---|
static class |
DBTriggerInfo.TriggerEventType
I - insert (fired while inserting new row), U - update (fired while updating existing row), D - delete, and combinations |
static class |
DBTriggerInfo.TriggerFiringType
when: A - after update/insert action, B - before |
static class |
DBTriggerInfo.TriggerProperty
Optional attributes of trigger, which are loaded from db metadata repositories. |
| Constructor Summary | |
|---|---|
DBTriggerInfo()
|
|
DBTriggerInfo(String calogName,
String qualifiedName,
String schemaName,
String simpleName,
String source,
DBTriggerInfo.TriggerFiringType firingType,
DBTriggerInfo.TriggerEventType event,
String tableName,
Map<DBTriggerInfo.TriggerProperty,String> properties)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getCalogName()
|
DBTriggerInfo.TriggerEventType |
getEvent()
|
DBTriggerInfo.TriggerFiringType |
getFiringType()
|
Map<DBTriggerInfo.TriggerProperty,String> |
getProperties()
|
String |
getQualifiedName()
|
String |
getSchemaName()
|
String |
getSimpleName()
|
String |
getSource()
|
String |
getTableName()
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DBTriggerInfo()
public DBTriggerInfo(String calogName,
String qualifiedName,
String schemaName,
String simpleName,
String source,
DBTriggerInfo.TriggerFiringType firingType,
DBTriggerInfo.TriggerEventType event,
String tableName,
Map<DBTriggerInfo.TriggerProperty,String> properties)
| Method Detail |
|---|
public String getCalogName()
public String getQualifiedName()
public String getSchemaName()
public String getSimpleName()
public String getSource()
public String getTableName()
public Map<DBTriggerInfo.TriggerProperty,String> getProperties()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic DBTriggerInfo.TriggerFiringType getFiringType()
public DBTriggerInfo.TriggerEventType getEvent()
|
com.im.commons.db 5.9.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||