/**
 * <!-- LICENSE_TEXT_START -->
The contents of this file are subject to the caAdapter Software License (the "License"). You may obtain a copy of the License at the following location: 
[caAdapter Home Directory]\docs\caAdapter_license.txt, or at:
http://ncicb.nci.nih.gov/infrastructure/cacore_overview/caadapter/indexContent/docs/caAdapter_License
 * <!-- LICENSE_TEXT_END -->
 */
 
package gov.nih.nci.caadapter.hl7.transformation;
/**
 * Define the method to watch progress of a transformation service 
 * @author OWNER: Eugene Wang
 * @author LAST UPDATE $Author: wangeug $
 * @version Since caAdapter v4.0
 * revision    $Revision: 1.7 $
 * date        $Date: 2008-09-29 15:40:38 $
 */

public interface TransformationObserver {
public static int TRANSFORMATION_DATA_LOADING_START=0;
public static int TRANSFORMATION_DATA_LOADING_READ_MAPPING=1;
public static int TRANSFORMATION_DATA_LOADING_PARSER_MAPPING=2;
public static int TRANSFORMATION_DATA_LOADING_READ_H3S_FILE=3;
public static int TRANSFORMATION_DATA_LOADING_READ_SOURCE=4;
public static int TRANSFORMATION_DATA_LOADING_PARSER_SOURCE=5;
public static int TRANSFORMATION_DATA_LOADING_READ_CVS_META=6;

public static int TRANSFORMATION_DATA_LOADING_COUNT_MESSAGE=7;

public static int TRANSFORMATION_DATA_LOADING_STEPS=8;
public static String TRANSFORMATION_MESSAGE_GENERATING_STEP="Loading Data ...";

/**
 * Notify the transformation observer for the progress with completion percentage
 * Range:0-100
 * @param completionPercent
 */
public void progressUpdate(int completionPercent);

/**
 * Inform the HL7 transformation request is cancelled 
 * @return
 */
public boolean isRequestCanceled();


/*
 * Set the total number of HL7 message with a transformation service request
 * @param count The number of messages 
 */
public void setMessageCount(int count);

}
/**
 * HISTORY :$Log: not supported by cvs2svn $
 */
@@ -636,17 +636,17 @@
 sion: 1.
-7
+8
  $%0A * da
@@ -671,22 +671,22 @@
 008-
+1
 0
-9
 -29 1
-5:40:38
+9:08:50
  $%0A 
@@ -1026,22 +1026,24 @@
 NG_READ_
-SOURCE
+CVS_META
 =4;%0Apubl
@@ -1084,22 +1084,20 @@
 LOADING_
-PARSER
+READ
 _SOURCE=
@@ -1149,26 +1149,25 @@
 ING_
-READ_CVS_META
+PARSER_SOURCE
 =6;%0A
-%0A
 publ
@@ -1225,17 +1225,16 @@
 SAGE=7;%0A
-%0A
 public s
@@ -1280,16 +1280,17 @@
 TEPS=8;%0A
+%0A
 public s
@@ -1875,11 +1875,163 @@
 s2svn $%0A
+ * HISTORY :Revision 1.7  2008/09/29 15:40:38  wangeug%0A * HISTORY :enforce code standard: license file, file description, changing history%0A * HISTORY :%0A
  */

reorder of processing