Package org.compiere.model
Class X_C_ProjectLine
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_C_ProjectLine
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_C_ProjectLine,I_Persistent,Evaluatee
- Direct Known Subclasses:
MProjectLine
public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent
Generated Model for C_ProjectLine- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
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, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_C_ProjectLine
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_Order_ID, COLUMNNAME_C_OrderPO_ID, COLUMNNAME_C_Project_ID, COLUMNNAME_C_ProjectIssue_ID, COLUMNNAME_C_ProjectLine_ID, COLUMNNAME_C_ProjectLine_UU, COLUMNNAME_C_ProjectPhase_ID, COLUMNNAME_C_ProjectTask_ID, COLUMNNAME_CommittedAmt, COLUMNNAME_CommittedQty, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_DoPricing, COLUMNNAME_InvoicedAmt, COLUMNNAME_InvoicedQty, COLUMNNAME_IsActive, COLUMNNAME_IsPrinted, COLUMNNAME_Line, COLUMNNAME_M_Product_Category_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_M_Production_ID, COLUMNNAME_PlannedAmt, COLUMNNAME_PlannedMarginAmt, COLUMNNAME_PlannedPrice, COLUMNNAME_PlannedQty, COLUMNNAME_Processed, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_ProjectLine(Properties ctx, int C_ProjectLine_ID, String trxName)Standard ConstructorX_C_ProjectLine(Properties ctx, ResultSet rs, String trxName)Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intget_AccessLevel()AccessLevelI_C_OrdergetC_Order()intgetC_Order_ID()Get Order.I_C_OrdergetC_OrderPO()intgetC_OrderPO_ID()Get Purchase Order.I_C_ProjectgetC_Project()intgetC_Project_ID()Get Project.I_C_ProjectIssuegetC_ProjectIssue()intgetC_ProjectIssue_ID()Get Project Issue.intgetC_ProjectLine_ID()Get Project Line.StringgetC_ProjectLine_UU()Get C_ProjectLine_UU.I_C_ProjectPhasegetC_ProjectPhase()intgetC_ProjectPhase_ID()Get Project Phase.I_C_ProjectTaskgetC_ProjectTask()intgetC_ProjectTask_ID()Get Project Task.BigDecimalgetCommittedAmt()Get Committed Amount.BigDecimalgetCommittedQty()Get Committed Quantity.StringgetDescription()Get Description.StringgetDoPricing()Get Pricing.BigDecimalgetInvoicedAmt()Get Invoiced Amount.BigDecimalgetInvoicedQty()Get Quantity Invoiced.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameintgetLine()Get Line No.I_M_ProductgetM_Product()I_M_Product_CategorygetM_Product_Category()intgetM_Product_Category_ID()Get Product Category.intgetM_Product_ID()Get Product.I_M_ProductiongetM_Production()intgetM_Production_ID()Get Production.BigDecimalgetPlannedAmt()Get Planned Amount.BigDecimalgetPlannedMarginAmt()Get Planned Margin.BigDecimalgetPlannedPrice()Get Planned Price.BigDecimalgetPlannedQty()Get Planned Quantity.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisPrinted()Get Printed.booleanisProcessed()Get Processed.voidsetC_Order_ID(int C_Order_ID)Set Order.voidsetC_OrderPO_ID(int C_OrderPO_ID)Set Purchase Order.voidsetC_Project_ID(int C_Project_ID)Set Project.voidsetC_ProjectIssue_ID(int C_ProjectIssue_ID)Set Project Issue.voidsetC_ProjectLine_ID(int C_ProjectLine_ID)Set Project Line.voidsetC_ProjectLine_UU(String C_ProjectLine_UU)Set C_ProjectLine_UU.voidsetC_ProjectPhase_ID(int C_ProjectPhase_ID)Set Project Phase.voidsetC_ProjectTask_ID(int C_ProjectTask_ID)Set Project Task.voidsetCommittedAmt(BigDecimal CommittedAmt)Set Committed Amount.voidsetCommittedQty(BigDecimal CommittedQty)Set Committed Quantity.voidsetDescription(String Description)Set Description.voidsetDoPricing(String DoPricing)Set Pricing.voidsetInvoicedAmt(BigDecimal InvoicedAmt)Set Invoiced Amount.voidsetInvoicedQty(BigDecimal InvoicedQty)Set Quantity Invoiced.voidsetIsPrinted(boolean IsPrinted)Set Printed.voidsetLine(int Line)Set Line No.voidsetM_Product_Category_ID(int M_Product_Category_ID)Set Product Category.voidsetM_Product_ID(int M_Product_ID)Set Product.voidsetM_Production_ID(int M_Production_ID)Set Production.voidsetPlannedAmt(BigDecimal PlannedAmt)Set Planned Amount.voidsetPlannedMarginAmt(BigDecimal PlannedMarginAmt)Set Planned Margin.voidsetPlannedPrice(BigDecimal PlannedPrice)Set Planned Price.voidsetPlannedQty(BigDecimal PlannedQty)Set Planned Quantity.voidsetProcessed(boolean Processed)Set Processed.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_ProjectLine
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
-
-
-
-
Constructor Detail
-
X_C_ProjectLine
public X_C_ProjectLine(Properties ctx, int C_ProjectLine_ID, String trxName)
Standard Constructor
-
X_C_ProjectLine
public X_C_ProjectLine(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setCommittedAmt
public void setCommittedAmt(BigDecimal CommittedAmt)
Set Committed Amount.- Specified by:
setCommittedAmtin interfaceI_C_ProjectLine- Parameters:
CommittedAmt- The (legal) commitment amount
-
getCommittedAmt
public BigDecimal getCommittedAmt()
Get Committed Amount.- Specified by:
getCommittedAmtin interfaceI_C_ProjectLine- Returns:
- The (legal) commitment amount
-
setCommittedQty
public void setCommittedQty(BigDecimal CommittedQty)
Set Committed Quantity.- Specified by:
setCommittedQtyin interfaceI_C_ProjectLine- Parameters:
CommittedQty- The (legal) commitment Quantity
-
getCommittedQty
public BigDecimal getCommittedQty()
Get Committed Quantity.- Specified by:
getCommittedQtyin interfaceI_C_ProjectLine- Returns:
- The (legal) commitment Quantity
-
getC_Order
public I_C_Order getC_Order() throws RuntimeException
- Specified by:
getC_Orderin interfaceI_C_ProjectLine- Throws:
RuntimeException
-
setC_Order_ID
public void setC_Order_ID(int C_Order_ID)
Set Order.- Specified by:
setC_Order_IDin interfaceI_C_ProjectLine- Parameters:
C_Order_ID- Order
-
getC_Order_ID
public int getC_Order_ID()
Get Order.- Specified by:
getC_Order_IDin interfaceI_C_ProjectLine- Returns:
- Order
-
getC_OrderPO
public I_C_Order getC_OrderPO() throws RuntimeException
- Specified by:
getC_OrderPOin interfaceI_C_ProjectLine- Throws:
RuntimeException
-
setC_OrderPO_ID
public void setC_OrderPO_ID(int C_OrderPO_ID)
Set Purchase Order.- Specified by:
setC_OrderPO_IDin interfaceI_C_ProjectLine- Parameters:
C_OrderPO_ID- Purchase Order
-
getC_OrderPO_ID
public int getC_OrderPO_ID()
Get Purchase Order.- Specified by:
getC_OrderPO_IDin interfaceI_C_ProjectLine- Returns:
- Purchase Order
-
getC_Project
public I_C_Project getC_Project() throws RuntimeException
- Specified by:
getC_Projectin interfaceI_C_ProjectLine- Throws:
RuntimeException
-
setC_Project_ID
public void setC_Project_ID(int C_Project_ID)
Set Project.- Specified by:
setC_Project_IDin interfaceI_C_ProjectLine- Parameters:
C_Project_ID- Financial Project
-
getC_Project_ID
public int getC_Project_ID()
Get Project.- Specified by:
getC_Project_IDin interfaceI_C_ProjectLine- Returns:
- Financial Project
-
getC_ProjectIssue
public I_C_ProjectIssue getC_ProjectIssue() throws RuntimeException
- Specified by:
getC_ProjectIssuein interfaceI_C_ProjectLine- Throws:
RuntimeException
-
setC_ProjectIssue_ID
public void setC_ProjectIssue_ID(int C_ProjectIssue_ID)
Set Project Issue.- Specified by:
setC_ProjectIssue_IDin interfaceI_C_ProjectLine- Parameters:
C_ProjectIssue_ID- Project Issues (Material, Labor)
-
getC_ProjectIssue_ID
public int getC_ProjectIssue_ID()
Get Project Issue.- Specified by:
getC_ProjectIssue_IDin interfaceI_C_ProjectLine- Returns:
- Project Issues (Material, Labor)
-
setC_ProjectLine_ID
public void setC_ProjectLine_ID(int C_ProjectLine_ID)
Set Project Line.- Specified by:
setC_ProjectLine_IDin interfaceI_C_ProjectLine- Parameters:
C_ProjectLine_ID- Task or step in a project
-
getC_ProjectLine_ID
public int getC_ProjectLine_ID()
Get Project Line.- Specified by:
getC_ProjectLine_IDin interfaceI_C_ProjectLine- Returns:
- Task or step in a project
-
setC_ProjectLine_UU
public void setC_ProjectLine_UU(String C_ProjectLine_UU)
Set C_ProjectLine_UU.- Specified by:
setC_ProjectLine_UUin interfaceI_C_ProjectLine- Parameters:
C_ProjectLine_UU- C_ProjectLine_UU
-
getC_ProjectLine_UU
public String getC_ProjectLine_UU()
Get C_ProjectLine_UU.- Specified by:
getC_ProjectLine_UUin interfaceI_C_ProjectLine- Returns:
- C_ProjectLine_UU
-
getC_ProjectPhase
public I_C_ProjectPhase getC_ProjectPhase() throws RuntimeException
- Specified by:
getC_ProjectPhasein interfaceI_C_ProjectLine- Throws:
RuntimeException
-
setC_ProjectPhase_ID
public void setC_ProjectPhase_ID(int C_ProjectPhase_ID)
Set Project Phase.- Specified by:
setC_ProjectPhase_IDin interfaceI_C_ProjectLine- Parameters:
C_ProjectPhase_ID- Phase of a Project
-
getC_ProjectPhase_ID
public int getC_ProjectPhase_ID()
Get Project Phase.- Specified by:
getC_ProjectPhase_IDin interfaceI_C_ProjectLine- Returns:
- Phase of a Project
-
getC_ProjectTask
public I_C_ProjectTask getC_ProjectTask() throws RuntimeException
- Specified by:
getC_ProjectTaskin interfaceI_C_ProjectLine- Throws:
RuntimeException
-
setC_ProjectTask_ID
public void setC_ProjectTask_ID(int C_ProjectTask_ID)
Set Project Task.- Specified by:
setC_ProjectTask_IDin interfaceI_C_ProjectLine- Parameters:
C_ProjectTask_ID- Actual Project Task in a Phase
-
getC_ProjectTask_ID
public int getC_ProjectTask_ID()
Get Project Task.- Specified by:
getC_ProjectTask_IDin interfaceI_C_ProjectLine- Returns:
- Actual Project Task in a Phase
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_C_ProjectLine- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_C_ProjectLine- Returns:
- Optional short description of the record
-
setDoPricing
public void setDoPricing(String DoPricing)
Set Pricing.- Specified by:
setDoPricingin interfaceI_C_ProjectLine- Parameters:
DoPricing- Pricing
-
getDoPricing
public String getDoPricing()
Get Pricing.- Specified by:
getDoPricingin interfaceI_C_ProjectLine- Returns:
- Pricing
-
setInvoicedAmt
public void setInvoicedAmt(BigDecimal InvoicedAmt)
Set Invoiced Amount.- Specified by:
setInvoicedAmtin interfaceI_C_ProjectLine- Parameters:
InvoicedAmt- The amount invoiced
-
getInvoicedAmt
public BigDecimal getInvoicedAmt()
Get Invoiced Amount.- Specified by:
getInvoicedAmtin interfaceI_C_ProjectLine- Returns:
- The amount invoiced
-
setInvoicedQty
public void setInvoicedQty(BigDecimal InvoicedQty)
Set Quantity Invoiced.- Specified by:
setInvoicedQtyin interfaceI_C_ProjectLine- Parameters:
InvoicedQty- The quantity invoiced
-
getInvoicedQty
public BigDecimal getInvoicedQty()
Get Quantity Invoiced.- Specified by:
getInvoicedQtyin interfaceI_C_ProjectLine- Returns:
- The quantity invoiced
-
setIsPrinted
public void setIsPrinted(boolean IsPrinted)
Set Printed.- Specified by:
setIsPrintedin interfaceI_C_ProjectLine- Parameters:
IsPrinted- Indicates if this document / line is printed
-
isPrinted
public boolean isPrinted()
Get Printed.- Specified by:
isPrintedin interfaceI_C_ProjectLine- Returns:
- Indicates if this document / line is printed
-
setLine
public void setLine(int Line)
Set Line No.- Specified by:
setLinein interfaceI_C_ProjectLine- Parameters:
Line- Unique line for this document
-
getLine
public int getLine()
Get Line No.- Specified by:
getLinein interfaceI_C_ProjectLine- Returns:
- Unique line for this document
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getM_Product_Category
public I_M_Product_Category getM_Product_Category() throws RuntimeException
- Specified by:
getM_Product_Categoryin interfaceI_C_ProjectLine- Throws:
RuntimeException
-
setM_Product_Category_ID
public void setM_Product_Category_ID(int M_Product_Category_ID)
Set Product Category.- Specified by:
setM_Product_Category_IDin interfaceI_C_ProjectLine- Parameters:
M_Product_Category_ID- Category of a Product
-
getM_Product_Category_ID
public int getM_Product_Category_ID()
Get Product Category.- Specified by:
getM_Product_Category_IDin interfaceI_C_ProjectLine- Returns:
- Category of a Product
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Productin interfaceI_C_ProjectLine- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_IDin interfaceI_C_ProjectLine- Parameters:
M_Product_ID- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()
Get Product.- Specified by:
getM_Product_IDin interfaceI_C_ProjectLine- Returns:
- Product, Service, Item
-
getM_Production
public I_M_Production getM_Production() throws RuntimeException
- Specified by:
getM_Productionin interfaceI_C_ProjectLine- Throws:
RuntimeException
-
setM_Production_ID
public void setM_Production_ID(int M_Production_ID)
Set Production.- Specified by:
setM_Production_IDin interfaceI_C_ProjectLine- Parameters:
M_Production_ID- Plan for producing a product
-
getM_Production_ID
public int getM_Production_ID()
Get Production.- Specified by:
getM_Production_IDin interfaceI_C_ProjectLine- Returns:
- Plan for producing a product
-
setPlannedAmt
public void setPlannedAmt(BigDecimal PlannedAmt)
Set Planned Amount.- Specified by:
setPlannedAmtin interfaceI_C_ProjectLine- Parameters:
PlannedAmt- Planned amount for this project
-
getPlannedAmt
public BigDecimal getPlannedAmt()
Get Planned Amount.- Specified by:
getPlannedAmtin interfaceI_C_ProjectLine- Returns:
- Planned amount for this project
-
setPlannedMarginAmt
public void setPlannedMarginAmt(BigDecimal PlannedMarginAmt)
Set Planned Margin.- Specified by:
setPlannedMarginAmtin interfaceI_C_ProjectLine- Parameters:
PlannedMarginAmt- Project's planned margin amount
-
getPlannedMarginAmt
public BigDecimal getPlannedMarginAmt()
Get Planned Margin.- Specified by:
getPlannedMarginAmtin interfaceI_C_ProjectLine- Returns:
- Project's planned margin amount
-
setPlannedPrice
public void setPlannedPrice(BigDecimal PlannedPrice)
Set Planned Price.- Specified by:
setPlannedPricein interfaceI_C_ProjectLine- Parameters:
PlannedPrice- Planned price for this project line
-
getPlannedPrice
public BigDecimal getPlannedPrice()
Get Planned Price.- Specified by:
getPlannedPricein interfaceI_C_ProjectLine- Returns:
- Planned price for this project line
-
setPlannedQty
public void setPlannedQty(BigDecimal PlannedQty)
Set Planned Quantity.- Specified by:
setPlannedQtyin interfaceI_C_ProjectLine- Parameters:
PlannedQty- Planned quantity for this project
-
getPlannedQty
public BigDecimal getPlannedQty()
Get Planned Quantity.- Specified by:
getPlannedQtyin interfaceI_C_ProjectLine- Returns:
- Planned quantity for this project
-
setProcessed
public void setProcessed(boolean Processed)
Set Processed.- Specified by:
setProcessedin interfaceI_C_ProjectLine- Parameters:
Processed- The document has been processed
-
isProcessed
public boolean isProcessed()
Get Processed.- Specified by:
isProcessedin interfaceI_C_ProjectLine- Returns:
- The document has been processed
-
-