|
Sun Adapter for TCP/IP HL7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.stc.connector.hl7.framework.persist.dbo.impl.DBObjectImpl
com.stc.connector.hl7.framework.persist.dbo.impl.HL7MessageLogDBOImpl
public class HL7MessageLogDBOImpl
| Field Summary |
|---|
| Fields inherited from class com.stc.connector.hl7.framework.persist.dbo.impl.DBObjectImpl |
|---|
DELETE_STMT_STR, INSERT_STMT_STR, QUERY_STMT_STR, UPDATE_STMT_STR |
| Fields inherited from interface com.stc.connector.hl7.framework.persist.dbo.HL7MessageLogDBO |
|---|
BASE_DELETE_STMT_STR, BASE_INSERT_STMT_STR, BASE_QUERY_STMT_STR, BASE_QUERY_STMT_WITH_STATUS_STR, BASE_UPDATE_STMT_STR, BASE_UPDATE_STMT_WITH_STATUS_STR, TABLE_NAME_HL7MESSAGELOG |
| Constructor Summary | |
|---|---|
HL7MessageLogDBOImpl(int dbType)
constructor |
|
HL7MessageLogDBOImpl(int dbType,
java.lang.String messageId,
java.lang.String applicationId)
constructor |
|
HL7MessageLogDBOImpl(java.lang.String messageId,
java.lang.String applicationId)
|
|
| Method Summary | |
|---|---|
void |
fillDeleteStmt(java.sql.PreparedStatement stmt)
fills delete statement with message ID and Application ID |
void |
fillInsertStmt(java.sql.PreparedStatement stmt)
fills insert statement |
void |
fillQueryStmt(java.sql.PreparedStatement stmt)
fills query statement with message ID and Application ID |
void |
fillQueryStmtWithStatus(java.sql.PreparedStatement stmt)
fills query statement with status |
void |
fillUpdateStmt(java.sql.PreparedStatement stmt)
fills update statement with message ID and Application ID |
void |
fillUpdateStmtWithStatus(java.sql.PreparedStatement stmt)
fills update statement with status |
java.lang.String |
getApplicationId()
gets Application ID string |
java.sql.Timestamp |
getCreatedTime()
gets created timeStamp |
java.sql.Timestamp |
getLastUpdatedTime()
gets last updated timeStamp |
java.lang.String |
getMessageId()
gets Message ID string |
DBObject |
getNewObject()
gets HL7MessageLogDBO object |
int |
getOldStatus()
gets old status |
java.lang.String |
getQueryStmtWithStatus()
Returns Query Statement with status in where clause |
java.lang.String |
getRequestMessage()
gets request Message string |
java.lang.String |
getResponseMessage()
gets response Message string |
int |
getStatus()
gets status |
java.lang.String |
getUpdateStmtWithStatus()
Returns Update Statement with status in where clause |
void |
populateDBO(java.sql.ResultSet rs)
populate DBO Object |
void |
setApplicationId(java.lang.String applicationId)
sets applicationId string |
void |
setCreatedTime(java.sql.Timestamp createdTime)
sets createdTime value |
void |
setLastUpdatedTime(java.sql.Timestamp lastUpdatedTime)
sets last Updated Timestamp value |
void |
setMessageId(java.lang.String messageId)
sets Message ID string |
void |
setOldStatus(int status)
sets old status integer value |
void |
setRequestMessage(java.lang.String requestMessage)
sets requestMessage string |
void |
setResponseMessage(java.lang.String responseMessage)
sets responseMessage string |
void |
setStatus(int status)
sets status integer value |
| Methods inherited from class com.stc.connector.hl7.framework.persist.dbo.impl.DBObjectImpl |
|---|
createNew, getDeleteStmt, getInsertStmt, getQueryStmt, getUpdateStmt, init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.stc.connector.hl7.framework.persist.dbo.DBObject |
|---|
createNew, getDeleteStmt, getInsertStmt, getQueryStmt, getUpdateStmt |
| Constructor Detail |
|---|
public HL7MessageLogDBOImpl(int dbType)
dbType - database type
public HL7MessageLogDBOImpl(java.lang.String messageId,
java.lang.String applicationId)
public HL7MessageLogDBOImpl(int dbType,
java.lang.String messageId,
java.lang.String applicationId)
dbType - database typemcid - Message Control IDval - vaule| Method Detail |
|---|
public java.lang.String getQueryStmtWithStatus()
getQueryStmtWithStatus in interface HL7MessageLogDBOpublic java.lang.String getUpdateStmtWithStatus()
getUpdateStmtWithStatus in interface HL7MessageLogDBO
public void fillDeleteStmt(java.sql.PreparedStatement stmt)
throws java.sql.SQLException
fillDeleteStmt in interface DBObjectfillDeleteStmt in class DBObjectImplstmt - PreparedStatement
java.sql.SQLException - SQLException
public void fillInsertStmt(java.sql.PreparedStatement stmt)
throws java.sql.SQLException
fillInsertStmt in interface DBObjectfillInsertStmt in class DBObjectImplstmt - PreparedStatement
java.sql.SQLException - SQLException
public void fillUpdateStmt(java.sql.PreparedStatement stmt)
throws java.sql.SQLException
fillUpdateStmt in interface DBObjectfillUpdateStmt in class DBObjectImplstmt - PreparedStatement
java.sql.SQLException - SQLException
public void fillUpdateStmtWithStatus(java.sql.PreparedStatement stmt)
throws java.sql.SQLException
fillUpdateStmtWithStatus in interface HL7MessageLogDBOstmt - PreparedStatement
java.sql.SQLException - SQLException
public void fillQueryStmt(java.sql.PreparedStatement stmt)
throws java.sql.SQLException
fillQueryStmt in interface DBObjectfillQueryStmt in class DBObjectImplstmt - PreparedStatement
java.sql.SQLException - SQLException
public void fillQueryStmtWithStatus(java.sql.PreparedStatement stmt)
throws java.sql.SQLException
fillQueryStmtWithStatus in interface HL7MessageLogDBOstmt - PreparedStatement
java.sql.SQLException - SQLException
public void populateDBO(java.sql.ResultSet rs)
throws java.sql.SQLException
populateDBO in interface DBObjectpopulateDBO in class DBObjectImplrs - ResultSet
java.sql.SQLException - SQLExceptionpublic DBObject getNewObject()
getNewObject in class DBObjectImplpublic java.lang.String getMessageId()
HL7MessageLogDBO
getMessageId in interface HL7MessageLogDBOHL7MessageLogDBO.getMessageId().public java.lang.String getApplicationId()
HL7MessageLogDBO
getApplicationId in interface HL7MessageLogDBOHL7MessageLogDBO.getApplicationId().public java.lang.String getRequestMessage()
HL7MessageLogDBO
getRequestMessage in interface HL7MessageLogDBOHL7MessageLogDBO.getRequestMessage().public java.lang.String getResponseMessage()
HL7MessageLogDBO
getResponseMessage in interface HL7MessageLogDBOHL7MessageLogDBO.getResponseMessage().public int getStatus()
HL7MessageLogDBO
getStatus in interface HL7MessageLogDBOHL7MessageLogDBO.getStatus().public java.sql.Timestamp getCreatedTime()
HL7MessageLogDBO
getCreatedTime in interface HL7MessageLogDBOHL7MessageLogDBO.getCreatedTime().public java.sql.Timestamp getLastUpdatedTime()
HL7MessageLogDBO
getLastUpdatedTime in interface HL7MessageLogDBOHL7MessageLogDBO.getLastUpdatedTime().public void setMessageId(java.lang.String messageId)
HL7MessageLogDBO
setMessageId in interface HL7MessageLogDBOmessageId - string valuecom.stc.connector.hl7.framework.persist.dbo.HL7MessageLogDBO#setMessageId().public void setApplicationId(java.lang.String applicationId)
HL7MessageLogDBO
setApplicationId in interface HL7MessageLogDBOapplicationId - string valuecom.stc.connector.hl7.framework.persist.dbo.HL7MessageLogDBO#setApplicationId().
public void setRequestMessage(java.lang.String requestMessage)
throws java.sql.SQLException
HL7MessageLogDBO
setRequestMessage in interface HL7MessageLogDBOrequestMessage - string value
java.sql.SQLException - SQLExceptioncom.stc.connector.hl7.framework.persist.dbo.HL7MessageLogDBO#setRequestMessage().
public void setResponseMessage(java.lang.String responseMessage)
throws java.sql.SQLException
HL7MessageLogDBO
setResponseMessage in interface HL7MessageLogDBOresponseMessage - string value
java.sql.SQLException - SQLExceptioncom.stc.connector.hl7.framework.persist.dbo.HL7MessageLogDBO#setResponseMessage().public void setStatus(int status)
HL7MessageLogDBO
setStatus in interface HL7MessageLogDBOstatus - integer valuecom.stc.connector.hl7.framework.persist.dbo.HL7MessageLogDBO#setStatus().public void setCreatedTime(java.sql.Timestamp createdTime)
HL7MessageLogDBO
setCreatedTime in interface HL7MessageLogDBOcreatedTime - TimeStamp valuecom.stc.connector.hl7.framework.persist.dbo.HL7MessageLogDBO#setCreatedTime().public void setLastUpdatedTime(java.sql.Timestamp lastUpdatedTime)
HL7MessageLogDBO
setLastUpdatedTime in interface HL7MessageLogDBOlastUpdatedTime - TimeStamp valuecom.stc.connector.hl7.framework.persist.dbo.HL7MessageLogDBO#setLastUpdatedTime().public void setOldStatus(int status)
HL7MessageLogDBO
setOldStatus in interface HL7MessageLogDBOstatus - integer valuecom.stc.connector.hl7.framework.persist.dbo.HL7MessageLogDBO#setOldStatus().public int getOldStatus()
HL7MessageLogDBO
getOldStatus in interface HL7MessageLogDBOHL7MessageLogDBO.getOldStatus().
|
Sun Adapter for TCP/IP HL7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||