Package org.compiere.model
Class X_C_Recurring
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_C_Recurring
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_Recurring
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MRecurring
public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent
Generated Model for C_Recurring- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
FREQUENCYTYPE_AD_Reference_ID
FrequencyType AD_Reference_ID=283static String
FREQUENCYTYPE_Daily
Daily = Dstatic String
FREQUENCYTYPE_Monthly
Monthly = Mstatic String
FREQUENCYTYPE_Quarterly
Quarterly = Qstatic String
FREQUENCYTYPE_Weekly
Weekly = Wstatic int
RECURRINGTYPE_AD_Reference_ID
RecurringType AD_Reference_ID=282static String
RECURRINGTYPE_GLJournal
GL Journal = Gstatic String
RECURRINGTYPE_Invoice
Invoice = Istatic String
RECURRINGTYPE_Order
Order = Ostatic String
RECURRINGTYPE_Payment
Payment = Pstatic String
RECURRINGTYPE_Project
Project = J-
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_C_Recurring
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_Invoice_ID, COLUMNNAME_C_Order_ID, COLUMNNAME_C_Payment_ID, COLUMNNAME_C_Project_ID, COLUMNNAME_C_Recurring_ID, COLUMNNAME_C_Recurring_UU, COLUMNNAME_C_RecurringGroup_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateLastRun, COLUMNNAME_DateNextRun, COLUMNNAME_Description, COLUMNNAME_Frequency, COLUMNNAME_FrequencyType, COLUMNNAME_GL_JournalBatch_ID, COLUMNNAME_Help, COLUMNNAME_IsActive, COLUMNNAME_Name, COLUMNNAME_Processing, COLUMNNAME_RecurringType, COLUMNNAME_RunsMax, COLUMNNAME_RunsRemaining, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_Recurring(Properties ctx, int C_Recurring_ID, String trxName)
Standard ConstructorX_C_Recurring(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelI_C_Invoice
getC_Invoice()
int
getC_Invoice_ID()
Get Invoice.I_C_Order
getC_Order()
int
getC_Order_ID()
Get Order.I_C_Payment
getC_Payment()
int
getC_Payment_ID()
Get Payment.I_C_Project
getC_Project()
int
getC_Project_ID()
Get Project.int
getC_Recurring_ID()
Get Recurring.String
getC_Recurring_UU()
Get C_Recurring_UU.I_C_RecurringGroup
getC_RecurringGroup()
int
getC_RecurringGroup_ID()
Get Recurring Group.Timestamp
getDateLastRun()
Get Date last run.Timestamp
getDateNextRun()
Get Date next run.String
getDescription()
Get Description.int
getFrequency()
Get Frequency.String
getFrequencyType()
Get Frequency Type.I_GL_JournalBatch
getGL_JournalBatch()
int
getGL_JournalBatch_ID()
Get Journal Batch.String
getHelp()
Get Comment/Help.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.String
getRecurringType()
Get Recurring Type.int
getRunsMax()
Get Maximum Runs.int
getRunsRemaining()
Get Remaining Runs.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isProcessing()
Get Process Now.void
setC_Invoice_ID(int C_Invoice_ID)
Set Invoice.void
setC_Order_ID(int C_Order_ID)
Set Order.void
setC_Payment_ID(int C_Payment_ID)
Set Payment.void
setC_Project_ID(int C_Project_ID)
Set Project.void
setC_Recurring_ID(int C_Recurring_ID)
Set Recurring.void
setC_Recurring_UU(String C_Recurring_UU)
Set C_Recurring_UU.void
setC_RecurringGroup_ID(int C_RecurringGroup_ID)
Set Recurring Group.void
setDateLastRun(Timestamp DateLastRun)
Set Date last run.void
setDateNextRun(Timestamp DateNextRun)
Set Date next run.void
setDescription(String Description)
Set Description.void
setFrequency(int Frequency)
Set Frequency.void
setFrequencyType(String FrequencyType)
Set Frequency Type.void
setGL_JournalBatch_ID(int GL_JournalBatch_ID)
Set Journal Batch.void
setHelp(String Help)
Set Comment/Help.void
setName(String Name)
Set Name.void
setProcessing(boolean Processing)
Set Process Now.void
setRecurringType(String RecurringType)
Set Recurring Type.void
setRunsMax(int RunsMax)
Set Maximum Runs.void
setRunsRemaining(int RunsRemaining)
Set Remaining Runs.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_C_Recurring
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Field Detail
-
FREQUENCYTYPE_AD_Reference_ID
public static final int FREQUENCYTYPE_AD_Reference_ID
FrequencyType AD_Reference_ID=283- See Also:
- Constant Field Values
-
FREQUENCYTYPE_Daily
public static final String FREQUENCYTYPE_Daily
Daily = D- See Also:
- Constant Field Values
-
FREQUENCYTYPE_Monthly
public static final String FREQUENCYTYPE_Monthly
Monthly = M- See Also:
- Constant Field Values
-
FREQUENCYTYPE_Quarterly
public static final String FREQUENCYTYPE_Quarterly
Quarterly = Q- See Also:
- Constant Field Values
-
FREQUENCYTYPE_Weekly
public static final String FREQUENCYTYPE_Weekly
Weekly = W- See Also:
- Constant Field Values
-
RECURRINGTYPE_AD_Reference_ID
public static final int RECURRINGTYPE_AD_Reference_ID
RecurringType AD_Reference_ID=282- See Also:
- Constant Field Values
-
RECURRINGTYPE_GLJournal
public static final String RECURRINGTYPE_GLJournal
GL Journal = G- See Also:
- Constant Field Values
-
RECURRINGTYPE_Invoice
public static final String RECURRINGTYPE_Invoice
Invoice = I- See Also:
- Constant Field Values
-
RECURRINGTYPE_Project
public static final String RECURRINGTYPE_Project
Project = J- See Also:
- Constant Field Values
-
RECURRINGTYPE_Order
public static final String RECURRINGTYPE_Order
Order = O- See Also:
- Constant Field Values
-
RECURRINGTYPE_Payment
public static final String RECURRINGTYPE_Payment
Payment = P- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_C_Recurring
public X_C_Recurring(Properties ctx, int C_Recurring_ID, String trxName)
Standard Constructor
-
X_C_Recurring
public X_C_Recurring(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getC_Invoice
public I_C_Invoice getC_Invoice() throws RuntimeException
- Specified by:
getC_Invoice
in interfaceI_C_Recurring
- Throws:
RuntimeException
-
setC_Invoice_ID
public void setC_Invoice_ID(int C_Invoice_ID)
Set Invoice.- Specified by:
setC_Invoice_ID
in interfaceI_C_Recurring
- Parameters:
C_Invoice_ID
- Invoice Identifier
-
getC_Invoice_ID
public int getC_Invoice_ID()
Get Invoice.- Specified by:
getC_Invoice_ID
in interfaceI_C_Recurring
- Returns:
- Invoice Identifier
-
getC_Order
public I_C_Order getC_Order() throws RuntimeException
- Specified by:
getC_Order
in interfaceI_C_Recurring
- Throws:
RuntimeException
-
setC_Order_ID
public void setC_Order_ID(int C_Order_ID)
Set Order.- Specified by:
setC_Order_ID
in interfaceI_C_Recurring
- Parameters:
C_Order_ID
- Order
-
getC_Order_ID
public int getC_Order_ID()
Get Order.- Specified by:
getC_Order_ID
in interfaceI_C_Recurring
- Returns:
- Order
-
getC_Payment
public I_C_Payment getC_Payment() throws RuntimeException
- Specified by:
getC_Payment
in interfaceI_C_Recurring
- Throws:
RuntimeException
-
setC_Payment_ID
public void setC_Payment_ID(int C_Payment_ID)
Set Payment.- Specified by:
setC_Payment_ID
in interfaceI_C_Recurring
- Parameters:
C_Payment_ID
- Payment identifier
-
getC_Payment_ID
public int getC_Payment_ID()
Get Payment.- Specified by:
getC_Payment_ID
in interfaceI_C_Recurring
- Returns:
- Payment identifier
-
getC_Project
public I_C_Project getC_Project() throws RuntimeException
- Specified by:
getC_Project
in interfaceI_C_Recurring
- Throws:
RuntimeException
-
setC_Project_ID
public void setC_Project_ID(int C_Project_ID)
Set Project.- Specified by:
setC_Project_ID
in interfaceI_C_Recurring
- Parameters:
C_Project_ID
- Financial Project
-
getC_Project_ID
public int getC_Project_ID()
Get Project.- Specified by:
getC_Project_ID
in interfaceI_C_Recurring
- Returns:
- Financial Project
-
getC_RecurringGroup
public I_C_RecurringGroup getC_RecurringGroup() throws RuntimeException
- Specified by:
getC_RecurringGroup
in interfaceI_C_Recurring
- Throws:
RuntimeException
-
setC_RecurringGroup_ID
public void setC_RecurringGroup_ID(int C_RecurringGroup_ID)
Set Recurring Group.- Specified by:
setC_RecurringGroup_ID
in interfaceI_C_Recurring
- Parameters:
C_RecurringGroup_ID
- Recurring Group
-
getC_RecurringGroup_ID
public int getC_RecurringGroup_ID()
Get Recurring Group.- Specified by:
getC_RecurringGroup_ID
in interfaceI_C_Recurring
- Returns:
- Recurring Group
-
setC_Recurring_ID
public void setC_Recurring_ID(int C_Recurring_ID)
Set Recurring.- Specified by:
setC_Recurring_ID
in interfaceI_C_Recurring
- Parameters:
C_Recurring_ID
- Recurring Document
-
getC_Recurring_ID
public int getC_Recurring_ID()
Get Recurring.- Specified by:
getC_Recurring_ID
in interfaceI_C_Recurring
- Returns:
- Recurring Document
-
setC_Recurring_UU
public void setC_Recurring_UU(String C_Recurring_UU)
Set C_Recurring_UU.- Specified by:
setC_Recurring_UU
in interfaceI_C_Recurring
- Parameters:
C_Recurring_UU
- C_Recurring_UU
-
getC_Recurring_UU
public String getC_Recurring_UU()
Get C_Recurring_UU.- Specified by:
getC_Recurring_UU
in interfaceI_C_Recurring
- Returns:
- C_Recurring_UU
-
setDateLastRun
public void setDateLastRun(Timestamp DateLastRun)
Set Date last run.- Specified by:
setDateLastRun
in interfaceI_C_Recurring
- Parameters:
DateLastRun
- Date the process was last run.
-
getDateLastRun
public Timestamp getDateLastRun()
Get Date last run.- Specified by:
getDateLastRun
in interfaceI_C_Recurring
- Returns:
- Date the process was last run.
-
setDateNextRun
public void setDateNextRun(Timestamp DateNextRun)
Set Date next run.- Specified by:
setDateNextRun
in interfaceI_C_Recurring
- Parameters:
DateNextRun
- Date the process will run next
-
getDateNextRun
public Timestamp getDateNextRun()
Get Date next run.- Specified by:
getDateNextRun
in interfaceI_C_Recurring
- Returns:
- Date the process will run next
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_C_Recurring
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_C_Recurring
- Returns:
- Optional short description of the record
-
setFrequency
public void setFrequency(int Frequency)
Set Frequency.- Specified by:
setFrequency
in interfaceI_C_Recurring
- Parameters:
Frequency
- Frequency of events
-
getFrequency
public int getFrequency()
Get Frequency.- Specified by:
getFrequency
in interfaceI_C_Recurring
- Returns:
- Frequency of events
-
setFrequencyType
public void setFrequencyType(String FrequencyType)
Set Frequency Type.- Specified by:
setFrequencyType
in interfaceI_C_Recurring
- Parameters:
FrequencyType
- Frequency of event
-
getFrequencyType
public String getFrequencyType()
Get Frequency Type.- Specified by:
getFrequencyType
in interfaceI_C_Recurring
- Returns:
- Frequency of event
-
getGL_JournalBatch
public I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException
- Specified by:
getGL_JournalBatch
in interfaceI_C_Recurring
- Throws:
RuntimeException
-
setGL_JournalBatch_ID
public void setGL_JournalBatch_ID(int GL_JournalBatch_ID)
Set Journal Batch.- Specified by:
setGL_JournalBatch_ID
in interfaceI_C_Recurring
- Parameters:
GL_JournalBatch_ID
- General Ledger Journal Batch
-
getGL_JournalBatch_ID
public int getGL_JournalBatch_ID()
Get Journal Batch.- Specified by:
getGL_JournalBatch_ID
in interfaceI_C_Recurring
- Returns:
- General Ledger Journal Batch
-
setHelp
public void setHelp(String Help)
Set Comment/Help.- Specified by:
setHelp
in interfaceI_C_Recurring
- Parameters:
Help
- Comment or Hint
-
getHelp
public String getHelp()
Get Comment/Help.- Specified by:
getHelp
in interfaceI_C_Recurring
- Returns:
- Comment or Hint
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_C_Recurring
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_C_Recurring
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setProcessing
public void setProcessing(boolean Processing)
Set Process Now.- Specified by:
setProcessing
in interfaceI_C_Recurring
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()
Get Process Now.- Specified by:
isProcessing
in interfaceI_C_Recurring
- Returns:
- Process Now
-
setRecurringType
public void setRecurringType(String RecurringType)
Set Recurring Type.- Specified by:
setRecurringType
in interfaceI_C_Recurring
- Parameters:
RecurringType
- Type of Recurring Document
-
getRecurringType
public String getRecurringType()
Get Recurring Type.- Specified by:
getRecurringType
in interfaceI_C_Recurring
- Returns:
- Type of Recurring Document
-
setRunsMax
public void setRunsMax(int RunsMax)
Set Maximum Runs.- Specified by:
setRunsMax
in interfaceI_C_Recurring
- Parameters:
RunsMax
- Number of recurring runs
-
getRunsMax
public int getRunsMax()
Get Maximum Runs.- Specified by:
getRunsMax
in interfaceI_C_Recurring
- Returns:
- Number of recurring runs
-
setRunsRemaining
public void setRunsRemaining(int RunsRemaining)
Set Remaining Runs.- Specified by:
setRunsRemaining
in interfaceI_C_Recurring
- Parameters:
RunsRemaining
- Number of recurring runs remaining
-
getRunsRemaining
public int getRunsRemaining()
Get Remaining Runs.- Specified by:
getRunsRemaining
in interfaceI_C_Recurring
- Returns:
- Number of recurring runs remaining
-
-