Package org.compiere.model
Class MPInstanceLog
java.lang.Object
org.compiere.model.MPInstanceLog
Process Instance Log Model.
(not standard table and not using PO)
- Version:
- $Id: MPInstanceLog.java,v 1.3 2006/07/30 00:58:18 jjanke Exp $
- Author:
- Jorg Janke
-
Constructor Summary
ConstructorDescriptionMPInstanceLog
(int AD_PInstance_ID, int Log_ID, Timestamp P_Date, int P_ID, BigDecimal P_Number, String P_Msg) MPInstanceLog
(int AD_PInstance_ID, int Log_ID, Timestamp P_Date, int P_ID, BigDecimal P_Number, String P_Msg, int AD_Table_ID, int Record_ID) MPInstanceLog
(int AD_PInstance_ID, int Log_ID, Timestamp P_Date, int P_ID, BigDecimal P_Number, String P_Msg, int AD_Table_ID, int Record_ID, String jsonData, String PInstanceLogType) MPInstanceLog
(String AD_PInstance_Log_UU, int AD_PInstance_ID, int Log_ID, Timestamp P_Date, int P_ID, BigDecimal P_Number, String P_Msg, int AD_Table_ID, int Record_ID, String jsonData, String PInstanceLogType) Full ConstructorLoad Constructor -
Method Summary
Modifier and TypeMethodDescriptionint
Get AD_PInstance_IDSet AD_PInstance_Log_UUint
Get Table IDGet JsonDataint
Get Log_IDGet P_Dateint
getP_ID()
Get P_IDgetP_Msg()
Get P_MsgGet P_NumberGet Log Typeint
Get Record IDboolean
save()
Save to Databasevoid
saveEx()
Save to Database, throw Exception if there are errors.void
setAD_PInstance_ID
(int AD_PInstance_ID) Set AD_PInstance_IDvoid
setAD_PInstance_Log_UU
(String m_AD_PInstance_Log_UU) Get AD_PInstance_Log_UUvoid
setAD_Table_ID
(int tableId) Set Table IDvoid
setJsonData
(String jsonData) Set JsonDatavoid
setLog_ID
(int Log_ID) Set Log_IDvoid
Set P_Datevoid
setP_ID
(int P_ID) Set P_IDvoid
Set P_Msgvoid
setP_Number
(BigDecimal P_Number) Set P_Numbervoid
setPInstanceLogType
(String m_PInstanceLogType) Set Log Typevoid
setRecord_ID
(int recordId) Set Record IDtoString()
String Representationboolean
update()
Update record in Databasevoid
updateEx()
Update record in Database, throw Exception if there are errors.
-
Constructor Details
-
MPInstanceLog
public MPInstanceLog(int AD_PInstance_ID, int Log_ID, Timestamp P_Date, int P_ID, BigDecimal P_Number, String P_Msg) - Parameters:
AD_PInstance_ID
- instanceLog_ID
- log sequenceP_Date
- dateP_ID
- idP_Number
- numberP_Msg
- msg
-
MPInstanceLog
public MPInstanceLog(int AD_PInstance_ID, int Log_ID, Timestamp P_Date, int P_ID, BigDecimal P_Number, String P_Msg, int AD_Table_ID, int Record_ID) - Parameters:
AD_PInstance_ID
-Log_ID
-P_Date
-P_ID
-P_Number
-P_Msg
-AD_Table_ID
-Record_ID
-
-
MPInstanceLog
public MPInstanceLog(int AD_PInstance_ID, int Log_ID, Timestamp P_Date, int P_ID, BigDecimal P_Number, String P_Msg, int AD_Table_ID, int Record_ID, String jsonData, String PInstanceLogType) - Parameters:
AD_PInstance_ID
-Log_ID
-P_Date
-P_ID
-P_Number
-P_Msg
-AD_Table_ID
-Record_ID
-PInstanceLogType
- Log Type X_AD_PInstance_Log.PINSTANCELOGTYPE_*
-
MPInstanceLog
public MPInstanceLog(String AD_PInstance_Log_UU, int AD_PInstance_ID, int Log_ID, Timestamp P_Date, int P_ID, BigDecimal P_Number, String P_Msg, int AD_Table_ID, int Record_ID, String jsonData, String PInstanceLogType) Full Constructor- Parameters:
AD_PInstance_Log_UU
-AD_PInstance_ID
-Log_ID
-P_Date
-P_ID
-P_Number
-P_Msg
-AD_Table_ID
-Record_ID
-PInstanceLogType
- Log Type X_AD_PInstance_Log.PINSTANCELOGTYPE_*
-
MPInstanceLog
Load Constructor- Parameters:
rs
- Result Set- Throws:
SQLException
-
-
Method Details
-
toString
String Representation -
save
public boolean save()Save to Database- Returns:
- true if saved
-
saveEx
public void saveEx()Save to Database, throw Exception if there are errors. -
update
public boolean update()Update record in Database- Returns:
- true if saved
-
updateEx
public void updateEx()Update record in Database, throw Exception if there are errors. -
getAD_PInstance_ID
public int getAD_PInstance_ID()Get AD_PInstance_ID- Returns:
- AD_PInstance_ID
-
setAD_PInstance_ID
public void setAD_PInstance_ID(int AD_PInstance_ID) Set AD_PInstance_ID- Parameters:
AD_PInstance_ID
- instance id
-
getLog_ID
public int getLog_ID()Get Log_ID- Returns:
- Log_ID
-
setLog_ID
public void setLog_ID(int Log_ID) Set Log_ID- Parameters:
Log_ID
- log id
-
getP_Date
Get P_Date- Returns:
- P_Date
-
setP_Date
Set P_Date- Parameters:
P_Date
- date
-
getP_ID
public int getP_ID()Get P_ID- Returns:
- P_ID
-
setP_ID
public void setP_ID(int P_ID) Set P_ID- Parameters:
P_ID
- id
-
getP_Number
Get P_Number- Returns:
- P_Number
-
setP_Number
Set P_Number- Parameters:
P_Number
- number
-
getP_Msg
Get P_Msg- Returns:
- P_Msg
-
setP_Msg
Set P_Msg- Parameters:
P_Msg
-
-
getAD_Table_ID
public int getAD_Table_ID()Get Table ID- Returns:
- AD_Table_ID
-
setAD_Table_ID
public void setAD_Table_ID(int tableId) Set Table ID- Parameters:
tableId
-
-
getRecord_ID
public int getRecord_ID()Get Record ID- Returns:
- Record_ID
-
setRecord_ID
public void setRecord_ID(int recordId) Set Record ID- Parameters:
recordId
-
-
getJsonData
Get JsonData- Returns:
- JsonData
-
setJsonData
Set JsonData- Parameters:
jsonData
-
-
getPInstanceLogType
Get Log Type- Returns:
- Instance Log Type (X_AD_PInstance_Log.PINSTANCELOGTYPE_*)
-
setPInstanceLogType
Set Log Type- Parameters:
m_PInstanceLogType
- X_AD_PInstance_Log.PINSTANCELOGTYPE_*
-
getAD_PInstance_Log_UU
Set AD_PInstance_Log_UU- Returns:
- String AD_PInstance_Log_UU
-
setAD_PInstance_Log_UU
Get AD_PInstance_Log_UU- Parameters:
m_AD_PInstance_Log_UU
-
-