Class 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 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 - 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)
        Full Constructor
        Parameters:
        AD_PInstance_ID -
        Log_ID -
        P_Date -
        P_ID -
        P_Number -
        P_Msg -
        AD_Table_ID -
        Record_ID -
    • Method Detail

      • 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 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 -