Class QObjectReference<OR extends MObject>

java.lang.Object
com.querydsl.core.types.dsl.DslExpression<T>
com.querydsl.core.types.dsl.SimpleExpression<T>
com.querydsl.core.types.dsl.BeanPath<T>
com.querydsl.sql.RelationalPathBase<R>
Type Parameters:
OR - type of the owner row
All Implemented Interfaces:
QOwnedBy<OR>, SqlOrderableExpression, com.querydsl.core.types.EntityPath<MReference>, com.querydsl.core.types.Expression<MReference>, com.querydsl.core.types.Path<MReference>, com.querydsl.core.types.ProjectionRole<MReference>, com.querydsl.sql.RelationalPath<MReference>, Serializable

public class QObjectReference<OR extends MObject> extends QReference<MReference,OR>
Querydsl query type for object owned references. This actually points to super-table, concrete tables are partitioned by MReferenceType.
See Also:
  • Field Summary

    Fields inherited from class com.evolveum.midpoint.repo.sqale.qmodel.ref.QReference

    CLASS, OWNER_OID, OWNER_TYPE, ownerOid, ownerType, pk, REFERENCE_TYPE, referenceType, RELATION_ID, relationId, TABLE_NAME, TARGET_OID, TARGET_TYPE, targetOid, targetType

    Fields inherited from class com.evolveum.midpoint.repo.sqlbase.querydsl.FlexibleRelationalPathBase

    DEFAULT_SCHEMA_NAME

    Fields inherited from class com.querydsl.core.types.dsl.DslExpression

    hashCode, mixin
  • Constructor Summary

    Constructors
    Constructor
    Description
    QObjectReference(String variable, String tableName)
     
    QObjectReference(String variable, String schema, String table)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.querydsl.core.types.dsl.BooleanExpression
    isOwnedBy(OR ownerRow)
    Returns predicate for where clause that matches only rows owned by the provided owner.

    Methods inherited from class com.evolveum.midpoint.repo.sqale.qmodel.ref.QReference

    orderBy

    Methods inherited from class com.querydsl.sql.RelationalPathBase

    add, all, count, countDistinct, createForeignKey, createForeignKey, createInvForeignKey, createInvForeignKey, createPrimaryKey, eq, eq, getColumns, getForeignKeys, getInverseForeignKeys, getMetadata, getPrimaryKey, getProjection, getSchemaAndTable, getSchemaName, getTableName, ne, ne

    Methods inherited from class com.querydsl.core.types.dsl.BeanPath

    accept, as, createArray, createBoolean, createCollection, createComparable, createDate, createDateTime, createEnum, createList, createMap, createNumber, createSet, createSimple, createString, createTime, forProperty, getAnnotatedElement, getMetadata, getRoot, instanceOf, instanceOfAny

    Methods inherited from class com.querydsl.core.types.dsl.SimpleExpression

    as, as, eqAll, eqAll, eqAny, eqAny, in, in, in, in, in, isNotNull, isNull, neAll, neAny, notIn, notIn, notIn, notIn, notIn, nullif, nullif, when, when

    Methods inherited from class com.querydsl.core.types.dsl.DslExpression

    equals, getType, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.querydsl.core.types.Expression

    accept, getType

    Methods inherited from interface com.querydsl.core.types.Path

    getAnnotatedElement, getMetadata, getRoot
  • Constructor Details

    • QObjectReference

      public QObjectReference(String variable, String tableName)
    • QObjectReference

      public QObjectReference(String variable, String schema, String table)
  • Method Details

    • isOwnedBy

      public com.querydsl.core.types.dsl.BooleanExpression isOwnedBy(OR ownerRow)
      Description copied from interface: QOwnedBy
      Returns predicate for where clause that matches only rows owned by the provided owner. Owner row is immediate owner, so if the containers are nested, it is the owning container, not the top-level owning object.
      Specified by:
      isOwnedBy in interface QOwnedBy<OR extends MObject>
      Overrides:
      isOwnedBy in class QReference<MReference,OR extends MObject>