Package org.compiere.model
Class X_C_Opportunity
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_Opportunity
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_C_Opportunity,I_Persistent,Evaluatee
- Direct Known Subclasses:
MOpportunity
Generated Model for C_Opportunity
- Version:
- Release 13 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
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, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_IDFields inherited from interface org.compiere.model.I_C_Opportunity
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_Campaign_ID, COLUMNNAME_C_Currency_ID, COLUMNNAME_C_Opportunity_ID, COLUMNNAME_C_Opportunity_UU, COLUMNNAME_C_Order_ID, COLUMNNAME_C_SalesStage_ID, COLUMNNAME_CloseDate, COLUMNNAME_Comments, COLUMNNAME_Cost, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_DocumentNo, COLUMNNAME_ExpectedCloseDate, COLUMNNAME_IsActive, COLUMNNAME_OpportunityAmt, COLUMNNAME_Probability, COLUMNNAME_SalesRep_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_WeightedAmt, Model, Table_ID, Table_Name -
Constructor Summary
ConstructorsConstructorDescriptionX_C_Opportunity(Properties ctx, int C_Opportunity_ID, String trxName) Standard ConstructorX_C_Opportunity(Properties ctx, int C_Opportunity_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_Opportunity(Properties ctx, String C_Opportunity_UU, String trxName) Standard ConstructorX_C_Opportunity(Properties ctx, String C_Opportunity_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_Opportunity(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected intAccessLevelDeprecated.intGet User/Contact.Deprecated.intGet Business Partner.Deprecated.intGet Campaign.Deprecated.intGet Currency.intGet Sales Opportunity.Get C_Opportunity_UU.Deprecated.intGet Order.Deprecated.intGet Sales Stage.Get Close Date.Get Comments.getCost()Get Cost.Get Description.Get Document No.Get Expected Close Date.Get Record ID/ColumnNameGet Opportunity Amount.Get Probability.Deprecated.intGet Sales Representative.Get Weighted Amount.protected POInfoinitPO(Properties ctx) Load Meta DatavoidsetAD_User_ID(int AD_User_ID) Set User/Contact.voidsetC_BPartner_ID(int C_BPartner_ID) Set Business Partner.voidsetC_Campaign_ID(int C_Campaign_ID) Set Campaign.voidsetC_Currency_ID(int C_Currency_ID) Set Currency.voidsetC_Opportunity_ID(int C_Opportunity_ID) Set Sales Opportunity.voidsetC_Opportunity_UU(String C_Opportunity_UU) Set C_Opportunity_UU.voidsetC_Order_ID(int C_Order_ID) Set Order.voidsetC_SalesStage_ID(int C_SalesStage_ID) Set Sales Stage.voidsetCloseDate(Timestamp CloseDate) Set Close Date.voidsetComments(String Comments) Set Comments.voidsetCost(BigDecimal Cost) Set Cost.voidsetDescription(String Description) Set Description.voidsetDocumentNo(String DocumentNo) Set Document No.voidsetExpectedCloseDate(Timestamp ExpectedCloseDate) Set Expected Close Date.voidsetOpportunityAmt(BigDecimal OpportunityAmt) Set Opportunity Amount.voidsetProbability(BigDecimal Probability) Set Probability.voidsetSalesRep_ID(int SalesRep_ID) Set Sales Representative.voidsetWeightedAmt(BigDecimal WeightedAmt) Set Weighted Amount.toString()String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_TableAttribute, get_TableAttributeAsBoolean, get_TableAttributeAsInt, get_TableAttributes, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, unlock, update_Tree, validForeignKeys, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.compiere.model.I_C_Opportunity
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods inherited from interface org.compiere.model.I_Persistent
save
-
Constructor Details
-
X_C_Opportunity
Standard Constructor -
X_C_Opportunity
public X_C_Opportunity(Properties ctx, int C_Opportunity_ID, String trxName, String... virtualColumns) Standard Constructor -
X_C_Opportunity
Standard Constructor -
X_C_Opportunity
public X_C_Opportunity(Properties ctx, String C_Opportunity_UU, String trxName, String... virtualColumns) Standard Constructor -
X_C_Opportunity
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
getAD_User
Deprecated.- Specified by:
getAD_Userin interfaceI_C_Opportunity- Throws:
RuntimeException
-
setAD_User_ID
public void setAD_User_ID(int AD_User_ID) Set User/Contact.- Specified by:
setAD_User_IDin interfaceI_C_Opportunity- Parameters:
AD_User_ID- User within the system - Internal or Business Partner Contact
-
getAD_User_ID
public int getAD_User_ID()Get User/Contact.- Specified by:
getAD_User_IDin interfaceI_C_Opportunity- Returns:
- User within the system - Internal or Business Partner Contact
-
getC_BPartner
Deprecated.- Specified by:
getC_BPartnerin interfaceI_C_Opportunity- Throws:
RuntimeException
-
setC_BPartner_ID
public void setC_BPartner_ID(int C_BPartner_ID) Set Business Partner.- Specified by:
setC_BPartner_IDin interfaceI_C_Opportunity- 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_Opportunity- Returns:
- Identifies a Business Partner
-
getC_Campaign
Deprecated.- Specified by:
getC_Campaignin interfaceI_C_Opportunity- Throws:
RuntimeException
-
setC_Campaign_ID
public void setC_Campaign_ID(int C_Campaign_ID) Set Campaign.- Specified by:
setC_Campaign_IDin interfaceI_C_Opportunity- Parameters:
C_Campaign_ID- Marketing Campaign
-
getC_Campaign_ID
public int getC_Campaign_ID()Get Campaign.- Specified by:
getC_Campaign_IDin interfaceI_C_Opportunity- Returns:
- Marketing Campaign
-
getC_Currency
Deprecated.- Specified by:
getC_Currencyin interfaceI_C_Opportunity- Throws:
RuntimeException
-
setC_Currency_ID
public void setC_Currency_ID(int C_Currency_ID) Set Currency.- Specified by:
setC_Currency_IDin interfaceI_C_Opportunity- Parameters:
C_Currency_ID- The Currency for this record
-
getC_Currency_ID
public int getC_Currency_ID()Get Currency.- Specified by:
getC_Currency_IDin interfaceI_C_Opportunity- Returns:
- The Currency for this record
-
setC_Opportunity_ID
public void setC_Opportunity_ID(int C_Opportunity_ID) Set Sales Opportunity.- Specified by:
setC_Opportunity_IDin interfaceI_C_Opportunity- Parameters:
C_Opportunity_ID- Sales Opportunity
-
getC_Opportunity_ID
public int getC_Opportunity_ID()Get Sales Opportunity.- Specified by:
getC_Opportunity_IDin interfaceI_C_Opportunity- Returns:
- Sales Opportunity
-
setC_Opportunity_UU
Set C_Opportunity_UU.- Specified by:
setC_Opportunity_UUin interfaceI_C_Opportunity- Parameters:
C_Opportunity_UU- C_Opportunity_UU
-
getC_Opportunity_UU
Get C_Opportunity_UU.- Specified by:
getC_Opportunity_UUin interfaceI_C_Opportunity- Returns:
- C_Opportunity_UU
-
getC_Order
Deprecated.- Specified by:
getC_Orderin interfaceI_C_Opportunity- Throws:
RuntimeException
-
setC_Order_ID
public void setC_Order_ID(int C_Order_ID) Set Order.- Specified by:
setC_Order_IDin interfaceI_C_Opportunity- Parameters:
C_Order_ID- Order
-
getC_Order_ID
public int getC_Order_ID()Get Order.- Specified by:
getC_Order_IDin interfaceI_C_Opportunity- Returns:
- Order
-
getC_SalesStage
Deprecated.- Specified by:
getC_SalesStagein interfaceI_C_Opportunity- Throws:
RuntimeException
-
setC_SalesStage_ID
public void setC_SalesStage_ID(int C_SalesStage_ID) Set Sales Stage.- Specified by:
setC_SalesStage_IDin interfaceI_C_Opportunity- Parameters:
C_SalesStage_ID- Stages of the sales process
-
getC_SalesStage_ID
public int getC_SalesStage_ID()Get Sales Stage.- Specified by:
getC_SalesStage_IDin interfaceI_C_Opportunity- Returns:
- Stages of the sales process
-
setCloseDate
Set Close Date.- Specified by:
setCloseDatein interfaceI_C_Opportunity- Parameters:
CloseDate- Close Date
-
getCloseDate
Get Close Date.- Specified by:
getCloseDatein interfaceI_C_Opportunity- Returns:
- Close Date
-
setComments
Set Comments.- Specified by:
setCommentsin interfaceI_C_Opportunity- Parameters:
Comments- Comments or additional information
-
getComments
Get Comments.- Specified by:
getCommentsin interfaceI_C_Opportunity- Returns:
- Comments or additional information
-
setCost
Set Cost.- Specified by:
setCostin interfaceI_C_Opportunity- Parameters:
Cost- Cost information
-
getCost
Get Cost.- Specified by:
getCostin interfaceI_C_Opportunity- Returns:
- Cost information
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_C_Opportunity- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_C_Opportunity- Returns:
- Optional short description of the record
-
setDocumentNo
Set Document No.- Specified by:
setDocumentNoin interfaceI_C_Opportunity- Parameters:
DocumentNo- Document sequence number of the document
-
getDocumentNo
Get Document No.- Specified by:
getDocumentNoin interfaceI_C_Opportunity- Returns:
- Document sequence number of the document
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setExpectedCloseDate
Set Expected Close Date.- Specified by:
setExpectedCloseDatein interfaceI_C_Opportunity- Parameters:
ExpectedCloseDate- Expected Close Date
-
getExpectedCloseDate
Get Expected Close Date.- Specified by:
getExpectedCloseDatein interfaceI_C_Opportunity- Returns:
- Expected Close Date
-
setOpportunityAmt
Set Opportunity Amount.- Specified by:
setOpportunityAmtin interfaceI_C_Opportunity- Parameters:
OpportunityAmt- The estimated value of this opportunity.
-
getOpportunityAmt
Get Opportunity Amount.- Specified by:
getOpportunityAmtin interfaceI_C_Opportunity- Returns:
- The estimated value of this opportunity.
-
setProbability
Set Probability.- Specified by:
setProbabilityin interfaceI_C_Opportunity- Parameters:
Probability- Probability
-
getProbability
Get Probability.- Specified by:
getProbabilityin interfaceI_C_Opportunity- Returns:
- Probability
-
getSalesRep
Deprecated.- Specified by:
getSalesRepin interfaceI_C_Opportunity- Throws:
RuntimeException
-
setSalesRep_ID
public void setSalesRep_ID(int SalesRep_ID) Set Sales Representative.- Specified by:
setSalesRep_IDin interfaceI_C_Opportunity- Parameters:
SalesRep_ID- Sales Representative or Company Agent
-
getSalesRep_ID
public int getSalesRep_ID()Get Sales Representative.- Specified by:
getSalesRep_IDin interfaceI_C_Opportunity- Returns:
- Sales Representative or Company Agent
-
setWeightedAmt
Set Weighted Amount.- Specified by:
setWeightedAmtin interfaceI_C_Opportunity- Parameters:
WeightedAmt- The amount adjusted by the probability.
-
getWeightedAmt
Get Weighted Amount.- Specified by:
getWeightedAmtin interfaceI_C_Opportunity- Returns:
- The amount adjusted by the probability.
-