Class MSalesRegion

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

public class MSalesRegion extends X_C_SalesRegion implements ImmutablePOSupport
Sales Region Model
Version:
$Id: MSalesRegion.java,v 1.3 2006/07/30 00:54:54 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MSalesRegion

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

      public MSalesRegion(Properties ctx, int C_SalesRegion_ID, String trxName)
      Default Constructor
      Parameters:
      ctx - context
      C_SalesRegion_ID - id
      trxName - transaction
    • MSalesRegion

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

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

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

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

    • get

      public static MSalesRegion get(int C_SalesRegion_ID)
      Get SalesRegion from Cache (immutable)
      Parameters:
      C_SalesRegion_ID - id
      Returns:
      MSalesRegion
    • get

      public static MSalesRegion get(Properties ctx, int C_SalesRegion_ID)
      Get SalesRegion from Cache (immutable)
      Parameters:
      ctx - context
      C_SalesRegion_ID - id
      Returns:
      MSalesRegion
    • afterSave

      protected boolean afterSave(boolean newRecord, boolean success)
      After Save. Insert - create tree
      Overrides:
      afterSave in class PO
      Parameters:
      newRecord - insert
      success - save success
      Returns:
      success
    • afterDelete

      protected boolean afterDelete(boolean success)
      After Delete
      Overrides:
      afterDelete in class PO
      Parameters:
      success -
      Returns:
      deleted
    • markImmutable

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