Class X_C_Campaign

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_Campaign
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_Campaign, I_Persistent, Evaluatee
Direct Known Subclasses:
MCampaign

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

    • X_C_Campaign

      public X_C_Campaign(Properties ctx, int C_Campaign_ID, String trxName)
      Standard Constructor
    • X_C_Campaign

      public X_C_Campaign(Properties ctx, int C_Campaign_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_Campaign

      public X_C_Campaign(Properties ctx, String C_Campaign_UU, String trxName)
      Standard Constructor
    • X_C_Campaign

      public X_C_Campaign(Properties ctx, String C_Campaign_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_Campaign

      public X_C_Campaign(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:
      POInfo
    • toString

      public String toString()
      Description copied from class: PO
      String representation
      Overrides:
      toString in class PO
      Returns:
      String representation
    • setC_Campaign_ID

      public void setC_Campaign_ID(int C_Campaign_ID)
      Set Campaign.
      Specified by:
      setC_Campaign_ID in interface I_C_Campaign
      Parameters:
      C_Campaign_ID - Marketing Campaign
    • getC_Campaign_ID

      public int getC_Campaign_ID()
      Get Campaign.
      Specified by:
      getC_Campaign_ID in interface I_C_Campaign
      Returns:
      Marketing Campaign
    • setC_Campaign_UU

      public void setC_Campaign_UU(String C_Campaign_UU)
      Set C_Campaign_UU.
      Specified by:
      setC_Campaign_UU in interface I_C_Campaign
      Parameters:
      C_Campaign_UU - C_Campaign_UU
    • getC_Campaign_UU

      public String getC_Campaign_UU()
      Get C_Campaign_UU.
      Specified by:
      getC_Campaign_UU in interface I_C_Campaign
      Returns:
      C_Campaign_UU
    • getC_Channel

      public I_C_Channel getC_Channel() throws RuntimeException
      Specified by:
      getC_Channel in interface I_C_Campaign
      Throws:
      RuntimeException
    • setC_Channel_ID

      public void setC_Channel_ID(int C_Channel_ID)
      Set Channel.
      Specified by:
      setC_Channel_ID in interface I_C_Campaign
      Parameters:
      C_Channel_ID - Sales Channel
    • getC_Channel_ID

      public int getC_Channel_ID()
      Get Channel.
      Specified by:
      getC_Channel_ID in interface I_C_Campaign
      Returns:
      Sales Channel
    • setCosts

      public void setCosts(BigDecimal Costs)
      Set Costs.
      Specified by:
      setCosts in interface I_C_Campaign
      Parameters:
      Costs - Costs in accounting currency
    • getCosts

      public BigDecimal getCosts()
      Get Costs.
      Specified by:
      getCosts in interface I_C_Campaign
      Returns:
      Costs in accounting currency
    • setDescription

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

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

      public void setEndDate(Timestamp EndDate)
      Set End Date.
      Specified by:
      setEndDate in interface I_C_Campaign
      Parameters:
      EndDate - Last effective date (inclusive)
    • getEndDate

      public Timestamp getEndDate()
      Get End Date.
      Specified by:
      getEndDate in interface I_C_Campaign
      Returns:
      Last effective date (inclusive)
    • setIsSummary

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

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

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

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

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

      public void setStartDate(Timestamp StartDate)
      Set Start Date.
      Specified by:
      setStartDate in interface I_C_Campaign
      Parameters:
      StartDate - First effective day (inclusive)
    • getStartDate

      public Timestamp getStartDate()
      Get Start Date.
      Specified by:
      getStartDate in interface I_C_Campaign
      Returns:
      First effective day (inclusive)
    • setValue

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