public static interface RelationalValueSourceHelper.ColumnsAndFormulasSource
Column
and Formula instances. It adapts the variances across
the different mappings which contribute column/formula information. For example,
consider the <property/> mapping which might have:column XML attributeformula XML attribute<column/> XML elements<formula/> XML element<timestamp/> mapping, which can only have:column XML attribute| Modifier and Type | Method and 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() |
String |
getSourceName()
The name of the source.
|
XmlElementMetadata |
getSourceType()
What kind of XML element does this information come from?
|
Set<String> |
getUniqueKeyConstraintNames() |
Boolean |
isNullable() |
boolean |
isUnique() |
XmlElementMetadata getSourceType()
String getSourceName()
null if none was specified. Will be treated
as null if the nature says it cannot be named.XmlElementMetadata.canBeNamed()String getFormulaAttribute()
List getColumnOrFormulaElements()
<column/> or <formula /> XML elements.String getColumnAttribute()
SizeSource getSizeSource()
Boolean isNullable()
boolean isUnique()
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.