Files
ebean/src/main/java/io/ebeaninternal/server/query/STreePropertyAssocOne.java
T
rob bygrave 24b08663af #1737 - PersistenceException while using aggregate query on related entity
Fix excluding the ability to additionally join (off the min(manyToOne))
2019-06-28 20:16:05 +12:00

28 lines
618 B
Java

package io.ebeaninternal.server.query;
import io.ebean.bean.EntityBean;
import io.ebeaninternal.server.type.ScalarDataReader;
public interface STreePropertyAssocOne extends STreePropertyAssoc {
/**
* Return true if the property is an Id.
*/
boolean isAssocId();
/**
* Return the scalar type of the associated id property.
*/
ScalarDataReader<?> getIdReader();
/**
* Returns true, if this relation has a foreign key.
*/
boolean hasForeignKey();
/**
* Return the property value as an entity bean from the parent.
*/
EntityBean getValueAsEntityBean(EntityBean parentBean);
}