Class QReference<R extends MReference,OR>

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>
com.evolveum.midpoint.repo.sqlbase.querydsl.FlexibleRelationalPathBase<R>
com.evolveum.midpoint.repo.sqale.qmodel.ref.QReference<R,OR>
Type Parameters:
R - type of the reference row
OR - type of the owner row
All Implemented Interfaces:
QOwnedBy<OR>, SqlOrderableExpression, com.querydsl.core.types.EntityPath<R>, com.querydsl.core.types.Expression<R>, com.querydsl.core.types.Path<R>, com.querydsl.core.types.ProjectionRole<R>, com.querydsl.sql.RelationalPath<R>, Serializable
Direct Known Subclasses:
QAccessCertificationWorkItemReference, QAssignmentReference, QCaseWorkItemReference, QObjectReference, QProcessedObjectEventMarkReference

public class QReference<R extends MReference,OR> extends FlexibleRelationalPathBase<R> implements QOwnedBy<OR>, SqlOrderableExpression
Querydsl query type for "m_reference" table that contains all persisted object references. This actually points to super-table, concrete tables are partitioned by MReferenceType.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    If QReference.class is not enough because of generics, try QReference.CLASS.
    static final com.querydsl.sql.ColumnMetadata
     
    static final com.querydsl.sql.ColumnMetadata
     
    final UuidPath
     
    final com.querydsl.core.types.dsl.EnumPath<MObjectType>
     
    final com.querydsl.sql.PrimaryKey<R>
     
    static final com.querydsl.sql.ColumnMetadata
     
    final com.querydsl.core.types.dsl.EnumPath<MReferenceType>
     
    static final com.querydsl.sql.ColumnMetadata
     
    final com.querydsl.core.types.dsl.NumberPath<Integer>
     
    static final String
     
    static final com.querydsl.sql.ColumnMetadata
     
    static final com.querydsl.sql.ColumnMetadata
     
    final UuidPath
     
    final com.querydsl.core.types.dsl.EnumPath<MObjectType>
     

    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
    QReference(Class<R> type, String variable)
     
    QReference(Class<R> type, 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.
    void
    orderBy(com.querydsl.sql.SQLQuery<?> sqlQuery, ObjectOrdering ordering)
    Special case ordering used to paginate iterative reference search strictly sequentially.

    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
  • Field Details

    • CLASS

      public static final Class<QReference<MReference,Object>> CLASS
      If QReference.class is not enough because of generics, try QReference.CLASS.
    • TABLE_NAME

      public static final String TABLE_NAME
      See Also:
    • OWNER_OID

      public static final com.querydsl.sql.ColumnMetadata OWNER_OID
    • OWNER_TYPE

      public static final com.querydsl.sql.ColumnMetadata OWNER_TYPE
    • REFERENCE_TYPE

      public static final com.querydsl.sql.ColumnMetadata REFERENCE_TYPE
    • TARGET_OID

      public static final com.querydsl.sql.ColumnMetadata TARGET_OID
    • TARGET_TYPE

      public static final com.querydsl.sql.ColumnMetadata TARGET_TYPE
    • RELATION_ID

      public static final com.querydsl.sql.ColumnMetadata RELATION_ID
    • ownerOid

      public final UuidPath ownerOid
    • ownerType

      public final com.querydsl.core.types.dsl.EnumPath<MObjectType> ownerType
    • referenceType

      public final com.querydsl.core.types.dsl.EnumPath<MReferenceType> referenceType
    • targetOid

      public final UuidPath targetOid
    • targetType

      public final com.querydsl.core.types.dsl.EnumPath<MObjectType> targetType
    • relationId

      public final com.querydsl.core.types.dsl.NumberPath<Integer> relationId
    • pk

      public final com.querydsl.sql.PrimaryKey<R extends MReference> pk
  • Constructor Details

  • 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<R extends MReference>
    • orderBy

      public void orderBy(com.querydsl.sql.SQLQuery<?> sqlQuery, ObjectOrdering ordering)
      Special case ordering used to paginate iterative reference search strictly sequentially.
      Specified by:
      orderBy in interface SqlOrderableExpression