Class X_AD_Rule

    • Field Detail

      • ACCESSLEVEL_AD_Reference_ID

        public static final int ACCESSLEVEL_AD_Reference_ID
        AccessLevel AD_Reference_ID=5
        See Also:
        Constant Field Values
      • ACCESSLEVEL_ClientPlusOrganization

        public static final String ACCESSLEVEL_ClientPlusOrganization
        Client+Organization = 3
        See Also:
        Constant Field Values
      • ACCESSLEVEL_SystemPlusClient

        public static final String ACCESSLEVEL_SystemPlusClient
        System+Client = 6
        See Also:
        Constant Field Values
      • ENTITYTYPE_AD_Reference_ID

        public static final int ENTITYTYPE_AD_Reference_ID
        EntityType AD_Reference_ID=389
        See Also:
        Constant Field Values
      • EVENTTYPE_AD_Reference_ID

        public static final int EVENTTYPE_AD_Reference_ID
        EventType AD_Reference_ID=53236
        See Also:
        Constant Field Values
      • EVENTTYPE_ModelValidatorDocumentEvent

        public static final String EVENTTYPE_ModelValidatorDocumentEvent
        Model Validator Document Event = D
        See Also:
        Constant Field Values
      • EVENTTYPE_HumanResourcePayroll

        public static final String EVENTTYPE_HumanResourcePayroll
        Human Resource & Payroll = H
        See Also:
        Constant Field Values
      • EVENTTYPE_ModelValidatorLoginEvent

        public static final String EVENTTYPE_ModelValidatorLoginEvent
        Model Validator Login Event = L
        See Also:
        Constant Field Values
      • EVENTTYPE_MeasureForPerformanceAnalysis

        public static final String EVENTTYPE_MeasureForPerformanceAnalysis
        Measure for Performance Analysis = M
        See Also:
        Constant Field Values
      • EVENTTYPE_GLReconciliation

        public static final String EVENTTYPE_GLReconciliation
        GL Reconciliation = R
        See Also:
        Constant Field Values
      • EVENTTYPE_ModelValidatorTableEvent

        public static final String EVENTTYPE_ModelValidatorTableEvent
        Model Validator Table Event = T
        See Also:
        Constant Field Values
      • RULETYPE_AD_Reference_ID

        public static final int RULETYPE_AD_Reference_ID
        RuleType AD_Reference_ID=53235
        See Also:
        Constant Field Values
      • RULETYPE_AspectOrientProgram

        public static final String RULETYPE_AspectOrientProgram
        Aspect Orient Program = A
        See Also:
        Constant Field Values
      • RULETYPE_JSR94RuleEngineAPI

        public static final String RULETYPE_JSR94RuleEngineAPI
        JSR 94 Rule Engine API = R
        See Also:
        Constant Field Values
      • RULETYPE_JSR223ScriptingAPIs

        public static final String RULETYPE_JSR223ScriptingAPIs
        JSR 223 Scripting APIs = S
        See Also:
        Constant Field Values
    • Constructor Detail

      • X_AD_Rule

        public X_AD_Rule​(Properties ctx,
                         int AD_Rule_ID,
                         String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        4 - System
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setAccessLevel

        public void setAccessLevel​(String AccessLevel)
        Set Data Access Level.
        Specified by:
        setAccessLevel in interface I_AD_Rule
        Parameters:
        AccessLevel - Access Level required
      • getAccessLevel

        public String getAccessLevel()
        Get Data Access Level.
        Specified by:
        getAccessLevel in interface I_AD_Rule
        Returns:
        Access Level required
      • setAD_Rule_ID

        public void setAD_Rule_ID​(int AD_Rule_ID)
        Set Rule.
        Specified by:
        setAD_Rule_ID in interface I_AD_Rule
        Parameters:
        AD_Rule_ID - Rule
      • getAD_Rule_ID

        public int getAD_Rule_ID()
        Get Rule.
        Specified by:
        getAD_Rule_ID in interface I_AD_Rule
        Returns:
        Rule
      • setAD_Rule_UU

        public void setAD_Rule_UU​(String AD_Rule_UU)
        Set AD_Rule_UU.
        Specified by:
        setAD_Rule_UU in interface I_AD_Rule
        Parameters:
        AD_Rule_UU - AD_Rule_UU
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_AD_Rule
        Parameters:
        Description - Optional short description of the record
      • getDescription

        public String getDescription()
        Get Description.
        Specified by:
        getDescription in interface I_AD_Rule
        Returns:
        Optional short description of the record
      • setEntityType

        public void setEntityType​(String EntityType)
        Set Entity Type.
        Specified by:
        setEntityType in interface I_AD_Rule
        Parameters:
        EntityType - Dictionary Entity Type; Determines ownership and synchronization
      • getEntityType

        public String getEntityType()
        Get Entity Type.
        Specified by:
        getEntityType in interface I_AD_Rule
        Returns:
        Dictionary Entity Type; Determines ownership and synchronization
      • setEventType

        public void setEventType​(String EventType)
        Set Event Type.
        Specified by:
        setEventType in interface I_AD_Rule
        Parameters:
        EventType - Type of Event
      • getEventType

        public String getEventType()
        Get Event Type.
        Specified by:
        getEventType in interface I_AD_Rule
        Returns:
        Type of Event
      • setHelp

        public void setHelp​(String Help)
        Set Comment/Help.
        Specified by:
        setHelp in interface I_AD_Rule
        Parameters:
        Help - Comment or Hint
      • getHelp

        public String getHelp()
        Get Comment/Help.
        Specified by:
        getHelp in interface I_AD_Rule
        Returns:
        Comment or Hint
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_AD_Rule
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_AD_Rule
        Returns:
        Alphanumeric identifier of the entity
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair
      • setRuleType

        public void setRuleType​(String RuleType)
        Set Rule Type.
        Specified by:
        setRuleType in interface I_AD_Rule
        Parameters:
        RuleType - Rule Type
      • setScript

        public void setScript​(String Script)
        Set Script.
        Specified by:
        setScript in interface I_AD_Rule
        Parameters:
        Script - Dynamic Java Language Script to calculate result
      • getScript

        public String getScript()
        Get Script.
        Specified by:
        getScript in interface I_AD_Rule
        Returns:
        Dynamic Java Language Script to calculate result
      • setValue

        public void setValue​(String Value)
        Set Search Key.
        Specified by:
        setValue in interface I_AD_Rule
        Parameters:
        Value - Search key for the record in the format required - must be unique
      • getValue

        public String getValue()
        Get Search Key.
        Specified by:
        getValue in interface I_AD_Rule
        Returns:
        Search key for the record in the format required - must be unique