org.hibernate.cfg.reveng
Class TableFilter
java.lang.Object
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
TableFilter
public TableFilter()
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)