mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#115 - Mapping - Add support for @ElementCollection enhancement
Initial support - simple List.
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
package io.ebeaninternal.server.query;
|
||||
|
||||
import io.ebean.bean.BeanCollection;
|
||||
import io.ebean.bean.EntityBean;
|
||||
import io.ebeaninternal.server.deploy.DbSqlContext;
|
||||
import io.ebeaninternal.server.deploy.TableJoin;
|
||||
|
||||
public interface STreePropertyAssocMany extends STreePropertyAssoc {
|
||||
|
||||
/**
|
||||
* Append exported columns to the select.
|
||||
*/
|
||||
void addSelectExported(DbSqlContext ctx, String prefix);
|
||||
|
||||
/**
|
||||
* Return true if this is a ManyToMany with history.
|
||||
*/
|
||||
boolean isManyToManyWithHistory();
|
||||
|
||||
/**
|
||||
* Return a reference collection.
|
||||
*/
|
||||
BeanCollection<?> createReferenceIfNull(EntityBean localBean);
|
||||
|
||||
/**
|
||||
* Return true if the property has a join table.
|
||||
*/
|
||||
boolean hasJoinTable();
|
||||
|
||||
/**
|
||||
* Return the intersection table join.
|
||||
*/
|
||||
TableJoin getIntersectionTableJoin();
|
||||
|
||||
/**
|
||||
* Add a bean to the collection.
|
||||
*/
|
||||
void addBeanToCollectionWithCreate(EntityBean contextParent, EntityBean detailBean, boolean withCheck);
|
||||
|
||||
/**
|
||||
* Return true if the property is excluded from history.
|
||||
*/
|
||||
boolean isExcludedFromHistory();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user