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 attributeModifier and Type | Method and Description |
---|---|
java.lang.String |
getColumnAttribute()
Access to any column defined via XML attribute.
|
java.util.List |
getColumnOrFormulaElements()
Access to any nested
<column/> or <formula /> XML elements. |
java.lang.String |
getFormulaAttribute()
Access to any formula defined via XML attribute.
|
java.util.Set<java.lang.String> |
getIndexConstraintNames() |
SizeSource |
getSizeSource() |
java.lang.String |
getSourceName()
The name of the source.
|
XmlElementMetadata |
getSourceType()
What kind of XML element does this information come from?
|
java.util.Set<java.lang.String> |
getUniqueKeyConstraintNames() |
java.lang.Boolean |
isNullable() |
boolean |
isUnique() |
XmlElementMetadata getSourceType()
java.lang.String getSourceName()
null
if none was specified. Will be treated
as null
if the nature says it cannot be named.XmlElementMetadata.canBeNamed()
java.lang.String getFormulaAttribute()
java.util.List getColumnOrFormulaElements()
<column/>
or <formula />
XML elements.java.lang.String getColumnAttribute()
SizeSource getSizeSource()
java.lang.Boolean isNullable()
boolean isUnique()
java.util.Set<java.lang.String> getIndexConstraintNames()
java.util.Set<java.lang.String> getUniqueKeyConstraintNames()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.