public class ManyToOneAttributeColumnsAndFormulasSource extends RelationalValueSourceHelper.AbstractColumnsAndFormulasSource
Constructor and Description |
---|
ManyToOneAttributeColumnsAndFormulasSource(JaxbHbmManyToOneType manyToOneMapping) |
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() |
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() |
getSizeSource
public ManyToOneAttributeColumnsAndFormulasSource(JaxbHbmManyToOneType manyToOneMapping)
public XmlElementMetadata getSourceType()
RelationalValueSourceHelper.ColumnsAndFormulasSource
public String getSourceName()
RelationalValueSourceHelper.ColumnsAndFormulasSource
null
if none was specified. Will be treated
as null
if the nature says it cannot be named.XmlElementMetadata.canBeNamed()
public String getFormulaAttribute()
RelationalValueSourceHelper.ColumnsAndFormulasSource
getFormulaAttribute
in interface RelationalValueSourceHelper.ColumnsAndFormulasSource
getFormulaAttribute
in class RelationalValueSourceHelper.AbstractColumnsAndFormulasSource
public String getColumnAttribute()
RelationalValueSourceHelper.ColumnsAndFormulasSource
getColumnAttribute
in interface RelationalValueSourceHelper.ColumnsAndFormulasSource
getColumnAttribute
in class RelationalValueSourceHelper.AbstractColumnsAndFormulasSource
public List getColumnOrFormulaElements()
RelationalValueSourceHelper.ColumnsAndFormulasSource
<column/>
or <formula />
XML elements.getColumnOrFormulaElements
in interface RelationalValueSourceHelper.ColumnsAndFormulasSource
getColumnOrFormulaElements
in class RelationalValueSourceHelper.AbstractColumnsAndFormulasSource
public Boolean isNullable()
isNullable
in interface RelationalValueSourceHelper.ColumnsAndFormulasSource
isNullable
in class RelationalValueSourceHelper.AbstractColumnsAndFormulasSource
public Set<String> getIndexConstraintNames()
getIndexConstraintNames
in interface RelationalValueSourceHelper.ColumnsAndFormulasSource
getIndexConstraintNames
in class RelationalValueSourceHelper.AbstractColumnsAndFormulasSource
public boolean isUnique()
isUnique
in interface RelationalValueSourceHelper.ColumnsAndFormulasSource
isUnique
in class RelationalValueSourceHelper.AbstractColumnsAndFormulasSource
public Set<String> getUniqueKeyConstraintNames()
getUniqueKeyConstraintNames
in interface RelationalValueSourceHelper.ColumnsAndFormulasSource
getUniqueKeyConstraintNames
in class RelationalValueSourceHelper.AbstractColumnsAndFormulasSource
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.