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 rowOR
- type of the owner row
- All Implemented Interfaces:
QOwnedBy<OR>
,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
public class QReference<R extends MReference,OR> extends FlexibleRelationalPathBase<R> implements QOwnedBy<OR>
Querydsl query type for "m_reference" table that contains all persisted object references. This actually points to super-table, concrete tables are partitioned byMReferenceType
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Class<QReference<MReference,Object>>
CLASS
IfQReference.class
is not enough because of generics, tryQReference.CLASS
.static com.querydsl.sql.ColumnMetadata
OWNER_OID
static com.querydsl.sql.ColumnMetadata
OWNER_TYPE
UuidPath
ownerOid
com.querydsl.core.types.dsl.EnumPath<MObjectType>
ownerType
com.querydsl.sql.PrimaryKey<R>
pk
static com.querydsl.sql.ColumnMetadata
REFERENCE_TYPE
com.querydsl.core.types.dsl.EnumPath<MReferenceType>
referenceType
static com.querydsl.sql.ColumnMetadata
RELATION_ID
com.querydsl.core.types.dsl.NumberPath<Integer>
relationId
static String
TABLE_NAME
static com.querydsl.sql.ColumnMetadata
TARGET_OID
static com.querydsl.sql.ColumnMetadata
TARGET_TYPE
UuidPath
targetOid
com.querydsl.core.types.dsl.EnumPath<MObjectType>
targetType
-
Fields inherited from class com.evolveum.midpoint.repo.sqlbase.querydsl.FlexibleRelationalPathBase
DEFAULT_SCHEMA_NAME
-
-
Constructor Summary
Constructors Constructor Description QReference(Class<R> type, String variable)
QReference(Class<R> type, 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
-
-
-
-
Field Detail
-
CLASS
public static final Class<QReference<MReference,Object>> CLASS
IfQReference.class
is not enough because of generics, tryQReference.CLASS
.
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
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
-
-
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<R extends MReference>
-
-