Class MForm

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

public class MForm extends X_AD_Form implements ImmutablePOSupport
Form Model
Version:
$Id: MForm.java,v 1.3 2006/07/30 00:51:02 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MForm

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

      public MForm(Properties ctx, int AD_Form_ID, String trxName)
      Default Constructor
      Parameters:
      ctx - context
      AD_Form_ID - id
      trxName - transaction
    • MForm

      public MForm(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result set
      trxName - transaction
    • MForm

      public MForm(Properties ctx, MForm copy)
      Copy constructor
      Parameters:
      ctx -
      copy -
    • MForm

      public MForm(Properties ctx, MForm copy, String trxName)
      Copy constructor
      Parameters:
      ctx -
      copy -
      trxName -
  • Method Details

    • get

      public static MForm get(int AD_Form_ID)
      Get MForm from Cache (immutable)
      Parameters:
      AD_Form_ID - id
      Returns:
      MForm
    • get

      public static MForm get(Properties ctx, int AD_Form_ID)
      Get MFrom from Cache (immutable)
      Parameters:
      ctx - context
      AD_Form_ID - id
      Returns:
      MForm
    • 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
    • markImmutable

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