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

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

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

import io.ebean.bean.EntityBean;
import io.ebeaninternal.server.deploy.DbSqlContext;
import io.ebeaninternal.server.deploy.id.IdBinder;

public interface STreePropertyAssoc extends STreeProperty {

  /**
   * Return the extra where clause if set.
   */
  String getExtraWhere();

  /**
   * Return the type of the target (other side).
   */
  STreeType target();

  /**
   * Return the IdBinder of the underlying type.
   */
  IdBinder getIdBinder();

  /**
   * Add a Join with the given alias.
   */
  SqlJoinType addJoin(SqlJoinType joinType, String alias2, String alias, DbSqlContext ctx);

  /**
   * Add a Join with the given prefix (determining the alias).
   */
  SqlJoinType addJoin(SqlJoinType joinType, String prefix, DbSqlContext ctx);

  /**
   * Add a bean to the parent.
   */
  void setValue(EntityBean parentBean, Object contextBean);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy