Class MReference

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

public class MReference extends X_AD_Reference implements ImmutablePOSupport
See Also:
  • Constructor Details

    • MReference

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

      public MReference(Properties ctx, int AD_Reference_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      AD_Reference_ID - id
      trxName - trx
    • MReference

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

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

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

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

    • get

      public static MReference get(int AD_Reference_ID)
      Get from Cache (immutable)
      Parameters:
      AD_Reference_ID - id
      Returns:
      category
    • get

      public static MReference get(Properties ctx, int AD_Reference_ID)
      Get from Cache (immutable)
      Parameters:
      ctx - context
      AD_Reference_ID - id
      Returns:
      category
    • get

      public static MReference get(Properties ctx, int AD_Reference_ID, String trxName)
      Get from Cache (immutable)
      Parameters:
      ctx - context
      AD_Reference_ID - id
      trxName - trx
      Returns:
      category
    • markImmutable

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

      public boolean isShowInactiveRecords()
      Show inactive records
      Returns:
      true if this lookup reference should include inactive records