Class RelationalValueSourceHelper.AbstractColumnsAndFormulasSource
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.RelationalValueSourceHelper.AbstractColumnsAndFormulasSource
-
- All Implemented Interfaces:
RelationalValueSourceHelper.ColumnsAndFormulasSource
- Direct Known Subclasses:
BasicAttributeColumnsAndFormulasSource
,ManyToOneAttributeColumnsAndFormulasSource
- Enclosing class:
- RelationalValueSourceHelper
public abstract static class RelationalValueSourceHelper.AbstractColumnsAndFormulasSource extends Object implements RelationalValueSourceHelper.ColumnsAndFormulasSource
-
-
Constructor Summary
Constructors Constructor Description AbstractColumnsAndFormulasSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColumnAttribute()
Access to any column defined via XML attribute.List
getColumnOrFormulaElements()
Access to any nested<column/>
or<formula />
XML elements.String
getFormulaAttribute()
Access to any formula defined via XML attribute.Set<String>
getIndexConstraintNames()
SizeSource
getSizeSource()
Set<String>
getUniqueKeyConstraintNames()
Boolean
isNullable()
boolean
isUnique()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.boot.model.source.internal.hbm.RelationalValueSourceHelper.ColumnsAndFormulasSource
getSourceName, getSourceType
-
-
-
-
Method Detail
-
getFormulaAttribute
public String getFormulaAttribute()
Description copied from interface:RelationalValueSourceHelper.ColumnsAndFormulasSource
Access to any formula defined via XML attribute.- Specified by:
getFormulaAttribute
in interfaceRelationalValueSourceHelper.ColumnsAndFormulasSource
- Returns:
- formula, if one, as defined via XML attribute.
-
getColumnAttribute
public String getColumnAttribute()
Description copied from interface:RelationalValueSourceHelper.ColumnsAndFormulasSource
Access to any column defined via XML attribute.- Specified by:
getColumnAttribute
in interfaceRelationalValueSourceHelper.ColumnsAndFormulasSource
- Returns:
- column, if one, as defined via XML attribute.
-
getColumnOrFormulaElements
public List getColumnOrFormulaElements()
Description copied from interface:RelationalValueSourceHelper.ColumnsAndFormulasSource
Access to any nested<column/>
or<formula />
XML elements.- Specified by:
getColumnOrFormulaElements
in interfaceRelationalValueSourceHelper.ColumnsAndFormulasSource
- Returns:
- columns or formulas defined via nested XML elements.
-
getSizeSource
public SizeSource getSizeSource()
- Specified by:
getSizeSource
in interfaceRelationalValueSourceHelper.ColumnsAndFormulasSource
-
isNullable
public Boolean isNullable()
- Specified by:
isNullable
in interfaceRelationalValueSourceHelper.ColumnsAndFormulasSource
-
getIndexConstraintNames
public Set<String> getIndexConstraintNames()
- Specified by:
getIndexConstraintNames
in interfaceRelationalValueSourceHelper.ColumnsAndFormulasSource
-
isUnique
public boolean isUnique()
- Specified by:
isUnique
in interfaceRelationalValueSourceHelper.ColumnsAndFormulasSource
-
getUniqueKeyConstraintNames
public Set<String> getUniqueKeyConstraintNames()
- Specified by:
getUniqueKeyConstraintNames
in interfaceRelationalValueSourceHelper.ColumnsAndFormulasSource
-
-