Class X_C_Greeting

    • Constructor Detail

      • X_C_Greeting

        public X_C_Greeting​(Properties ctx,
                            int C_Greeting_ID,
                            String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        3 - Client - Org
      • 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
      • setC_Greeting_ID

        public void setC_Greeting_ID​(int C_Greeting_ID)
        Set Greeting.
        Specified by:
        setC_Greeting_ID in interface I_C_Greeting
        Parameters:
        C_Greeting_ID - Greeting to print on correspondence
      • getC_Greeting_ID

        public int getC_Greeting_ID()
        Get Greeting.
        Specified by:
        getC_Greeting_ID in interface I_C_Greeting
        Returns:
        Greeting to print on correspondence
      • setC_Greeting_UU

        public void setC_Greeting_UU​(String C_Greeting_UU)
        Set C_Greeting_UU.
        Specified by:
        setC_Greeting_UU in interface I_C_Greeting
        Parameters:
        C_Greeting_UU - C_Greeting_UU
      • setGreeting

        public void setGreeting​(String Greeting)
        Set Greeting.
        Specified by:
        setGreeting in interface I_C_Greeting
        Parameters:
        Greeting - For letters, e.g. "Dear {0}" or "Dear Mr. {0}" - At runtime, "{0}" is replaced by the name
      • getGreeting

        public String getGreeting()
        Get Greeting.
        Specified by:
        getGreeting in interface I_C_Greeting
        Returns:
        For letters, e.g. "Dear {0}" or "Dear Mr. {0}" - At runtime, "{0}" is replaced by the name
      • setIsDefault

        public void setIsDefault​(boolean IsDefault)
        Set Default.
        Specified by:
        setIsDefault in interface I_C_Greeting
        Parameters:
        IsDefault - Default value
      • isDefault

        public boolean isDefault()
        Get Default.
        Specified by:
        isDefault in interface I_C_Greeting
        Returns:
        Default value
      • setIsFirstNameOnly

        public void setIsFirstNameOnly​(boolean IsFirstNameOnly)
        Set First name only.
        Specified by:
        setIsFirstNameOnly in interface I_C_Greeting
        Parameters:
        IsFirstNameOnly - Print only the first name in greetings
      • isFirstNameOnly

        public boolean isFirstNameOnly()
        Get First name only.
        Specified by:
        isFirstNameOnly in interface I_C_Greeting
        Returns:
        Print only the first name in greetings
      • setName

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

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

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