Package org.hibernate.mapping
Class Join
java.lang.Object
org.hibernate.mapping.Join
- All Implemented Interfaces:
Serializable,AttributeContainer
A mapping model object representing some sort of auxiliary table, for
example, an association table,
a secondary table, or a
table belonging to a joined subclass.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMappedSuperclassProperty(Property property) voidaddProperty(Property property) Add a property to thisPersistentClassorJoin.booleanbooleancontainsProperty(Property property) voidvoidvoidSupplier<? extends Expectation> Supplier<? extends Expectation> getKey()intgetTable()Supplier<? extends Expectation> booleanbooleanbooleanbooleanbooleanisLazy()booleanvoidsetCustomSQLDelete(String customSQLDelete, boolean callable, ExecuteUpdateResultCheckStyle checkStyle) voidsetCustomSQLInsert(String customSQLInsert, boolean callable, ExecuteUpdateResultCheckStyle checkStyle) voidsetCustomSQLUpdate(String customSQLUpdate, boolean callable, ExecuteUpdateResultCheckStyle checkStyle) voidsetDeleteExpectation(Supplier<? extends Expectation> deleteExpectation) voidsetInsertExpectation(Supplier<? extends Expectation> insertExpectation) voidsetInverse(boolean leftJoin) voidvoidsetOptional(boolean nullable) voidsetPersistentClass(PersistentClass persistentClass) voidvoidsetUpdateExpectation(Supplier<? extends Expectation> updateExpectation) toString()
-
Constructor Details
-
Join
public Join()
-
-
Method Details
-
addProperty
Description copied from interface:AttributeContainerAdd a property to thisPersistentClassorJoin.- Specified by:
addPropertyin interfaceAttributeContainer
-
contains
- Specified by:
containsin interfaceAttributeContainer
-
addMappedSuperclassProperty
-
getDeclaredProperties
-
getProperties
-
containsProperty
-
getTable
- Specified by:
getTablein interfaceAttributeContainer
-
setTable
-
getKey
-
setKey
-
getPersistentClass
-
setPersistentClass
-
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
-
isCustomInsertCallable
public boolean isCustomInsertCallable() -
setCustomSQLUpdate
public void setCustomSQLUpdate(String customSQLUpdate, boolean callable, ExecuteUpdateResultCheckStyle checkStyle) -
getCustomSQLUpdate
-
isCustomUpdateCallable
public boolean isCustomUpdateCallable() -
setCustomSQLDelete
public void setCustomSQLDelete(String customSQLDelete, boolean callable, ExecuteUpdateResultCheckStyle checkStyle) -
getCustomSQLDelete
-
isCustomDeleteCallable
public boolean isCustomDeleteCallable() -
isInverse
public boolean isInverse() -
setInverse
public void setInverse(boolean leftJoin) -
toString
-
isLazy
public boolean isLazy() -
isOptional
public boolean isOptional() -
setOptional
public void setOptional(boolean nullable) -
getInsertExpectation
-
setInsertExpectation
-
getUpdateExpectation
-
setUpdateExpectation
-
getDeleteExpectation
-
setDeleteExpectation
-