Class X_C_SalesRegion

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_SalesRegion
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_SalesRegion, I_Persistent, Evaluatee
Direct Known Subclasses:
MSalesRegion

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

    • X_C_SalesRegion

      public X_C_SalesRegion(Properties ctx, int C_SalesRegion_ID, String trxName)
      Standard Constructor
    • X_C_SalesRegion

      public X_C_SalesRegion(Properties ctx, int C_SalesRegion_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_SalesRegion

      public X_C_SalesRegion(Properties ctx, String C_SalesRegion_UU, String trxName)
      Standard Constructor
    • X_C_SalesRegion

      public X_C_SalesRegion(Properties ctx, String C_SalesRegion_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_SalesRegion

      public X_C_SalesRegion(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_SalesRegion_ID

      public void setC_SalesRegion_ID(int C_SalesRegion_ID)
      Set Sales Region.
      Specified by:
      setC_SalesRegion_ID in interface I_C_SalesRegion
      Parameters:
      C_SalesRegion_ID - Sales coverage region
    • getC_SalesRegion_ID

      public int getC_SalesRegion_ID()
      Get Sales Region.
      Specified by:
      getC_SalesRegion_ID in interface I_C_SalesRegion
      Returns:
      Sales coverage region
    • setC_SalesRegion_UU

      public void setC_SalesRegion_UU(String C_SalesRegion_UU)
      Set C_SalesRegion_UU.
      Specified by:
      setC_SalesRegion_UU in interface I_C_SalesRegion
      Parameters:
      C_SalesRegion_UU - C_SalesRegion_UU
    • getC_SalesRegion_UU

      public String getC_SalesRegion_UU()
      Get C_SalesRegion_UU.
      Specified by:
      getC_SalesRegion_UU in interface I_C_SalesRegion
      Returns:
      C_SalesRegion_UU
    • setDescription

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

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

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

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

      public void setIsSummary(boolean IsSummary)
      Set Summary Level.
      Specified by:
      setIsSummary in interface I_C_SalesRegion
      Parameters:
      IsSummary - This is a summary entity
    • isSummary

      public boolean isSummary()
      Get Summary Level.
      Specified by:
      isSummary in interface I_C_SalesRegion
      Returns:
      This is a summary entity
    • setName

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

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

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

      public I_AD_User getSalesRep() throws RuntimeException
      Specified by:
      getSalesRep in interface I_C_SalesRegion
      Throws:
      RuntimeException
    • setSalesRep_ID

      public void setSalesRep_ID(int SalesRep_ID)
      Set Sales Representative.
      Specified by:
      setSalesRep_ID in interface I_C_SalesRegion
      Parameters:
      SalesRep_ID - Sales Representative or Company Agent
    • getSalesRep_ID

      public int getSalesRep_ID()
      Get Sales Representative.
      Specified by:
      getSalesRep_ID in interface I_C_SalesRegion
      Returns:
      Sales Representative or Company Agent
    • setValue

      public void setValue(String Value)
      Set Search Key.
      Specified by:
      setValue in interface I_C_SalesRegion
      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_C_SalesRegion
      Returns:
      Search key for the record in the format required - must be unique