com.im.commons.db 5.9.2

com.im.commons.db.ddl
Class DBTriggerInfo

java.lang.Object
  extended by com.im.commons.db.ddl.DBTriggerInfo
All Implemented Interfaces:
Serializable

public class DBTriggerInfo
extends Object
implements Serializable

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

See Also:
Serialized Form

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

DBTriggerInfo

public DBTriggerInfo()

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

getCalogName

public String getCalogName()

getQualifiedName

public String getQualifiedName()

getSchemaName

public String getSchemaName()

getSimpleName

public String getSimpleName()

getSource

public String getSource()

getTableName

public String getTableName()

getProperties

public Map<DBTriggerInfo.TriggerProperty,String> getProperties()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getFiringType

public DBTriggerInfo.TriggerFiringType getFiringType()

getEvent

public DBTriggerInfo.TriggerEventType getEvent()

com.im.commons.db 5.9.2