Class X_AD_Val_Rule

    • Constructor Detail

      • X_AD_Val_Rule

        public X_AD_Val_Rule​(Properties ctx,
                             int AD_Val_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
      • 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
      • 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)