public abstract class

AbstractAuxiliaryDatabaseObject

extends Object
implements AuxiliaryDatabaseObject
java.lang.Object
   ↳ org.hibernate.mapping.AbstractAuxiliaryDatabaseObject
Known Direct Subclasses

Class Overview

Convenience base class for AuxiliaryDatabaseObjects.

This implementation performs dialect scoping checks strictly based on dialect name comparisons. Custom implementations might want to do instanceof-type checks.

Summary

Protected Constructors
AbstractAuxiliaryDatabaseObject()
AbstractAuxiliaryDatabaseObject(HashSet dialectScopes)
Public Methods
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()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.mapping.AuxiliaryDatabaseObject
From interface org.hibernate.mapping.RelationalModel

Protected Constructors

protected AbstractAuxiliaryDatabaseObject ()

protected AbstractAuxiliaryDatabaseObject (HashSet dialectScopes)

Public Methods

public void addDialectScope (String dialectName)

Add the given dialect name to the scope of dialects to which this database object applies.

Parameters
dialectName The name of a dialect.

public boolean appliesToDialect (Dialect dialect)

Does this database object apply to the given dialect?

Parameters
dialect The dialect to check against.
Returns
  • True if this database object does apply to the given dialect.

public HashSet getDialectScopes ()