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>
-
- com.evolveum.midpoint.repo.sqlbase.querydsl.FlexibleRelationalPathBase<R>
-
- com.evolveum.midpoint.repo.sqale.qmodel.ref.QReference<MReference,OR>
-
- com.evolveum.midpoint.repo.sqale.qmodel.ref.QObjectReference<OR>
-
- Type Parameters:
OR
- type of the owner row
- All Implemented Interfaces:
QOwnedBy<OR>
,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 byMReferenceType
.- See Also:
- Serialized Form
-
-
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
-
-
Constructor Summary
Constructors Constructor Description QObjectReference(String variable, String tableName)
QObjectReference(String variable, String schema, String table)
-
Method Summary
All Methods Instance Methods Concrete Methods 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.sqlbase.querydsl.FlexibleRelationalPathBase
addMetadata, createArray, createBoolean, createByteArray, createDateTime, createEnum, createInstant, createInteger, createLong, createNumber, createString, createUuid, getPath
-
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
-
-
-
-
Method Detail
-
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 interfaceQOwnedBy<OR extends MObject>
- Overrides:
isOwnedBy
in classQReference<MReference,OR extends MObject>
-
-