org.opennms.netmgt.dao.db
Class Trigger
java.lang.Object
org.opennms.netmgt.dao.db.Trigger
public class Trigger
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Trigger
public Trigger(String name,
String table,
String storedProcedure,
String sql)
findTriggerInString
public static Trigger findTriggerInString(String create)
isOnDatabase
public boolean isOnDatabase(Connection connection)
throws SQLException
- Throws:
SQLException
removeFromDatabase
public void removeFromDatabase(Connection connection)
throws SQLException
- Throws:
SQLException
addToDatabase
public void addToDatabase(Connection connection)
throws SQLException
- Throws:
SQLException
getName
public String getName()
getSql
public String getSql()
getStoredProcedure
public String getStoredProcedure()
getTable
public String getTable()
Copyright © 2009. All Rights Reserved.