Class MValRule

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

public class MValRule extends X_AD_Val_Rule implements ImmutablePOSupport
Persistent Validation Rule Model
Version:
$Id: MValRule.java
Author:
Carlos Ruiz
See Also:
  • Constructor Details

    • MValRule

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

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

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

      public MValRule(MValRule copy)
      Parameters:
      copy -
    • MValRule

      public MValRule(Properties ctx, MValRule copy)
      Parameters:
      ctx -
      copy -
    • MValRule

      public MValRule(Properties ctx, MValRule copy, String trxName)
      Parameters:
      ctx -
      copy -
      trxName -
  • Method Details

    • get

      public static MValRule get(int AD_Val_Rule_ID)
      Get Rule from Cache (immutable)
      Parameters:
      AD_Val_Rule_ID - id
      Returns:
      MValRule
    • get

      public static MValRule get(Properties ctx, int AD_Val_Rule_ID)
      Get Rule from Cache (immutable)
      Parameters:
      ctx - context
      AD_Val_Rule_ID - id
      Returns:
      MValRule
    • get

      public static MValRule get(Properties ctx, int AD_Val_Rule_ID, String trxName)
      Get Rule from Cache (immutable)
      Parameters:
      ctx - context
      AD_Val_Rule_ID - id
      trxName -
      Returns:
      MValRule
    • getCopy

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

      public MValRule 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_AD_Val_Rule
      Returns:
      info