public abstract class AbstractAuxiliaryDatabaseObject extends Object implements AuxiliaryDatabaseObject
AuxiliaryDatabaseObject
s.
This implementation performs dialect scoping checks strictly based on
dialect name comparisons. Custom implementations might want to do
instanceof-type checks.Modifier | Constructor and Description |
---|---|
protected |
AbstractAuxiliaryDatabaseObject() |
protected |
AbstractAuxiliaryDatabaseObject(HashSet dialectScopes) |
Modifier and Type | Method and Description |
---|---|
void |
addDialectScope(String dialectName)
Add the given dialect name to the scope of dialects to which
this database object applies.
|
boolean |
appliesToDialect(Dialect dialect)
Does this database object apply to the given dialect?
|
HashSet |
getDialectScopes() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sqlCreateString, sqlDropString
protected AbstractAuxiliaryDatabaseObject()
protected AbstractAuxiliaryDatabaseObject(HashSet dialectScopes)
public void addDialectScope(String dialectName)
AuxiliaryDatabaseObject
addDialectScope
in interface AuxiliaryDatabaseObject
dialectName
- The name of a dialect.public HashSet getDialectScopes()
public boolean appliesToDialect(Dialect dialect)
AuxiliaryDatabaseObject
appliesToDialect
in interface AuxiliaryDatabaseObject
dialect
- The dialect to check against.Copyright © 2018 JBoss by Red Hat. All rights reserved.