Class MPInstanceLog

java.lang.Object
org.compiere.model.MPInstanceLog

public class MPInstanceLog extends Object
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 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 - instance
      Log_ID - log sequence
      P_Date - date
      P_ID - id
      P_Number - number
      P_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

      public MPInstanceLog(ResultSet rs) throws SQLException
      Load Constructor
      Parameters:
      rs - Result Set
      Throws:
      SQLException
  • Method Details

    • toString

      public String toString()
      String Representation
      Overrides:
      toString in class Object
      Returns:
      info
    • 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

      public Timestamp getP_Date()
      Get P_Date
      Returns:
      P_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:
      P_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:
      P_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:
      P_Msg
    • 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:
      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

      public String getJsonData()
      Get JsonData
      Returns:
      JsonData
    • setJsonData

      public void setJsonData(String jsonData)
      Set JsonData
      Parameters:
      jsonData -
    • getPInstanceLogType

      public String getPInstanceLogType()
      Get Log Type
      Returns:
      Instance Log Type (X_AD_PInstance_Log.PINSTANCELOGTYPE_*)
    • setPInstanceLogType

      public void setPInstanceLogType(String m_PInstanceLogType)
      Set Log Type
      Parameters:
      m_PInstanceLogType - X_AD_PInstance_Log.PINSTANCELOGTYPE_*
    • getAD_PInstance_Log_UU

      public String getAD_PInstance_Log_UU()
      Set AD_PInstance_Log_UU
      Returns:
      String AD_PInstance_Log_UU
    • setAD_PInstance_Log_UU

      public void setAD_PInstance_Log_UU(String m_AD_PInstance_Log_UU)
      Get AD_PInstance_Log_UU
      Parameters:
      m_AD_PInstance_Log_UU -