Package org.hibernate.mapping
Class Join
- java.lang.Object
- org.hibernate.mapping.Join
- All Implemented Interfaces:
Serializable,AttributeContainer
public classJoinextendsObjectimplementsAttributeContainer,Serializable
A mapping model object representing some sort of auxiliary table, for example, anassociation table, asecondary table, or a table belonging to ajoined subclass.- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description Join()
Method Summary
Method Detail
addProperty
public void addProperty(Property property)
Description copied from interface:AttributeContainerAdd a property to thisPersistentClassorJoin.- Specified by:
addPropertyin interfaceAttributeContainer
contains
public boolean contains(Property property)
- Specified by:
containsin interfaceAttributeContainer
addMappedSuperclassProperty
public void addMappedSuperclassProperty(Property property)
containsProperty
public boolean containsProperty(Property property)
getPropertyIterator
@Deprecated(since="6.0")public Iterator<Property> getPropertyIterator()
Deprecated.
getTable
public Table getTable()
- Specified by:
getTablein interfaceAttributeContainer
setTable
public void setTable(Table table)
getKey
public KeyValue getKey()
setKey
public void setKey(KeyValue key)
getPersistentClass
public PersistentClass getPersistentClass()
setPersistentClass
public void setPersistentClass(PersistentClass persistentClass)
disableForeignKeyCreation
public void disableForeignKeyCreation()
createForeignKey
public void createForeignKey()
createPrimaryKey
public void createPrimaryKey()
getPropertySpan
public int getPropertySpan()
setCustomSQLInsert
public void setCustomSQLInsert(String customSQLInsert, boolean callable,ExecuteUpdateResultCheckStyle checkStyle)
getCustomSQLInsert
public String getCustomSQLInsert()
isCustomInsertCallable
public boolean isCustomInsertCallable()
getCustomSQLInsertCheckStyle
@Deprecated(since="6.5",forRemoval=true)public ExecuteUpdateResultCheckStyle getCustomSQLInsertCheckStyle()
Deprecated, for removal: This API element is subject to removal in a future version.
setCustomSQLUpdate
public void setCustomSQLUpdate(String customSQLUpdate, boolean callable,ExecuteUpdateResultCheckStyle checkStyle)
getCustomSQLUpdate
public String getCustomSQLUpdate()
isCustomUpdateCallable
public boolean isCustomUpdateCallable()
getCustomSQLUpdateCheckStyle
@Deprecated(since="6.5",forRemoval=true)public ExecuteUpdateResultCheckStyle getCustomSQLUpdateCheckStyle()
Deprecated, for removal: This API element is subject to removal in a future version.
setCustomSQLDelete
public void setCustomSQLDelete(String customSQLDelete, boolean callable,ExecuteUpdateResultCheckStyle checkStyle)
getCustomSQLDelete
public String getCustomSQLDelete()
isCustomDeleteCallable
public boolean isCustomDeleteCallable()
getCustomSQLDeleteCheckStyle
@Deprecated(since="6.5",forRemoval=true)public ExecuteUpdateResultCheckStyle getCustomSQLDeleteCheckStyle()
Deprecated, for removal: This API element is subject to removal in a future version.
isInverse
public boolean isInverse()
setInverse
public void setInverse(boolean leftJoin)
isLazy
public boolean isLazy()
isOptional
public boolean isOptional()
setOptional
public void setOptional(boolean nullable)
getInsertExpectation
public Supplier<? extendsExpectation> getInsertExpectation()
setInsertExpectation
public void setInsertExpectation(Supplier<? extendsExpectation> insertExpectation)
getUpdateExpectation
public Supplier<? extendsExpectation> getUpdateExpectation()
setUpdateExpectation
public void setUpdateExpectation(Supplier<? extendsExpectation> updateExpectation)
getDeleteExpectation
public Supplier<? extendsExpectation> getDeleteExpectation()
setDeleteExpectation
public void setDeleteExpectation(Supplier<? extendsExpectation> deleteExpectation)