java.lang.Object
io.ebeaninternal.server.deploy.BeanTable
Used for associated beans in place of a BeanDescriptor. This is done to avoid
recursion issues due to the potentially bi-directional and circular
relationships between beans.
It holds the main deployment information and not all the detail that is held in a BeanDescriptor.
-
Constructor Summary
ConstructorsConstructorDescriptionBeanTable(BeanDescriptorMap owner, String tableName, Class<?> beanType) Construct for element collection.BeanTable(DeployBeanTable mutable, BeanDescriptorMap owner) Create the BeanTable. -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateJoinColumn(String foreignKeyPrefix, DeployTableJoin join, boolean reverse, String sqlFormulaSelect) Return the base table for this BeanTable.Class<?> Return the class for this beanTable.Return the primary key DB column.Return the Id properties.Gets the unqualified base table.toString()
-
Constructor Details
-
BeanTable
Create the BeanTable. -
BeanTable
Construct for element collection.
-
-
Method Details
-
toString
-
getBaseTable
Return the base table for this BeanTable. This is used to determine the join information for associations. -
getUnqualifiedBaseTable
Gets the unqualified base table.- Returns:
- the unqualified base table
-
getIdProperty
Return the Id properties. -
getBeanType
Return the class for this beanTable. -
createJoinColumn
public void createJoinColumn(String foreignKeyPrefix, DeployTableJoin join, boolean reverse, String sqlFormulaSelect) -
getIdColumn
Return the primary key DB column.
-