org.hibernate.cfg.reveng
Class TableFilter

java.lang.Object
  extended by org.hibernate.cfg.reveng.TableFilter

public class TableFilter
extends Object

A tablefilter that can tell if a TableIdentifier is included or excluded. Note that all matching is case sensitive since many db's are.

Author:
max

Nested Class Summary
static class TableFilter.Matcher
           
 
Constructor Summary
TableFilter()
           
 
Method Summary
 Boolean exclude(TableIdentifier identifier)
           
 Boolean getExclude()
           
 String getMatchCatalog()
           
 String getMatchName()
           
 String getMatchSchema()
           
 Map getMetaAttributes(TableIdentifier identifier)
           
 String getPackage(TableIdentifier identifier)
           
 void setExclude(Boolean bool)
           
 void setMatchCatalog(String matchCatalog)
           
 void setMatchName(String matchName)
           
 void setMatchSchema(String matchSchema)
           
 void setMetaAttributes(Map metaAttributes)
           
 void setPackage(String string)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableFilter

public TableFilter()
Method Detail

setMatchCatalog

public void setMatchCatalog(String matchCatalog)

setMatchSchema

public void setMatchSchema(String matchSchema)

setMatchName

public void setMatchName(String matchName)

exclude

public Boolean exclude(TableIdentifier identifier)
Returns:
null if filter does not affect this identifier, true/false if it does.

setExclude

public void setExclude(Boolean bool)

getPackage

public String getPackage(TableIdentifier identifier)

setPackage

public void setPackage(String string)

toString

public String toString()
Overrides:
toString in class Object

getMatchCatalog

public String getMatchCatalog()

getMatchSchema

public String getMatchSchema()

getMatchName

public String getMatchName()

getExclude

public Boolean getExclude()

getMetaAttributes

public Map getMetaAttributes(TableIdentifier identifier)

setMetaAttributes

public void setMetaAttributes(Map metaAttributes)