Class MPOSKey

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

public class MPOSKey extends X_C_POSKey implements ImmutablePOSupport
POS Function Key Model
Version:
$Id: MPOSKey.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MPOSKey

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

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

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

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

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

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

    • postDelete

      protected boolean postDelete()
      Description copied from class: PO
      Execute after the Delete operation have been committed to database.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      postDelete in class PO
      Returns:
      true if post delete is a success
    • markImmutable

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