Class MValRule

    • Constructor Detail

      • 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 -
    • Method Detail

      • 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