Class MPOSKeyLayout

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

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

    • MPOSKeyLayout

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

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

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

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

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

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

    • get

      public static MPOSKeyLayout get(int C_POSKeyLayout_ID)
      Get POS Key Layout from Cache (immutable)
      Parameters:
      C_POSKeyLayout_ID - id
      Returns:
      MPOSKeyLayout
    • get

      public static MPOSKeyLayout get(Properties ctx, int C_POSKeyLayout_ID)
      Get POS Key Layout from Cache (immutable)
      Parameters:
      ctx - context
      C_POSKeyLayout_ID - id
      Returns:
      MPOSKeyLayout
    • getKeys

      public MPOSKey[] getKeys(boolean requery)
      Get POS Keys
      Parameters:
      requery - requery
      Returns:
      array of MPOSKey
    • getNoOfKeys

      public int getNoOfKeys()
      Get Number of Keys
      Returns:
      keys
    • markImmutable

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