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(Set<String> dialectScopes) |
Modifier and Type | Method and Description |
---|---|
void |
addDialectScope(String dialectName) |
boolean |
appliesToDialect(Dialect dialect)
Does this database object apply to the given dialect?
|
Iterable<String> |
getDialectScopes() |
String |
getExportIdentifier()
Get a unique identifier to make sure we are not exporting the same database structure multiple times.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sqlCreateStrings, sqlDropStrings
public void addDialectScope(String dialectName)
public boolean appliesToDialect(Dialect dialect)
AuxiliaryDatabaseObject
appliesToDialect
in interface AuxiliaryDatabaseObject
dialect
- The dialect to check against.public String getExportIdentifier()
Exportable
getExportIdentifier
in interface Exportable
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.