Package org.hibernate.envers.boot.model
Class Join
- java.lang.Object
-
- org.hibernate.envers.boot.model.Join
-
- All Implemented Interfaces:
AttributeContainer
,Bindable<JaxbHbmSecondaryTableType>
public class Join extends Object implements AttributeContainer, Bindable<JaxbHbmSecondaryTableType>
Contract that represents a secondary table join that is part of an entity hierarchy.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttribute(Attribute attribute)
Add an attribute to the container.void
addKeyColumn(Column keyColumn)
void
addKeyColumnsFromValue(Value value)
JaxbHbmSecondaryTableType
build()
Builds the specified binded class type.void
setCatalog(String catalog)
void
setInverse(boolean inverse)
void
setOptional(boolean optional)
void
setSchema(String schema)
void
setTable(String tableName)
-
-
-
Method Detail
-
addAttribute
public void addAttribute(Attribute attribute)
Description copied from interface:AttributeContainer
Add an attribute to the container.- Specified by:
addAttribute
in interfaceAttributeContainer
- Parameters:
attribute
- the attribute, should not benull
-
setTable
public void setTable(String tableName)
-
setSchema
public void setSchema(String schema)
-
setCatalog
public void setCatalog(String catalog)
-
setOptional
public void setOptional(boolean optional)
-
setInverse
public void setInverse(boolean inverse)
-
addKeyColumn
public void addKeyColumn(Column keyColumn)
-
addKeyColumnsFromValue
public void addKeyColumnsFromValue(Value value)
-
build
public JaxbHbmSecondaryTableType build()
Description copied from interface:Bindable
Builds the specified binded class type.- Specified by:
build
in interfaceBindable<JaxbHbmSecondaryTableType>
- Returns:
- instance of the bindable class type, never
null
-
-