Class X_AD_Rule

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_Rule
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_Rule, I_Persistent, Evaluatee
Direct Known Subclasses:
MRule

public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent
Generated Model for AD_Rule
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Field Details

    • ACCESSLEVEL_AD_Reference_ID

      public static final int ACCESSLEVEL_AD_Reference_ID
      AccessLevel AD_Reference_ID=5
      See Also:
    • ACCESSLEVEL_Organization

      public static final String ACCESSLEVEL_Organization
      Organization = 1
      See Also:
    • ACCESSLEVEL_ClientOnly

      public static final String ACCESSLEVEL_ClientOnly
      Client only = 2
      See Also:
    • ACCESSLEVEL_ClientPlusOrganization

      public static final String ACCESSLEVEL_ClientPlusOrganization
      Client+Organization = 3
      See Also:
    • ACCESSLEVEL_SystemOnly

      public static final String ACCESSLEVEL_SystemOnly
      System only = 4
      See Also:
    • ACCESSLEVEL_SystemPlusClient

      public static final String ACCESSLEVEL_SystemPlusClient
      System+Client = 6
      See Also:
    • ACCESSLEVEL_All

      public static final String ACCESSLEVEL_All
      All = 7
      See Also:
    • ENTITYTYPE_AD_Reference_ID

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

      public static final int EVENTTYPE_AD_Reference_ID
      EventType AD_Reference_ID=53236
      See Also:
    • EVENTTYPE_Callout

      public static final String EVENTTYPE_Callout
      Callout = C
      See Also:
    • EVENTTYPE_ModelValidatorDocumentEvent

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

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

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

      public static final String EVENTTYPE_MeasureForPerformanceAnalysis
      Measure for Performance Analysis = M
      See Also:
    • EVENTTYPE_Process

      public static final String EVENTTYPE_Process
      Process = P
      See Also:
    • EVENTTYPE_GLReconciliation

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

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

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

      public static final String RULETYPE_AspectOrientProgram
      Aspect Orient Program = A
      See Also:
    • RULETYPE_SQL

      public static final String RULETYPE_SQL
      SQL = Q
      See Also:
    • RULETYPE_JSR94RuleEngineAPI

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

      public static final String RULETYPE_JSR223ScriptingAPIs
      JSR 223 Scripting APIs = S
      See Also:
  • Constructor Details

  • Method Details

    • 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:
      Meta data of PO
    • 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
    • getAD_Rule_UU

      public String getAD_Rule_UU()
      Get AD_Rule_UU.
      Specified by:
      getAD_Rule_UU in interface I_AD_Rule
      Returns:
      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
    • getRuleType

      public String getRuleType()
      Get Rule Type.
      Specified by:
      getRuleType in interface I_AD_Rule
      Returns:
      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