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)
      Before Save
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new
      Returns:
      true
    • beforeDelete

      protected boolean beforeDelete()
      Before Delete
      Overrides:
      beforeDelete in class PO
      Returns:
      true if it can be deleted