All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.server.query.STreePropertyAssocOne Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.server.query;

import io.ebean.bean.EntityBean;
import io.ebean.core.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 idReader();

  /**
   * Returns true, if this relation has a foreign key.
   */
  boolean hasForeignKey();

  /**
   * Return the property value as an entity bean from the parent.
   */
  EntityBean valueAsEntityBean(EntityBean parentBean);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy