I
- type of the persistent object and transport object id. This type
should be immutable. It is critical this type implements equals()
and hashCode() correctly.P
- type of the persistent object.T
- type of the transport object with a reference to the owner.E
- type of the owner persistent object and owner transport object
id. This type should be immutable. It is critical this type
implements equals() and hashCode() correctly.W
- type of the owner persistent object.R
- type of the owner transport object.public class DaoGetFullDependentQuery<I extends Serializable,P extends Storable<I> & Dependable<E>,T extends Transportable<? super T,I> & Dependent<R>,E extends Serializable,W extends Storable<E>,R extends Transportable<? super R,E>> extends ReadQuery<T>
Dao
.Modifier and Type | Method and Description |
---|---|
static <I extends Serializable,P extends Storable<I> & Dependable<E>,T extends Transportable<? super T,I> & Dependent<R>,E extends Serializable,W extends Storable<E>,R extends Transportable<? super R,E>> |
createQuery(Id<T,I> id,
BidirectionalDependentDao<I,P,T,?,?,?,E,W,R> dao,
Dao<E,W,R,?,?> ownerDao)
Creates a query.
|
protected T |
execute(DataStoreContext context)
Executes the query.
|
public static <I extends Serializable,P extends Storable<I> & Dependable<E>,T extends Transportable<? super T,I> & Dependent<R>,E extends Serializable,W extends Storable<E>,R extends Transportable<? super R,E>> ReadQuery<T> createQuery(Id<T,I> id, BidirectionalDependentDao<I,P,T,?,?,?,E,W,R> dao, Dao<E,W,R,?,?> ownerDao)
This method is a convenience to infer the generic types.
id
- transport object's id.dao
- DAO used to perform the database operations for the query.ownerDao
- owner DAO.Copyright © 2015. All Rights Reserved.