I - Type of Id for the entry to readT - Type of the TransportObjectP - Type of StorableC - Type of Context to execute the query.public class GetQuery<I extends Serializable,T extends TransportObject<? super T,I>,P extends Storable<I>,C> extends Object implements ReadQuery<T,C>
public GetQuery(Id<T,I> id, Dao<I,T,P,?,?,C> dao)
id - Id of entry to read.dao - Dao for execute the query.public T execute(C context)
execute in interface ReadQuery<T extends TransportObject<? super T,I>,C>context - Context to execute the queryNullPointerException - In case of context is null.Exception - Throws Exception in case of any error in query execute.Copyright © 2014. All Rights Reserved.