Z - the type of the parent pathX - the type referenced by the pathpublic class EmbeddedAttributePath<Z,X> extends ParentPath<Z,X>
Path.| Constructor and Description |
|---|
EmbeddedAttributePath(ParentPath<?,Z> parent,
EmbeddedMapping<? super Z,X> mapping) |
| Modifier and Type | Method and Description |
|---|---|
String |
generateJpqlRestriction(BaseQueryImpl<?> query)
Returns the JPQL where fragment.
|
String |
generateJpqlSelect(AbstractCriteriaQueryImpl<?> query,
boolean selected)
Returns the JPQL select fragment.
|
String |
generateSqlSelect(AbstractCriteriaQueryImpl<?> query,
boolean selected)
Returns the SQL select fragment.
|
FetchParentImpl<?,X> |
getFetchRoot()
Returns the fetch root of the path.
|
EmbeddedMapping<? super Z,X> |
getMapping()
Returns the mapping.
|
protected <C,Y> Mapping<? super X,C,Y> |
getMapping(String name)
Returns the child mapping for the name.
|
EmbeddedAttribute<?,X> |
getModel() |
String[] |
getSqlRestrictionFragments(BaseQueryImpl<?> query)
Returns the SQL restriction fragments.
|
X |
handle(QueryImpl<?> query,
SessionImpl session,
ResultSet row)
Handles the row.
|
StaticTypeExpression<X> |
type() |
get, get, get, get, getExpressioncannotDereference, getParentPath, getRootPathas, getConverter, in, in, in, in, isNotNull, isNull, setConverteralias, getAlias, getCompoundSelectionItems, isCompoundSelection, isEntityListgetJavaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParentPathas, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, isCompoundSelectiongetAlias, getJavaTypepublic EmbeddedAttributePath(ParentPath<?,Z> parent, EmbeddedMapping<? super Z,X> mapping)
parent - the parent pathmapping - the embedded mappingpublic String generateJpqlRestriction(BaseQueryImpl<?> query)
generateJpqlRestriction in class AbstractExpression<X>query - the querypublic String generateJpqlSelect(AbstractCriteriaQueryImpl<?> query, boolean selected)
generateJpqlSelect in class AbstractSelection<X>query - the criteria queryselected - if the selection is selectedpublic String generateSqlSelect(AbstractCriteriaQueryImpl<?> query, boolean selected)
generateSqlSelect in class AbstractSelection<X>query - the queryselected - if the selection is selectedpublic FetchParentImpl<?,X> getFetchRoot()
getFetchRoot in class ParentPath<Z,X>public EmbeddedMapping<? super Z,X> getMapping()
protected <C,Y> Mapping<? super X,C,Y> getMapping(String name)
getMapping in class ParentPath<Z,X>C - the collection type of the child mappingY - the type of the child mappingname - the name of the child mappingpublic EmbeddedAttribute<?,X> getModel()
public String[] getSqlRestrictionFragments(BaseQueryImpl<?> query)
getSqlRestrictionFragments in class AbstractSelection<X>query - the querypublic X handle(QueryImpl<?> query, SessionImpl session, ResultSet row) throws SQLException
handle in class AbstractSelection<X>query - the querysession - the sessionrow - the rowSQLException - thrown in case of an underlying SQL Errorpublic StaticTypeExpression<X> type()
Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.