Class MCostType

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

public class MCostType extends X_M_CostType
Cost Type Model
Version:
$Id: MCostType.java,v 1.2 2006/07/30 00:58:38 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MCostType

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

      public MCostType(Properties ctx, int M_CostType_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      M_CostType_ID - id
      trxName - trx
    • MCostType

      public MCostType(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result set
      trxName - trx
  • Method Details

    • toString

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

      protected boolean beforeDelete()
      Description copied from class: PO
      Execute before Delete operations.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeDelete in class PO
      Returns:
      true if record can be deleted