fcmodeler.pathbinder
Class PmidFilter
java.lang.Object
edu.iastate.jtm.gui.DefaultMonitorable
fcmodeler.pathbinder.PmidFilter
- All Implemented Interfaces:
- Monitorable
public class PmidFilter
- extends DefaultMonitorable
Take care of creating temporary filter table.
- Author:
- Jing Ding
fcmodeler.pathbinder
MetNet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PmidFilter
public PmidFilter(MySqlConnector db)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
addTaxEntry
public void addTaxEntry(FilterEntry newEntry)
- Add a tax_id to the filter. If a parent of the tax_id is already in the filter,
do nothing. If some children are in the filter, remove them.
- Parameters:
left - left_id of the tax_id.right - right_id of the tax_id.
setFilterTaxonomy
public void setFilterTaxonomy(boolean f)
getFilterTaxonomy
public boolean getFilterTaxonomy()
finalTableName
public java.lang.String finalTableName()
getFilterCount
public int getFilterCount()
updateFilterTable
public int updateFilterTable(boolean predefined,
java.util.Set locations)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
clearFilter
public void clearFilter()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
createPredefinedTable
public void createPredefinedTable()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
main
public static void main(java.lang.String[] args)