类 ManyToOneAttributeColumnsAndFormulasSource
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.RelationalValueSourceHelper.AbstractColumnsAndFormulasSource
-
- org.hibernate.boot.model.source.internal.hbm.ManyToOneAttributeColumnsAndFormulasSource
-
public class ManyToOneAttributeColumnsAndFormulasSource extends RelationalValueSourceHelper.AbstractColumnsAndFormulasSource
ColumnAndFormulaSource implementation handling many-to-one attribute mappings.- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 ManyToOneAttributeColumnsAndFormulasSource(JaxbHbmManyToOneType manyToOneMapping)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetColumnAttribute()Access to any column defined via XML attribute.ListgetColumnOrFormulaElements()Access to any nested<column/>or<formula />XML elements.StringgetFormulaAttribute()Access to any formula defined via XML attribute.Set<String>getIndexConstraintNames()StringgetSourceName()The name of the source.XmlElementMetadatagetSourceType()What kind of XML element does this information come from?Set<String>getUniqueKeyConstraintNames()BooleanisNullable()booleanisUnique()-
从类继承的方法 org.hibernate.boot.model.source.internal.hbm.RelationalValueSourceHelper.AbstractColumnsAndFormulasSource
getSizeSource
-
-
-
-
构造器详细资料
-
ManyToOneAttributeColumnsAndFormulasSource
public ManyToOneAttributeColumnsAndFormulasSource(JaxbHbmManyToOneType manyToOneMapping)
-
-
方法详细资料
-
getSourceType
public XmlElementMetadata getSourceType()
What kind of XML element does this information come from?- 返回:
- The source XML element type
-
getSourceName
public String getSourceName()
The name of the source. May benullif none was specified. Will be treated asnullif the nature says it cannot be named.- 返回:
- The name of the source.
- 另请参阅:
XmlElementMetadata.canBeNamed()
-
getFormulaAttribute
public String getFormulaAttribute()
Access to any formula defined via XML attribute.- 指定者:
getFormulaAttribute在接口中RelationalValueSourceHelper.ColumnsAndFormulasSource- 覆盖:
getFormulaAttribute在类中RelationalValueSourceHelper.AbstractColumnsAndFormulasSource- 返回:
- formula, if one, as defined via XML attribute.
-
getColumnAttribute
public String getColumnAttribute()
Access to any column defined via XML attribute.- 指定者:
getColumnAttribute在接口中RelationalValueSourceHelper.ColumnsAndFormulasSource- 覆盖:
getColumnAttribute在类中RelationalValueSourceHelper.AbstractColumnsAndFormulasSource- 返回:
- column, if one, as defined via XML attribute.
-
getColumnOrFormulaElements
public List getColumnOrFormulaElements()
Access to any nested<column/>or<formula />XML elements.- 指定者:
getColumnOrFormulaElements在接口中RelationalValueSourceHelper.ColumnsAndFormulasSource- 覆盖:
getColumnOrFormulaElements在类中RelationalValueSourceHelper.AbstractColumnsAndFormulasSource- 返回:
- columns or formulas defined via nested XML elements.
-
isNullable
public Boolean isNullable()
-
isUnique
public boolean isUnique()
-
-