Class X_C_Period

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_Period
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_Period, I_Persistent, Evaluatee
Direct Known Subclasses:
MPeriod

public class X_C_Period extends PO implements I_C_Period, I_Persistent
Generated Model for C_Period
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Field Details

    • PERIODTYPE_AD_Reference_ID

      public static final int PERIODTYPE_AD_Reference_ID
      PeriodType AD_Reference_ID=115
      See Also:
    • PERIODTYPE_AdjustmentPeriod

      public static final String PERIODTYPE_AdjustmentPeriod
      Adjustment Period = A
      See Also:
    • PERIODTYPE_StandardCalendarPeriod

      public static final String PERIODTYPE_StandardCalendarPeriod
      Standard Calendar Period = S
      See Also:
  • Constructor Details

    • X_C_Period

      public X_C_Period(Properties ctx, int C_Period_ID, String trxName)
      Standard Constructor
    • X_C_Period

      public X_C_Period(Properties ctx, int C_Period_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_Period

      public X_C_Period(Properties ctx, String C_Period_UU, String trxName)
      Standard Constructor
    • X_C_Period

      public X_C_Period(Properties ctx, String C_Period_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_C_Period

      public X_C_Period(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:
      2 - Client
    • 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_Period_ID

      public void setC_Period_ID(int C_Period_ID)
      Set Period.
      Specified by:
      setC_Period_ID in interface I_C_Period
      Parameters:
      C_Period_ID - Period of the Calendar
    • getC_Period_ID

      public int getC_Period_ID()
      Get Period.
      Specified by:
      getC_Period_ID in interface I_C_Period
      Returns:
      Period of the Calendar
    • setC_Period_UU

      public void setC_Period_UU(String C_Period_UU)
      Set C_Period_UU.
      Specified by:
      setC_Period_UU in interface I_C_Period
      Parameters:
      C_Period_UU - C_Period_UU
    • getC_Period_UU

      public String getC_Period_UU()
      Get C_Period_UU.
      Specified by:
      getC_Period_UU in interface I_C_Period
      Returns:
      C_Period_UU
    • getC_Year

      public I_C_Year getC_Year() throws RuntimeException
      Specified by:
      getC_Year in interface I_C_Period
      Throws:
      RuntimeException
    • setC_Year_ID

      public void setC_Year_ID(int C_Year_ID)
      Set Year.
      Specified by:
      setC_Year_ID in interface I_C_Period
      Parameters:
      C_Year_ID - Calendar Year
    • getC_Year_ID

      public int getC_Year_ID()
      Get Year.
      Specified by:
      getC_Year_ID in interface I_C_Period
      Returns:
      Calendar Year
    • setEndDate

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

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

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

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

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

      public void setPeriodNo(int PeriodNo)
      Set Period No.
      Specified by:
      setPeriodNo in interface I_C_Period
      Parameters:
      PeriodNo - Unique Period Number
    • getPeriodNo

      public int getPeriodNo()
      Get Period No.
      Specified by:
      getPeriodNo in interface I_C_Period
      Returns:
      Unique Period Number
    • setPeriodType

      public void setPeriodType(String PeriodType)
      Set Period Type.
      Specified by:
      setPeriodType in interface I_C_Period
      Parameters:
      PeriodType - Period Type
    • getPeriodType

      public String getPeriodType()
      Get Period Type.
      Specified by:
      getPeriodType in interface I_C_Period
      Returns:
      Period Type
    • setProcessing

      public void setProcessing(boolean Processing)
      Set Process Now.
      Specified by:
      setProcessing in interface I_C_Period
      Parameters:
      Processing - Process Now
    • isProcessing

      public boolean isProcessing()
      Get Process Now.
      Specified by:
      isProcessing in interface I_C_Period
      Returns:
      Process Now
    • setStartDate

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

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