Class EntitySubClause<R,E extends EntityBean>

Type Parameters:
R - type of the result. Only different from <E> for complex selects.
E - type of the entity.
All Implemented Interfaces:
DbClause, TypedClause<R>

public class EntitySubClause<R,E extends EntityBean> extends AbstractEntityClause<R,E,EntitySubClause<R,E>>
A fragment for an additional entity selection. It is a sub-clause and shall never be part of DbStatement.getClauses().
Since:
1.0.0
  • Constructor Details

    • EntitySubClause

      public EntitySubClause(AliasMap aliasMap, E entity)
      The constructor.
      Parameters:
      aliasMap - the AliasMap.
      entity - the entity to operate on.
    • EntitySubClause

      public EntitySubClause(AliasMap aliasMap, E entity, String entityName)
      The constructor.
      Parameters:
      aliasMap - the AliasMap.
      entity - the entity to operate on.
      entityName - the entity name.
    • EntitySubClause

      public EntitySubClause(AliasMap aliasMap, E entity, String entityName, String alias)
      The constructor.
      Parameters:
      aliasMap - the AliasMap.
      entity - the entity to operate on.
      entityName - the entity name.
      alias - the alias.