Class MBank

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

public class MBank extends X_C_Bank implements ImmutablePOSupport
Bank Model
Version:
$Id: MBank.java,v 1.2 2006/07/30 00:51:05 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MBank

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

      public MBank(Properties ctx, int C_Bank_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      C_Bank_ID - bank
      trxName - trx
    • MBank

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

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

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

      public MBank(Properties ctx, MBank copy, String trxName)
      Copy constructor
      Parameters:
      ctx -
      copy -
      trxName -
    • MBank

      public MBank(Properties ctx, int C_Bank_ID, String trxName, String... virtualColumns)
      Parameters:
      ctx -
      C_Bank_ID -
      trxName -
      virtualColumns -
  • Method Details

    • get

      public static MBank get(int C_Bank_ID)
      Get MBank from Cache (immutable)
      Parameters:
      C_Bank_ID - id
      Returns:
      MBank
    • get

      public static MBank get(Properties ctx, int C_Bank_ID)
      Get MBank from Cache (immutable)
      Parameters:
      ctx - context
      C_Bank_ID - id
      Returns:
      MBank
    • getCopy

      public static MBank getCopy(Properties ctx, int C_Bank_ID, String trxName)
      Get updateable copy of MBank from cache
      Parameters:
      ctx -
      C_Bank_ID -
      trxName -
      Returns:
      MBank
    • markImmutable

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

      public String toString()
      String Representation
      Overrides:
      toString in class X_C_Bank
      Returns:
      info