Class Join

java.lang.Object
org.hibernate.mapping.Join
All Implemented Interfaces:
Serializable, AttributeContainer

public class Join extends Object implements AttributeContainer, Serializable
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 Details

    • Join

      public Join()
  • Method Details

    • addProperty

      public void addProperty(Property property)
      Description copied from interface: AttributeContainer
      Add a property to this PersistentClass or Join.
      Specified by:
      addProperty in interface AttributeContainer
    • contains

      public boolean contains(Property property)
      Specified by:
      contains in interface AttributeContainer
    • addMappedSuperclassProperty

      public void addMappedSuperclassProperty(Property property)
    • getDeclaredProperties

      public List<Property> getDeclaredProperties()
    • getProperties

      public List<Property> getProperties()
    • containsProperty

      public boolean containsProperty(Property property)
    • getTable

      public Table getTable()
      Specified by:
      getTable in interface AttributeContainer
    • 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()
    • setCustomSQLUpdate

      public void setCustomSQLUpdate(String customSQLUpdate, boolean callable, ExecuteUpdateResultCheckStyle checkStyle)
    • getCustomSQLUpdate

      public String getCustomSQLUpdate()
    • isCustomUpdateCallable

      public boolean isCustomUpdateCallable()
    • setCustomSQLDelete

      public void setCustomSQLDelete(String customSQLDelete, boolean callable, ExecuteUpdateResultCheckStyle checkStyle)
    • getCustomSQLDelete

      public String getCustomSQLDelete()
    • isCustomDeleteCallable

      public boolean isCustomDeleteCallable()
    • isInverse

      public boolean isInverse()
    • setInverse

      public void setInverse(boolean leftJoin)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isLazy

      public boolean isLazy()
    • isOptional

      public boolean isOptional()
    • setOptional

      public void setOptional(boolean nullable)
    • getInsertExpectation

      public Supplier<? extends Expectation> getInsertExpectation()
    • setInsertExpectation

      public void setInsertExpectation(Supplier<? extends Expectation> insertExpectation)
    • getUpdateExpectation

      public Supplier<? extends Expectation> getUpdateExpectation()
    • setUpdateExpectation

      public void setUpdateExpectation(Supplier<? extends Expectation> updateExpectation)
    • getDeleteExpectation

      public Supplier<? extends Expectation> getDeleteExpectation()
    • setDeleteExpectation

      public void setDeleteExpectation(Supplier<? extends Expectation> deleteExpectation)