Class MPOSTerminal

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

public class MPOSTerminal extends X_U_POSTerminal
Author:
Ashley G Ramdass
See Also:
  • Constructor Details

    • MPOSTerminal

      public MPOSTerminal(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx - Context
      rs - Result Set
      trxName - Transaction
    • MPOSTerminal

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

      public MPOSTerminal(Properties ctx, int U_POSTerminal_ID, String trxName)
      Parameters:
      ctx -
      U_POSTerminal_ID -
      trxName -
    • MPOSTerminal

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

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

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

    • get

      public static MPOSTerminal get(int U_POSTerminal_ID)
      Parameters:
      U_POSTerminal_ID - Terminal ID
      Returns:
      Terminal
    • get

      public static MPOSTerminal get(Properties ctx, int U_POSTerminal_ID)
      Parameters:
      ctx - Context
      U_POSTerminal_ID - Terminal ID
      Returns:
      Terminal
    • loadComplete

      protected void loadComplete(boolean success)
      Description copied from class: PO
      Load is complete
      Overrides:
      loadComplete in class PO
      Parameters:
      success - success To be extended by sub-classes
    • checkLock

      public static void checkLock(MPOSTerminal terminal)
      Parameters:
      terminal -
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new record
      Returns:
      true if record can be saved
      See Also: