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 int
CASHFLOWTYPE_AD_Reference_ID
CashFlowType AD_Reference_ID=53385static String
CASHFLOWTYPE_Financing
Financing = Fstatic String
CASHFLOWTYPE_Investment
Investment = Istatic String
CASHFLOWTYPE_Operational
Operational = 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 int
get_AccessLevel()
AccessLevelint
getAD_OrgTrx_ID()
Get Trx Organization.I_C_Activity
getC_Activity()
int
getC_Activity_ID()
Get Activity.I_C_BPartner
getC_BPartner()
int
getC_BPartner_ID()
Get Business Partner.I_C_Campaign
getC_Campaign()
int
getC_Campaign_ID()
Get Campaign.int
getC_CashPlan_ID()
Get Cash Plan.String
getC_CashPlan_UU()
Get C_CashPlan_UU.I_C_Project
getC_Project()
int
getC_Project_ID()
Get Project.String
getCashFlowType()
Get Cash Flow Type.String
getCopyFrom()
Get Copy From.Timestamp
getDateDoc()
Get Document Date.String
getDescription()
Get Description.String
getDocumentNo()
Get Document No.String
getGeneratePeriodic()
Get Generate Periodic Plan.BigDecimal
getGrandTotal()
Get Grand Total.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameI_C_ElementValue
getUser1()
int
getUser1_ID()
Get User Element List 1.I_C_ElementValue
getUser2()
int
getUser2_ID()
Get User Element List 2.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isApproved()
Get Approved.boolean
isProcessed()
Get Processed.boolean
isSOTrx()
Get Sales Transaction.void
setAD_OrgTrx_ID(int AD_OrgTrx_ID)
Set Trx Organization.void
setC_Activity_ID(int C_Activity_ID)
Set Activity.void
setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.void
setC_Campaign_ID(int C_Campaign_ID)
Set Campaign.void
setC_CashPlan_ID(int C_CashPlan_ID)
Set Cash Plan.void
setC_CashPlan_UU(String C_CashPlan_UU)
Set C_CashPlan_UU.void
setC_Project_ID(int C_Project_ID)
Set Project.void
setCashFlowType(String CashFlowType)
Set Cash Flow Type.void
setCopyFrom(String CopyFrom)
Set Copy From.void
setDateDoc(Timestamp DateDoc)
Set Document Date.void
setDescription(String Description)
Set Description.void
setDocumentNo(String DocumentNo)
Set Document No.void
setGeneratePeriodic(String GeneratePeriodic)
Set Generate Periodic Plan.void
setGrandTotal(BigDecimal GrandTotal)
Set Grand Total.void
setIsApproved(boolean IsApproved)
Set Approved.void
setIsSOTrx(boolean IsSOTrx)
Set Sales Transaction.void
setProcessed(boolean Processed)
Set Processed.void
setUser1_ID(int User1_ID)
Set User Element List 1.void
setUser2_ID(int User2_ID)
Set User Element List 2.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_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_AccessLevel
in 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_ID
in 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_ID
in interfaceI_C_CashPlan
- Returns:
- Performing or initiating organization
-
getC_Activity
public I_C_Activity getC_Activity() throws RuntimeException
- Specified by:
getC_Activity
in interfaceI_C_CashPlan
- Throws:
RuntimeException
-
setC_Activity_ID
public void setC_Activity_ID(int C_Activity_ID)
Set Activity.- Specified by:
setC_Activity_ID
in interfaceI_C_CashPlan
- Parameters:
C_Activity_ID
- Business Activity
-
getC_Activity_ID
public int getC_Activity_ID()
Get Activity.- Specified by:
getC_Activity_ID
in interfaceI_C_CashPlan
- Returns:
- Business Activity
-
setCashFlowType
public void setCashFlowType(String CashFlowType)
Set Cash Flow Type.- Specified by:
setCashFlowType
in interfaceI_C_CashPlan
- Parameters:
CashFlowType
- Cash Flow Type
-
getCashFlowType
public String getCashFlowType()
Get Cash Flow Type.- Specified by:
getCashFlowType
in interfaceI_C_CashPlan
- Returns:
- Cash Flow Type
-
getC_BPartner
public I_C_BPartner getC_BPartner() throws RuntimeException
- Specified by:
getC_BPartner
in interfaceI_C_CashPlan
- Throws:
RuntimeException
-
setC_BPartner_ID
public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.- Specified by:
setC_BPartner_ID
in 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_ID
in interfaceI_C_CashPlan
- Returns:
- Identifies a Business Partner
-
getC_Campaign
public I_C_Campaign getC_Campaign() throws RuntimeException
- Specified by:
getC_Campaign
in interfaceI_C_CashPlan
- Throws:
RuntimeException
-
setC_Campaign_ID
public void setC_Campaign_ID(int C_Campaign_ID)
Set Campaign.- Specified by:
setC_Campaign_ID
in interfaceI_C_CashPlan
- Parameters:
C_Campaign_ID
- Marketing Campaign
-
getC_Campaign_ID
public int getC_Campaign_ID()
Get Campaign.- Specified by:
getC_Campaign_ID
in 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_ID
in interfaceI_C_CashPlan
- Parameters:
C_CashPlan_ID
- Cash Plan
-
getC_CashPlan_ID
public int getC_CashPlan_ID()
Get Cash Plan.- Specified by:
getC_CashPlan_ID
in 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_UU
in 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_UU
in interfaceI_C_CashPlan
- Returns:
- C_CashPlan_UU
-
setCopyFrom
public void setCopyFrom(String CopyFrom)
Set Copy From.- Specified by:
setCopyFrom
in interfaceI_C_CashPlan
- Parameters:
CopyFrom
- Copy From Record
-
getCopyFrom
public String getCopyFrom()
Get Copy From.- Specified by:
getCopyFrom
in interfaceI_C_CashPlan
- Returns:
- Copy From Record
-
getC_Project
public I_C_Project getC_Project() throws RuntimeException
- Specified by:
getC_Project
in interfaceI_C_CashPlan
- Throws:
RuntimeException
-
setC_Project_ID
public void setC_Project_ID(int C_Project_ID)
Set Project.- Specified by:
setC_Project_ID
in interfaceI_C_CashPlan
- Parameters:
C_Project_ID
- Financial Project
-
getC_Project_ID
public int getC_Project_ID()
Get Project.- Specified by:
getC_Project_ID
in interfaceI_C_CashPlan
- Returns:
- Financial Project
-
setDateDoc
public void setDateDoc(Timestamp DateDoc)
Set Document Date.- Specified by:
setDateDoc
in interfaceI_C_CashPlan
- Parameters:
DateDoc
- Date of the Document
-
getDateDoc
public Timestamp getDateDoc()
Get Document Date.- Specified by:
getDateDoc
in interfaceI_C_CashPlan
- Returns:
- Date of the Document
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_C_CashPlan
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_C_CashPlan
- Returns:
- Optional short description of the record
-
setDocumentNo
public void setDocumentNo(String DocumentNo)
Set Document No.- Specified by:
setDocumentNo
in interfaceI_C_CashPlan
- Parameters:
DocumentNo
- Document sequence number of the document
-
getDocumentNo
public String getDocumentNo()
Get Document No.- Specified by:
getDocumentNo
in 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:
setGeneratePeriodic
in interfaceI_C_CashPlan
- Parameters:
GeneratePeriodic
- Generate Periodic Plan
-
getGeneratePeriodic
public String getGeneratePeriodic()
Get Generate Periodic Plan.- Specified by:
getGeneratePeriodic
in interfaceI_C_CashPlan
- Returns:
- Generate Periodic Plan
-
setGrandTotal
public void setGrandTotal(BigDecimal GrandTotal)
Set Grand Total.- Specified by:
setGrandTotal
in interfaceI_C_CashPlan
- Parameters:
GrandTotal
- Total amount of document
-
getGrandTotal
public BigDecimal getGrandTotal()
Get Grand Total.- Specified by:
getGrandTotal
in interfaceI_C_CashPlan
- Returns:
- Total amount of document
-
setIsApproved
public void setIsApproved(boolean IsApproved)
Set Approved.- Specified by:
setIsApproved
in interfaceI_C_CashPlan
- Parameters:
IsApproved
- Indicates if this document requires approval
-
isApproved
public boolean isApproved()
Get Approved.- Specified by:
isApproved
in interfaceI_C_CashPlan
- Returns:
- Indicates if this document requires approval
-
setIsSOTrx
public void setIsSOTrx(boolean IsSOTrx)
Set Sales Transaction.- Specified by:
setIsSOTrx
in interfaceI_C_CashPlan
- Parameters:
IsSOTrx
- This is a Sales Transaction
-
isSOTrx
public boolean isSOTrx()
Get Sales Transaction.- Specified by:
isSOTrx
in interfaceI_C_CashPlan
- Returns:
- This is a Sales Transaction
-
setProcessed
public void setProcessed(boolean Processed)
Set Processed.- Specified by:
setProcessed
in interfaceI_C_CashPlan
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()
Get Processed.- Specified by:
isProcessed
in interfaceI_C_CashPlan
- Returns:
- The document has been processed
-
getUser1
public I_C_ElementValue getUser1() throws RuntimeException
- Specified by:
getUser1
in interfaceI_C_CashPlan
- Throws:
RuntimeException
-
setUser1_ID
public void setUser1_ID(int User1_ID)
Set User Element List 1.- Specified by:
setUser1_ID
in 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_ID
in interfaceI_C_CashPlan
- Returns:
- User defined list element #1
-
getUser2
public I_C_ElementValue getUser2() throws RuntimeException
- Specified by:
getUser2
in interfaceI_C_CashPlan
- Throws:
RuntimeException
-
setUser2_ID
public void setUser2_ID(int User2_ID)
Set User Element List 2.- Specified by:
setUser2_ID
in 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_ID
in interfaceI_C_CashPlan
- Returns:
- User defined list element #2
-
-