Class MProcessDrillRulePara

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_Process_DrillRule_Para, I_Persistent, Evaluatee, ImmutablePOSupport, IProcessParameter

public class MProcessDrillRulePara extends X_AD_Process_DrillRule_Para implements ImmutablePOSupport, IProcessParameter
Process drill rule parameter model
Author:
Igor Pojzl, Cloudempiere, Peter Takacs, Cloudempiere
See Also:
  • Constructor Details

    • MProcessDrillRulePara

      public MProcessDrillRulePara(Properties ctx, String AD_Process_DrillRule_Para_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      AD_Process_DrillRule_Para_UU - UUID key
      trxName - Transaction
    • MProcessDrillRulePara

      public MProcessDrillRulePara(Properties ctx, int AD_Process_DrillRule_Para_ID, String trxName)
      Parameters:
      ctx -
      AD_Process_DrillRule_Para_ID -
      trxName -
    • MProcessDrillRulePara

      public MProcessDrillRulePara(Properties ctx, int AD_Process_DrillRule_Para_ID, String trxName, String[] virtualColumns)
      Parameters:
      ctx -
      AD_Process_DrillRule_Para_ID -
      trxName -
      virtualColumns -
    • MProcessDrillRulePara

      public MProcessDrillRulePara(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
  • Method Details

    • getColumnName

      public String getColumnName()
      Get Parameter Column Name
      Returns:
      column name
    • getDisplayType

      public int getDisplayType()
      Get Display Type
      Returns:
      display type
    • markImmutable

      public PO markImmutable()
      Description copied from interface: ImmutablePOSupport
      mark PO as immutable
      Specified by:
      markImmutable in interface ImmutablePOSupport
      Returns:
      PO
    • setParentID

      public void setParentID(int id)
      Description copied from interface: IProcessParameter
      Set ID of the parent table
      Specified by:
      setParentID in interface IProcessParameter
    • getParent

      public MProcessDrillRule getParent()
      Get Parent
      Returns:
      parent
    • afterSave

      protected boolean afterSave(boolean newRecord, boolean success)
      Description copied from class: PO
      Called after Save for Post-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      afterSave in class PO
      Parameters:
      newRecord - true if it is a new record
      success - true if save operation was success
      Returns:
      if save was a success
    • afterDelete

      protected boolean afterDelete(boolean success)
      Description copied from class: PO
      Execute after Delete operations.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      afterDelete in class PO
      Parameters:
      success - true if record deleted
      Returns:
      true if delete is a success