接口 RelationalValueSourceHelper.ColumnsAndFormulasSource
-
- 所有已知实现类:
BasicAttributeColumnsAndFormulasSource,ManyToOneAttributeColumnsAndFormulasSource,RelationalValueSourceHelper.AbstractColumnsAndFormulasSource
public static interface RelationalValueSourceHelper.ColumnsAndFormulasSourceInternal unifying contract used in creatingColumnandFormulainstances. It adapts the variances across the different mappings which contribute column/formula information. For example, consider the<property/>mapping which might have:- a
columnXML attribute - a
formulaXML attribute - one or more nested
<column/>XML elements - a nested
<formula/>XML element
<timestamp/>mapping, which can only have:- a
columnXML attribute
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 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()SizeSourcegetSizeSource()StringgetSourceName()The name of the source.XmlElementMetadatagetSourceType()What kind of XML element does this information come from?Set<String>getUniqueKeyConstraintNames()BooleanisNullable()booleanisUnique()
-
-
-
方法详细资料
-
getSourceType
XmlElementMetadata getSourceType()
What kind of XML element does this information come from?- 返回:
- The source XML element type
-
getSourceName
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
String getFormulaAttribute()
Access to any formula defined via XML attribute.- 返回:
- formula, if one, as defined via XML attribute.
-
getColumnOrFormulaElements
List getColumnOrFormulaElements()
Access to any nested<column/>or<formula />XML elements.- 返回:
- columns or formulas defined via nested XML elements.
-
getColumnAttribute
String getColumnAttribute()
Access to any column defined via XML attribute.- 返回:
- column, if one, as defined via XML attribute.
-
getSizeSource
SizeSource getSizeSource()
-
isNullable
Boolean isNullable()
-
isUnique
boolean isUnique()
-
-