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 TypeMethodDescriptionvoid
addMappedSuperclassProperty
(Property property) void
addProperty
(Property property) Add a property to thisPersistentClass
orJoin
.boolean
boolean
containsProperty
(Property property) void
void
void
Supplier<? extends Expectation>
Supplier<? extends Expectation>
getKey()
int
getTable()
Supplier<? extends Expectation>
boolean
boolean
boolean
boolean
boolean
isLazy()
boolean
void
setCustomSQLDelete
(String customSQLDelete, boolean callable, ExecuteUpdateResultCheckStyle checkStyle) void
setCustomSQLInsert
(String customSQLInsert, boolean callable, ExecuteUpdateResultCheckStyle checkStyle) void
setCustomSQLUpdate
(String customSQLUpdate, boolean callable, ExecuteUpdateResultCheckStyle checkStyle) void
setDeleteExpectation
(Supplier<? extends Expectation> deleteExpectation) void
setInsertExpectation
(Supplier<? extends Expectation> insertExpectation) void
setInverse
(boolean leftJoin) void
void
setOptional
(boolean nullable) void
setPersistentClass
(PersistentClass persistentClass) void
void
setUpdateExpectation
(Supplier<? extends Expectation> updateExpectation) toString()
-
Constructor Details
-
Join
public Join()
-
-
Method Details
-
addProperty
Description copied from interface:AttributeContainer
Add a property to thisPersistentClass
orJoin
.- Specified by:
addProperty
in interfaceAttributeContainer
-
contains
- Specified by:
contains
in interfaceAttributeContainer
-
addMappedSuperclassProperty
-
getDeclaredProperties
-
getProperties
-
containsProperty
-
getTable
- Specified by:
getTable
in 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
-