Class X_AD_Val_Rule

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_Val_Rule
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_Val_Rule, I_Persistent, Evaluatee
Direct Known Subclasses:
MValRule

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

  • Constructor Details

    • X_AD_Val_Rule

      public X_AD_Val_Rule(Properties ctx, int AD_Val_Rule_ID, String trxName)
      Standard Constructor
    • X_AD_Val_Rule

      public X_AD_Val_Rule(Properties ctx, int AD_Val_Rule_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_AD_Val_Rule

      public X_AD_Val_Rule(Properties ctx, String AD_Val_Rule_UU, String trxName)
      Standard Constructor
    • X_AD_Val_Rule

      public X_AD_Val_Rule(Properties ctx, String AD_Val_Rule_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_AD_Val_Rule

      public X_AD_Val_Rule(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
  • Method Details

    • get_AccessLevel

      protected int get_AccessLevel()
      AccessLevel
      Specified by:
      get_AccessLevel in class PO
      Returns:
      6 - System - Client
    • 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
    • setAD_Val_Rule_ID

      public void setAD_Val_Rule_ID(int AD_Val_Rule_ID)
      Set Dynamic Validation.
      Specified by:
      setAD_Val_Rule_ID in interface I_AD_Val_Rule
      Parameters:
      AD_Val_Rule_ID - Dynamic Validation Rule
    • getAD_Val_Rule_ID

      public int getAD_Val_Rule_ID()
      Get Dynamic Validation.
      Specified by:
      getAD_Val_Rule_ID in interface I_AD_Val_Rule
      Returns:
      Dynamic Validation Rule
    • setAD_Val_Rule_UU

      public void setAD_Val_Rule_UU(String AD_Val_Rule_UU)
      Set AD_Val_Rule_UU.
      Specified by:
      setAD_Val_Rule_UU in interface I_AD_Val_Rule
      Parameters:
      AD_Val_Rule_UU - AD_Val_Rule_UU
    • getAD_Val_Rule_UU

      public String getAD_Val_Rule_UU()
      Get AD_Val_Rule_UU.
      Specified by:
      getAD_Val_Rule_UU in interface I_AD_Val_Rule
      Returns:
      AD_Val_Rule_UU
    • setCode

      public void setCode(String Code)
      Set Validation code.
      Specified by:
      setCode in interface I_AD_Val_Rule
      Parameters:
      Code - Validation Code
    • getCode

      public String getCode()
      Get Validation code.
      Specified by:
      getCode in interface I_AD_Val_Rule
      Returns:
      Validation Code
    • setDescription

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

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

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

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

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

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

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

      public void setType(String Type)
      Set Type.
      Specified by:
      setType in interface I_AD_Val_Rule
      Parameters:
      Type - Type of Validation (SQL, Java Script, Java Language)
    • getType

      public String getType()
      Get Type.
      Specified by:
      getType in interface I_AD_Val_Rule
      Returns:
      Type of Validation (SQL, Java Script, Java Language)