java.lang.Object
io.ebeaninternal.server.deploy.meta.DeployTableJoinColumn
A join pair of local and foreign properties.
-
Constructor Summary
ConstructorsConstructorDescriptionDeployTableJoinColumn(boolean order, String ref, String name, boolean insertable, boolean updateable, BeanTable beanTable) DeployTableJoinColumn(String localDbColumn, String foreignDbColumn) Construct when automatically determining the join.DeployTableJoinColumn(String localDbColumn, String foreignDbColumn, boolean insertable, boolean updateable) Construct with explicit insertable and updateable flags. -
Method Summary
Modifier and TypeMethodDescriptioncopy(boolean reverse) Return the foreign database column name.Return the local database column name.booleanReturn true if this column should be insertable.booleanReturn true if this column should be updateable.reverse()Reverse the direction of the join.voidsetForeignSqlFormula(String foreignSqlFormula) toString()
-
Constructor Details
-
DeployTableJoinColumn
Construct when automatically determining the join.Assume that we want the foreign key to be insertable and updateable.
-
DeployTableJoinColumn
public DeployTableJoinColumn(String localDbColumn, String foreignDbColumn, boolean insertable, boolean updateable) Construct with explicit insertable and updateable flags. -
DeployTableJoinColumn
-
-
Method Details
-
getLocalSqlFormula
-
setForeignSqlFormula
-
getForeignSqlFormula
-
reverse
Reverse the direction of the join. -
copy
-
toString
-
isInsertable
public boolean isInsertable()Return true if this column should be insertable. -
isUpdateable
public boolean isUpdateable()Return true if this column should be updateable. -
getForeignDbColumn
Return the foreign database column name. -
getLocalDbColumn
Return the local database column name.
-