Class MDiscountSchemaLine

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

public class MDiscountSchemaLine extends X_M_DiscountSchemaLine implements ImmutablePOSupport
Discount Schema Line (Price List) Model
Version:
$Id: MDiscountSchemaLine.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MDiscountSchemaLine

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

      public MDiscountSchemaLine(Properties ctx, int M_DiscountSchemaLine_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      M_DiscountSchemaLine_ID - id
      trxName - transaction
    • MDiscountSchemaLine

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

      public MDiscountSchemaLine(MDiscountSchemaLine copy)
      Copy constructor
      Parameters:
      copy -
    • MDiscountSchemaLine

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

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

    • markImmutable

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

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - true if it is a new record
      Returns:
      true if record can be saved