org.openhealthexchange.openpixpdq.ihe.pdq
Class ContinuationPointer

java.lang.Object
  extended by org.openhealthexchange.openpixpdq.ihe.pdq.ContinuationPointer

public class ContinuationPointer
extends java.lang.Object

This class is a container to store the PDQ continuation information that pointer pointers to.

Version:
1.0, Apr 25, 2007
Author:
Wenzhi Li

Constructor Summary
ContinuationPointer()
           
 
Method Summary
 long getLastRequestTime()
          Gets the last continuation request time.
 java.util.List<java.util.List<Patient>> getPatients()
          Gets the patients stored in this Continuation Pointer.
 java.lang.String getPointer()
          Gets the continuation pointer
 java.lang.String getQueryTag()
          Gets the query tag that this ContinuationPointer is associated with.
 java.util.List<com.misyshealthcare.connect.net.Identifier> getReturnDomain()
          Gets the return domains of the PDQ request.
 int getTotalRecords()
          Gets the total number of matching records for the PDQ request.
 void setLastRequestTime(long time)
          Sets the last continuation request time.
 void setPatients(java.util.List<java.util.List<Patient>> patients)
          Sets the patients for this Continuation Pointer.
 void setPointer(java.lang.String pointer)
          Sets the continuation pointer.
 void setQueryTag(java.lang.String queryTag)
          Sets the query tag.
 void setReturnDomain(java.util.List<com.misyshealthcare.connect.net.Identifier> domains)
          Sets the return domain of the PDQ request.
 void setTotalRecords(int totalRecords)
          Sets the total number of matching records for the PDQ request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContinuationPointer

public ContinuationPointer()
Method Detail

getPointer

public java.lang.String getPointer()
Gets the continuation pointer

Returns:
the pointer

setPointer

public void setPointer(java.lang.String pointer)
Sets the continuation pointer.

Parameters:
pointer - the pointer to set

getQueryTag

public java.lang.String getQueryTag()
Gets the query tag that this ContinuationPointer is associated with.

Returns:
the query tag

setQueryTag

public void setQueryTag(java.lang.String queryTag)
Sets the query tag.

Parameters:
queryTag - the queryTag to set

getPatients

public java.util.List<java.util.List<Patient>> getPatients()
Gets the patients stored in this Continuation Pointer.

Returns:
a list of list of Patients. The first list is for different logic patients, while the second list is for the same logic patient in different domains.

setPatients

public void setPatients(java.util.List<java.util.List<Patient>> patients)
Sets the patients for this Continuation Pointer.

Parameters:
patients - a list of list of Patients. The first list is for different logic patients, while the second list is for the same logic patient in different domains.

getReturnDomain

public java.util.List<com.misyshealthcare.connect.net.Identifier> getReturnDomain()
Gets the return domains of the PDQ request.

Returns:
a list of return domains

setReturnDomain

public void setReturnDomain(java.util.List<com.misyshealthcare.connect.net.Identifier> domains)
Sets the return domain of the PDQ request.

Parameters:
domains - a list of domains to set

getLastRequestTime

public long getLastRequestTime()
Gets the last continuation request time.

Returns:
the last request time in long

setLastRequestTime

public void setLastRequestTime(long time)
Sets the last continuation request time.

Parameters:
time - the time to set

getTotalRecords

public int getTotalRecords()
Gets the total number of matching records for the PDQ request.

Returns:
the total number of matching records

setTotalRecords

public void setTotalRecords(int totalRecords)
Sets the total number of matching records for the PDQ request.

Parameters:
totalRecords - the total number of records to set