Package org.compiere.model
Class MPInstanceLog
- java.lang.Object
-
- org.compiere.model.MPInstanceLog
-
public class MPInstanceLog extends Object
Process Instance Log Model. (not standard table)- Version:
- $Id: MPInstanceLog.java,v 1.3 2006/07/30 00:58:18 jjanke Exp $
- Author:
- Jorg Janke
-
-
Constructor Summary
Constructors Constructor Description MPInstanceLog(int AD_PInstance_ID, int Log_ID, Timestamp P_Date, int P_ID, BigDecimal P_Number, String P_Msg)
Constructor without Table/RecordMPInstanceLog(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)
Full ConstructorMPInstanceLog(ResultSet rs)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAD_PInstance_ID()
Get AD_PInstance_IDint
getAD_Table_ID()
Get Table IDint
getLog_ID()
Get Log_IDTimestamp
getP_Date()
Get P_Dateint
getP_ID()
Get P_IDString
getP_Msg()
Get P_MsgBigDecimal
getP_Number()
Get P_Numberint
getRecord_ID()
Get Record IDboolean
save()
Save to Databasevoid
saveEx()
Save to Database throwing Exceptionvoid
setAD_PInstance_ID(int AD_PInstance_ID)
Set AD_PInstance_IDvoid
setAD_Table_ID(int tableId)
Set Table IDvoid
setLog_ID(int Log_ID)
Set Log_IDvoid
setP_Date(Timestamp P_Date)
Set P_Datevoid
setP_ID(int P_ID)
Set P_IDvoid
setP_Msg(String P_Msg)
Set P_Msgvoid
setP_Number(BigDecimal P_Number)
Set P_Numbervoid
setRecord_ID(int recordId)
Set Record IDString
toString()
String Representation
-
-
-
Constructor Detail
-
MPInstanceLog
public MPInstanceLog(int AD_PInstance_ID, int Log_ID, Timestamp P_Date, int P_ID, BigDecimal P_Number, String P_Msg)
Constructor without Table/Record- 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)
Full Constructor- Parameters:
AD_PInstance_ID
-Log_ID
-P_Date
-P_ID
-P_Number
-P_Msg
-AD_Table_ID
-Record_ID
-
-
MPInstanceLog
public MPInstanceLog(ResultSet rs) throws SQLException
Load Constructor- Parameters:
rs
- Result Set- Throws:
SQLException
-
-
Method Detail
-
toString
public String toString()
String Representation
-
save
public boolean save()
Save to Database- Returns:
- true if saved
-
saveEx
public void saveEx()
Save to Database throwing Exception
-
getAD_PInstance_ID
public int getAD_PInstance_ID()
Get AD_PInstance_ID- Returns:
- Instance 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
public Timestamp getP_Date()
Get P_Date- Returns:
- date
-
setP_Date
public void setP_Date(Timestamp P_Date)
Set P_Date- Parameters:
P_Date
- date
-
getP_ID
public int getP_ID()
Get P_ID- Returns:
- id
-
setP_ID
public void setP_ID(int P_ID)
Set P_ID- Parameters:
P_ID
- id
-
getP_Number
public BigDecimal getP_Number()
Get P_Number- Returns:
- number
-
setP_Number
public void setP_Number(BigDecimal P_Number)
Set P_Number- Parameters:
P_Number
- number
-
getP_Msg
public String getP_Msg()
Get P_Msg- Returns:
- Mag
-
setP_Msg
public void setP_Msg(String P_Msg)
Set P_Msg- Parameters:
P_Msg
-
-
getAD_Table_ID
public int getAD_Table_ID()
Get Table ID- Returns:
- 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
-
-
-