edu.utah.further.fqe.ds.api.domain
Interface ResultContext

All Superinterfaces:
CopyableFrom<ResultContext,ResultContext>, HasIdentifier<Long>, HasNumRecords, PersistentEntity<Long>, Serializable
All Known Subinterfaces:
ResultContextTo
All Known Implementing Classes:
AbstractResultContext, ResultContextToImpl

public interface ResultContext
extends PersistentEntity<Long>, CopyableFrom<ResultContext,ResultContext>, HasNumRecords

A QueryContext's result set information placeholder. Allows to decouple the details of the query context and result set data objects.

-----------------------------------------------------------------------------------
(c) 2008-2011 FURTHeR Project, Health Sciences IT, University of Utah
Contact: Dr. Scott Narus <scott.narus@hsc.utah.edu>
Biomedical Informatics, 26 South 2000 East
Room 5775 HSEB, Salt Lake City, UT 84112
Day Phone: 1-801-213-3288
-----------------------------------------------------------------------------------

Version:
Dec 7, 2009
Author:
Oren E. Livne <oren.livne@utah.edu>

Method Summary
 Object getResult()
          Return the raw query result type.
 String getRootEntityClass()
          Return the rootEntityClass property.
 String getTransferObjectClass()
          Returns a String representing the fully qualified transfer object class
 void setResult(Object result)
          Set a new value for the resultEntity property.
 
Methods inherited from interface edu.utah.further.core.api.discrete.HasIdentifier
getId
 
Methods inherited from interface edu.utah.further.core.api.lang.CopyableFrom
copyFrom
 
Methods inherited from interface edu.utah.further.fqe.ds.api.domain.HasNumRecords
getNumRecords, setNumRecords
 

Method Detail

getRootEntityClass

String getRootEntityClass()
Return the rootEntityClass property.

Returns:
the rootEntityClass

getTransferObjectClass

String getTransferObjectClass()
Returns a String representing the fully qualified transfer object class

Returns:
a string representing this result set's transfer object.

getResult

Object getResult()
Return the raw query result type.

Returns:
the result

setResult

void setResult(Object result)
Set a new value for the resultEntity property.

Parameters:
resultEntity - the resultEntity to set


Copyright © 2011 Office of the AVP for Health Sci. IT. All Rights Reserved.