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 int
get_AccessLevel()
AccessLevelI_C_Order
getC_Order()
int
getC_Order_ID()
Get Order.I_C_Order
getC_OrderPO()
int
getC_OrderPO_ID()
Get Purchase Order.I_C_Project
getC_Project()
int
getC_Project_ID()
Get Project.I_C_ProjectIssue
getC_ProjectIssue()
int
getC_ProjectIssue_ID()
Get Project Issue.int
getC_ProjectLine_ID()
Get Project Line.String
getC_ProjectLine_UU()
Get C_ProjectLine_UU.I_C_ProjectPhase
getC_ProjectPhase()
int
getC_ProjectPhase_ID()
Get Project Phase.I_C_ProjectTask
getC_ProjectTask()
int
getC_ProjectTask_ID()
Get Project Task.BigDecimal
getCommittedAmt()
Get Committed Amount.BigDecimal
getCommittedQty()
Get Committed Quantity.String
getDescription()
Get Description.String
getDoPricing()
Get Pricing.BigDecimal
getInvoicedAmt()
Get Invoiced Amount.BigDecimal
getInvoicedQty()
Get Quantity Invoiced.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameint
getLine()
Get Line No.I_M_Product
getM_Product()
I_M_Product_Category
getM_Product_Category()
int
getM_Product_Category_ID()
Get Product Category.int
getM_Product_ID()
Get Product.I_M_Production
getM_Production()
int
getM_Production_ID()
Get Production.BigDecimal
getPlannedAmt()
Get Planned Amount.BigDecimal
getPlannedMarginAmt()
Get Planned Margin.BigDecimal
getPlannedPrice()
Get Planned Price.BigDecimal
getPlannedQty()
Get Planned Quantity.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isPrinted()
Get Printed.boolean
isProcessed()
Get Processed.void
setC_Order_ID(int C_Order_ID)
Set Order.void
setC_OrderPO_ID(int C_OrderPO_ID)
Set Purchase Order.void
setC_Project_ID(int C_Project_ID)
Set Project.void
setC_ProjectIssue_ID(int C_ProjectIssue_ID)
Set Project Issue.void
setC_ProjectLine_ID(int C_ProjectLine_ID)
Set Project Line.void
setC_ProjectLine_UU(String C_ProjectLine_UU)
Set C_ProjectLine_UU.void
setC_ProjectPhase_ID(int C_ProjectPhase_ID)
Set Project Phase.void
setC_ProjectTask_ID(int C_ProjectTask_ID)
Set Project Task.void
setCommittedAmt(BigDecimal CommittedAmt)
Set Committed Amount.void
setCommittedQty(BigDecimal CommittedQty)
Set Committed Quantity.void
setDescription(String Description)
Set Description.void
setDoPricing(String DoPricing)
Set Pricing.void
setInvoicedAmt(BigDecimal InvoicedAmt)
Set Invoiced Amount.void
setInvoicedQty(BigDecimal InvoicedQty)
Set Quantity Invoiced.void
setIsPrinted(boolean IsPrinted)
Set Printed.void
setLine(int Line)
Set Line No.void
setM_Product_Category_ID(int M_Product_Category_ID)
Set Product Category.void
setM_Product_ID(int M_Product_ID)
Set Product.void
setM_Production_ID(int M_Production_ID)
Set Production.void
setPlannedAmt(BigDecimal PlannedAmt)
Set Planned Amount.void
setPlannedMarginAmt(BigDecimal PlannedMarginAmt)
Set Planned Margin.void
setPlannedPrice(BigDecimal PlannedPrice)
Set Planned Price.void
setPlannedQty(BigDecimal PlannedQty)
Set Planned Quantity.void
setProcessed(boolean Processed)
Set Processed.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_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_AccessLevel
in 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:
setCommittedAmt
in interfaceI_C_ProjectLine
- Parameters:
CommittedAmt
- The (legal) commitment amount
-
getCommittedAmt
public BigDecimal getCommittedAmt()
Get Committed Amount.- Specified by:
getCommittedAmt
in interfaceI_C_ProjectLine
- Returns:
- The (legal) commitment amount
-
setCommittedQty
public void setCommittedQty(BigDecimal CommittedQty)
Set Committed Quantity.- Specified by:
setCommittedQty
in interfaceI_C_ProjectLine
- Parameters:
CommittedQty
- The (legal) commitment Quantity
-
getCommittedQty
public BigDecimal getCommittedQty()
Get Committed Quantity.- Specified by:
getCommittedQty
in interfaceI_C_ProjectLine
- Returns:
- The (legal) commitment Quantity
-
getC_Order
public I_C_Order getC_Order() throws RuntimeException
- Specified by:
getC_Order
in interfaceI_C_ProjectLine
- Throws:
RuntimeException
-
setC_Order_ID
public void setC_Order_ID(int C_Order_ID)
Set Order.- Specified by:
setC_Order_ID
in interfaceI_C_ProjectLine
- Parameters:
C_Order_ID
- Order
-
getC_Order_ID
public int getC_Order_ID()
Get Order.- Specified by:
getC_Order_ID
in interfaceI_C_ProjectLine
- Returns:
- Order
-
getC_OrderPO
public I_C_Order getC_OrderPO() throws RuntimeException
- Specified by:
getC_OrderPO
in interfaceI_C_ProjectLine
- Throws:
RuntimeException
-
setC_OrderPO_ID
public void setC_OrderPO_ID(int C_OrderPO_ID)
Set Purchase Order.- Specified by:
setC_OrderPO_ID
in interfaceI_C_ProjectLine
- Parameters:
C_OrderPO_ID
- Purchase Order
-
getC_OrderPO_ID
public int getC_OrderPO_ID()
Get Purchase Order.- Specified by:
getC_OrderPO_ID
in interfaceI_C_ProjectLine
- Returns:
- Purchase Order
-
getC_Project
public I_C_Project getC_Project() throws RuntimeException
- Specified by:
getC_Project
in interfaceI_C_ProjectLine
- Throws:
RuntimeException
-
setC_Project_ID
public void setC_Project_ID(int C_Project_ID)
Set Project.- Specified by:
setC_Project_ID
in interfaceI_C_ProjectLine
- Parameters:
C_Project_ID
- Financial Project
-
getC_Project_ID
public int getC_Project_ID()
Get Project.- Specified by:
getC_Project_ID
in interfaceI_C_ProjectLine
- Returns:
- Financial Project
-
getC_ProjectIssue
public I_C_ProjectIssue getC_ProjectIssue() throws RuntimeException
- Specified by:
getC_ProjectIssue
in interfaceI_C_ProjectLine
- Throws:
RuntimeException
-
setC_ProjectIssue_ID
public void setC_ProjectIssue_ID(int C_ProjectIssue_ID)
Set Project Issue.- Specified by:
setC_ProjectIssue_ID
in 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_ID
in 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_ID
in 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_ID
in 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_UU
in 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_UU
in interfaceI_C_ProjectLine
- Returns:
- C_ProjectLine_UU
-
getC_ProjectPhase
public I_C_ProjectPhase getC_ProjectPhase() throws RuntimeException
- Specified by:
getC_ProjectPhase
in interfaceI_C_ProjectLine
- Throws:
RuntimeException
-
setC_ProjectPhase_ID
public void setC_ProjectPhase_ID(int C_ProjectPhase_ID)
Set Project Phase.- Specified by:
setC_ProjectPhase_ID
in 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_ID
in interfaceI_C_ProjectLine
- Returns:
- Phase of a Project
-
getC_ProjectTask
public I_C_ProjectTask getC_ProjectTask() throws RuntimeException
- Specified by:
getC_ProjectTask
in interfaceI_C_ProjectLine
- Throws:
RuntimeException
-
setC_ProjectTask_ID
public void setC_ProjectTask_ID(int C_ProjectTask_ID)
Set Project Task.- Specified by:
setC_ProjectTask_ID
in 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_ID
in interfaceI_C_ProjectLine
- Returns:
- Actual Project Task in a Phase
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_C_ProjectLine
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_C_ProjectLine
- Returns:
- Optional short description of the record
-
setDoPricing
public void setDoPricing(String DoPricing)
Set Pricing.- Specified by:
setDoPricing
in interfaceI_C_ProjectLine
- Parameters:
DoPricing
- Pricing
-
getDoPricing
public String getDoPricing()
Get Pricing.- Specified by:
getDoPricing
in interfaceI_C_ProjectLine
- Returns:
- Pricing
-
setInvoicedAmt
public void setInvoicedAmt(BigDecimal InvoicedAmt)
Set Invoiced Amount.- Specified by:
setInvoicedAmt
in interfaceI_C_ProjectLine
- Parameters:
InvoicedAmt
- The amount invoiced
-
getInvoicedAmt
public BigDecimal getInvoicedAmt()
Get Invoiced Amount.- Specified by:
getInvoicedAmt
in interfaceI_C_ProjectLine
- Returns:
- The amount invoiced
-
setInvoicedQty
public void setInvoicedQty(BigDecimal InvoicedQty)
Set Quantity Invoiced.- Specified by:
setInvoicedQty
in interfaceI_C_ProjectLine
- Parameters:
InvoicedQty
- The quantity invoiced
-
getInvoicedQty
public BigDecimal getInvoicedQty()
Get Quantity Invoiced.- Specified by:
getInvoicedQty
in interfaceI_C_ProjectLine
- Returns:
- The quantity invoiced
-
setIsPrinted
public void setIsPrinted(boolean IsPrinted)
Set Printed.- Specified by:
setIsPrinted
in interfaceI_C_ProjectLine
- Parameters:
IsPrinted
- Indicates if this document / line is printed
-
isPrinted
public boolean isPrinted()
Get Printed.- Specified by:
isPrinted
in interfaceI_C_ProjectLine
- Returns:
- Indicates if this document / line is printed
-
setLine
public void setLine(int Line)
Set Line No.- Specified by:
setLine
in interfaceI_C_ProjectLine
- Parameters:
Line
- Unique line for this document
-
getLine
public int getLine()
Get Line No.- Specified by:
getLine
in 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_Category
in 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_ID
in 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_ID
in interfaceI_C_ProjectLine
- Returns:
- Category of a Product
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Product
in interfaceI_C_ProjectLine
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_ID
in interfaceI_C_ProjectLine
- Parameters:
M_Product_ID
- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()
Get Product.- Specified by:
getM_Product_ID
in interfaceI_C_ProjectLine
- Returns:
- Product, Service, Item
-
getM_Production
public I_M_Production getM_Production() throws RuntimeException
- Specified by:
getM_Production
in interfaceI_C_ProjectLine
- Throws:
RuntimeException
-
setM_Production_ID
public void setM_Production_ID(int M_Production_ID)
Set Production.- Specified by:
setM_Production_ID
in 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_ID
in interfaceI_C_ProjectLine
- Returns:
- Plan for producing a product
-
setPlannedAmt
public void setPlannedAmt(BigDecimal PlannedAmt)
Set Planned Amount.- Specified by:
setPlannedAmt
in interfaceI_C_ProjectLine
- Parameters:
PlannedAmt
- Planned amount for this project
-
getPlannedAmt
public BigDecimal getPlannedAmt()
Get Planned Amount.- Specified by:
getPlannedAmt
in interfaceI_C_ProjectLine
- Returns:
- Planned amount for this project
-
setPlannedMarginAmt
public void setPlannedMarginAmt(BigDecimal PlannedMarginAmt)
Set Planned Margin.- Specified by:
setPlannedMarginAmt
in interfaceI_C_ProjectLine
- Parameters:
PlannedMarginAmt
- Project's planned margin amount
-
getPlannedMarginAmt
public BigDecimal getPlannedMarginAmt()
Get Planned Margin.- Specified by:
getPlannedMarginAmt
in interfaceI_C_ProjectLine
- Returns:
- Project's planned margin amount
-
setPlannedPrice
public void setPlannedPrice(BigDecimal PlannedPrice)
Set Planned Price.- Specified by:
setPlannedPrice
in interfaceI_C_ProjectLine
- Parameters:
PlannedPrice
- Planned price for this project line
-
getPlannedPrice
public BigDecimal getPlannedPrice()
Get Planned Price.- Specified by:
getPlannedPrice
in interfaceI_C_ProjectLine
- Returns:
- Planned price for this project line
-
setPlannedQty
public void setPlannedQty(BigDecimal PlannedQty)
Set Planned Quantity.- Specified by:
setPlannedQty
in interfaceI_C_ProjectLine
- Parameters:
PlannedQty
- Planned quantity for this project
-
getPlannedQty
public BigDecimal getPlannedQty()
Get Planned Quantity.- Specified by:
getPlannedQty
in interfaceI_C_ProjectLine
- Returns:
- Planned quantity for this project
-
setProcessed
public void setProcessed(boolean Processed)
Set Processed.- Specified by:
setProcessed
in interfaceI_C_ProjectLine
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()
Get Processed.- Specified by:
isProcessed
in interfaceI_C_ProjectLine
- Returns:
- The document has been processed
-
-