Package org.compiere.model
Class X_C_CashPlan
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_C_CashPlan
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_C_CashPlan,I_Persistent,Evaluatee
- Direct Known Subclasses:
MCashPlan
public class X_C_CashPlan extends PO implements I_C_CashPlan, I_Persistent
Generated Model for C_CashPlan- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intCASHFLOWTYPE_AD_Reference_IDCashFlowType AD_Reference_ID=53385static StringCASHFLOWTYPE_FinancingFinancing = Fstatic StringCASHFLOWTYPE_InvestmentInvestment = Istatic StringCASHFLOWTYPE_OperationalOperational = O-
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_CashPlan
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_OrgTrx_ID, COLUMNNAME_C_Activity_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_Campaign_ID, COLUMNNAME_C_CashPlan_ID, COLUMNNAME_C_CashPlan_UU, COLUMNNAME_C_Project_ID, COLUMNNAME_CashFlowType, COLUMNNAME_CopyFrom, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateDoc, COLUMNNAME_Description, COLUMNNAME_DocumentNo, COLUMNNAME_GeneratePeriodic, COLUMNNAME_GrandTotal, COLUMNNAME_IsActive, COLUMNNAME_IsApproved, COLUMNNAME_IsSOTrx, COLUMNNAME_Processed, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_User1_ID, COLUMNNAME_User2_ID, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_CashPlan(Properties ctx, int C_CashPlan_ID, String trxName)Standard ConstructorX_C_CashPlan(Properties ctx, ResultSet rs, String trxName)Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intget_AccessLevel()AccessLevelintgetAD_OrgTrx_ID()Get Trx Organization.I_C_ActivitygetC_Activity()intgetC_Activity_ID()Get Activity.I_C_BPartnergetC_BPartner()intgetC_BPartner_ID()Get Business Partner.I_C_CampaigngetC_Campaign()intgetC_Campaign_ID()Get Campaign.intgetC_CashPlan_ID()Get Cash Plan.StringgetC_CashPlan_UU()Get C_CashPlan_UU.I_C_ProjectgetC_Project()intgetC_Project_ID()Get Project.StringgetCashFlowType()Get Cash Flow Type.StringgetCopyFrom()Get Copy From.TimestampgetDateDoc()Get Document Date.StringgetDescription()Get Description.StringgetDocumentNo()Get Document No.StringgetGeneratePeriodic()Get Generate Periodic Plan.BigDecimalgetGrandTotal()Get Grand Total.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameI_C_ElementValuegetUser1()intgetUser1_ID()Get User Element List 1.I_C_ElementValuegetUser2()intgetUser2_ID()Get User Element List 2.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisApproved()Get Approved.booleanisProcessed()Get Processed.booleanisSOTrx()Get Sales Transaction.voidsetAD_OrgTrx_ID(int AD_OrgTrx_ID)Set Trx Organization.voidsetC_Activity_ID(int C_Activity_ID)Set Activity.voidsetC_BPartner_ID(int C_BPartner_ID)Set Business Partner.voidsetC_Campaign_ID(int C_Campaign_ID)Set Campaign.voidsetC_CashPlan_ID(int C_CashPlan_ID)Set Cash Plan.voidsetC_CashPlan_UU(String C_CashPlan_UU)Set C_CashPlan_UU.voidsetC_Project_ID(int C_Project_ID)Set Project.voidsetCashFlowType(String CashFlowType)Set Cash Flow Type.voidsetCopyFrom(String CopyFrom)Set Copy From.voidsetDateDoc(Timestamp DateDoc)Set Document Date.voidsetDescription(String Description)Set Description.voidsetDocumentNo(String DocumentNo)Set Document No.voidsetGeneratePeriodic(String GeneratePeriodic)Set Generate Periodic Plan.voidsetGrandTotal(BigDecimal GrandTotal)Set Grand Total.voidsetIsApproved(boolean IsApproved)Set Approved.voidsetIsSOTrx(boolean IsSOTrx)Set Sales Transaction.voidsetProcessed(boolean Processed)Set Processed.voidsetUser1_ID(int User1_ID)Set User Element List 1.voidsetUser2_ID(int User2_ID)Set User Element List 2.StringtoString()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_CashPlan
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
-
CASHFLOWTYPE_AD_Reference_ID
public static final int CASHFLOWTYPE_AD_Reference_ID
CashFlowType AD_Reference_ID=53385- See Also:
- Constant Field Values
-
CASHFLOWTYPE_Financing
public static final String CASHFLOWTYPE_Financing
Financing = F- See Also:
- Constant Field Values
-
CASHFLOWTYPE_Investment
public static final String CASHFLOWTYPE_Investment
Investment = I- See Also:
- Constant Field Values
-
CASHFLOWTYPE_Operational
public static final String CASHFLOWTYPE_Operational
Operational = O- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_C_CashPlan
public X_C_CashPlan(Properties ctx, int C_CashPlan_ID, String trxName)
Standard Constructor
-
X_C_CashPlan
public X_C_CashPlan(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevelin classPO- Returns:
- 1 - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAD_OrgTrx_ID
public void setAD_OrgTrx_ID(int AD_OrgTrx_ID)
Set Trx Organization.- Specified by:
setAD_OrgTrx_IDin interfaceI_C_CashPlan- Parameters:
AD_OrgTrx_ID- Performing or initiating organization
-
getAD_OrgTrx_ID
public int getAD_OrgTrx_ID()
Get Trx Organization.- Specified by:
getAD_OrgTrx_IDin interfaceI_C_CashPlan- Returns:
- Performing or initiating organization
-
getC_Activity
public I_C_Activity getC_Activity() throws RuntimeException
- Specified by:
getC_Activityin interfaceI_C_CashPlan- Throws:
RuntimeException
-
setC_Activity_ID
public void setC_Activity_ID(int C_Activity_ID)
Set Activity.- Specified by:
setC_Activity_IDin interfaceI_C_CashPlan- Parameters:
C_Activity_ID- Business Activity
-
getC_Activity_ID
public int getC_Activity_ID()
Get Activity.- Specified by:
getC_Activity_IDin interfaceI_C_CashPlan- Returns:
- Business Activity
-
setCashFlowType
public void setCashFlowType(String CashFlowType)
Set Cash Flow Type.- Specified by:
setCashFlowTypein interfaceI_C_CashPlan- Parameters:
CashFlowType- Cash Flow Type
-
getCashFlowType
public String getCashFlowType()
Get Cash Flow Type.- Specified by:
getCashFlowTypein interfaceI_C_CashPlan- Returns:
- Cash Flow Type
-
getC_BPartner
public I_C_BPartner getC_BPartner() throws RuntimeException
- Specified by:
getC_BPartnerin interfaceI_C_CashPlan- Throws:
RuntimeException
-
setC_BPartner_ID
public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.- Specified by:
setC_BPartner_IDin interfaceI_C_CashPlan- Parameters:
C_BPartner_ID- Identifies a Business Partner
-
getC_BPartner_ID
public int getC_BPartner_ID()
Get Business Partner.- Specified by:
getC_BPartner_IDin interfaceI_C_CashPlan- Returns:
- Identifies a Business Partner
-
getC_Campaign
public I_C_Campaign getC_Campaign() throws RuntimeException
- Specified by:
getC_Campaignin interfaceI_C_CashPlan- Throws:
RuntimeException
-
setC_Campaign_ID
public void setC_Campaign_ID(int C_Campaign_ID)
Set Campaign.- Specified by:
setC_Campaign_IDin interfaceI_C_CashPlan- Parameters:
C_Campaign_ID- Marketing Campaign
-
getC_Campaign_ID
public int getC_Campaign_ID()
Get Campaign.- Specified by:
getC_Campaign_IDin interfaceI_C_CashPlan- Returns:
- Marketing Campaign
-
setC_CashPlan_ID
public void setC_CashPlan_ID(int C_CashPlan_ID)
Set Cash Plan.- Specified by:
setC_CashPlan_IDin interfaceI_C_CashPlan- Parameters:
C_CashPlan_ID- Cash Plan
-
getC_CashPlan_ID
public int getC_CashPlan_ID()
Get Cash Plan.- Specified by:
getC_CashPlan_IDin interfaceI_C_CashPlan- Returns:
- Cash Plan
-
setC_CashPlan_UU
public void setC_CashPlan_UU(String C_CashPlan_UU)
Set C_CashPlan_UU.- Specified by:
setC_CashPlan_UUin interfaceI_C_CashPlan- Parameters:
C_CashPlan_UU- C_CashPlan_UU
-
getC_CashPlan_UU
public String getC_CashPlan_UU()
Get C_CashPlan_UU.- Specified by:
getC_CashPlan_UUin interfaceI_C_CashPlan- Returns:
- C_CashPlan_UU
-
setCopyFrom
public void setCopyFrom(String CopyFrom)
Set Copy From.- Specified by:
setCopyFromin interfaceI_C_CashPlan- Parameters:
CopyFrom- Copy From Record
-
getCopyFrom
public String getCopyFrom()
Get Copy From.- Specified by:
getCopyFromin interfaceI_C_CashPlan- Returns:
- Copy From Record
-
getC_Project
public I_C_Project getC_Project() throws RuntimeException
- Specified by:
getC_Projectin interfaceI_C_CashPlan- Throws:
RuntimeException
-
setC_Project_ID
public void setC_Project_ID(int C_Project_ID)
Set Project.- Specified by:
setC_Project_IDin interfaceI_C_CashPlan- Parameters:
C_Project_ID- Financial Project
-
getC_Project_ID
public int getC_Project_ID()
Get Project.- Specified by:
getC_Project_IDin interfaceI_C_CashPlan- Returns:
- Financial Project
-
setDateDoc
public void setDateDoc(Timestamp DateDoc)
Set Document Date.- Specified by:
setDateDocin interfaceI_C_CashPlan- Parameters:
DateDoc- Date of the Document
-
getDateDoc
public Timestamp getDateDoc()
Get Document Date.- Specified by:
getDateDocin interfaceI_C_CashPlan- Returns:
- Date of the Document
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_C_CashPlan- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_C_CashPlan- Returns:
- Optional short description of the record
-
setDocumentNo
public void setDocumentNo(String DocumentNo)
Set Document No.- Specified by:
setDocumentNoin interfaceI_C_CashPlan- Parameters:
DocumentNo- Document sequence number of the document
-
getDocumentNo
public String getDocumentNo()
Get Document No.- Specified by:
getDocumentNoin interfaceI_C_CashPlan- Returns:
- Document sequence number of the document
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setGeneratePeriodic
public void setGeneratePeriodic(String GeneratePeriodic)
Set Generate Periodic Plan.- Specified by:
setGeneratePeriodicin interfaceI_C_CashPlan- Parameters:
GeneratePeriodic- Generate Periodic Plan
-
getGeneratePeriodic
public String getGeneratePeriodic()
Get Generate Periodic Plan.- Specified by:
getGeneratePeriodicin interfaceI_C_CashPlan- Returns:
- Generate Periodic Plan
-
setGrandTotal
public void setGrandTotal(BigDecimal GrandTotal)
Set Grand Total.- Specified by:
setGrandTotalin interfaceI_C_CashPlan- Parameters:
GrandTotal- Total amount of document
-
getGrandTotal
public BigDecimal getGrandTotal()
Get Grand Total.- Specified by:
getGrandTotalin interfaceI_C_CashPlan- Returns:
- Total amount of document
-
setIsApproved
public void setIsApproved(boolean IsApproved)
Set Approved.- Specified by:
setIsApprovedin interfaceI_C_CashPlan- Parameters:
IsApproved- Indicates if this document requires approval
-
isApproved
public boolean isApproved()
Get Approved.- Specified by:
isApprovedin interfaceI_C_CashPlan- Returns:
- Indicates if this document requires approval
-
setIsSOTrx
public void setIsSOTrx(boolean IsSOTrx)
Set Sales Transaction.- Specified by:
setIsSOTrxin interfaceI_C_CashPlan- Parameters:
IsSOTrx- This is a Sales Transaction
-
isSOTrx
public boolean isSOTrx()
Get Sales Transaction.- Specified by:
isSOTrxin interfaceI_C_CashPlan- Returns:
- This is a Sales Transaction
-
setProcessed
public void setProcessed(boolean Processed)
Set Processed.- Specified by:
setProcessedin interfaceI_C_CashPlan- Parameters:
Processed- The document has been processed
-
isProcessed
public boolean isProcessed()
Get Processed.- Specified by:
isProcessedin interfaceI_C_CashPlan- Returns:
- The document has been processed
-
getUser1
public I_C_ElementValue getUser1() throws RuntimeException
- Specified by:
getUser1in interfaceI_C_CashPlan- Throws:
RuntimeException
-
setUser1_ID
public void setUser1_ID(int User1_ID)
Set User Element List 1.- Specified by:
setUser1_IDin interfaceI_C_CashPlan- Parameters:
User1_ID- User defined list element #1
-
getUser1_ID
public int getUser1_ID()
Get User Element List 1.- Specified by:
getUser1_IDin interfaceI_C_CashPlan- Returns:
- User defined list element #1
-
getUser2
public I_C_ElementValue getUser2() throws RuntimeException
- Specified by:
getUser2in interfaceI_C_CashPlan- Throws:
RuntimeException
-
setUser2_ID
public void setUser2_ID(int User2_ID)
Set User Element List 2.- Specified by:
setUser2_IDin interfaceI_C_CashPlan- Parameters:
User2_ID- User defined list element #2
-
getUser2_ID
public int getUser2_ID()
Get User Element List 2.- Specified by:
getUser2_IDin interfaceI_C_CashPlan- Returns:
- User defined list element #2
-
-