Class X_C_Greeting

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_Greeting
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_Greeting, I_Persistent, Evaluatee

public class X_C_Greeting extends PO implements I_C_Greeting, I_Persistent
Generated Model for C_Greeting
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Constructor Details

    • X_C_Greeting

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

      public X_C_Greeting(Properties ctx, int C_Greeting_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_Greeting

      public X_C_Greeting(Properties ctx, String C_Greeting_UU, String trxName)
      Standard Constructor
    • X_C_Greeting

      public X_C_Greeting(Properties ctx, String C_Greeting_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_Greeting

      public X_C_Greeting(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:
      3 - Client - Org
    • 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
    • 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
    • getC_Greeting_UU

      public String getC_Greeting_UU()
      Get C_Greeting_UU.
      Specified by:
      getC_Greeting_UU in interface I_C_Greeting
      Returns:
      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