Files
ebean/src/main/java/io/ebeaninternal/server/query/STreePropertyAssocOne.java
T

28 lines
625 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.
*/
public EntityBean getValueAsEntityBean(EntityBean parentBean);
}