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
Generated Model for C_ProjectLine
- Version:
- Release 11 - $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_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
ConstructorDescriptionX_C_ProjectLine
(Properties ctx, int C_ProjectLine_ID, String trxName) Standard ConstructorX_C_ProjectLine
(Properties ctx, int C_ProjectLine_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_ProjectLine
(Properties ctx, String C_ProjectLine_UU, String trxName) Standard ConstructorX_C_ProjectLine
(Properties ctx, String C_ProjectLine_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_ProjectLine
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Order.int
Get Purchase Order.int
Get Project.int
Get Project Issue.int
Get Project Line.Get C_ProjectLine_UU.int
Get Project Phase.int
Get Project Task.Get Committed Amount.Get Committed Quantity.Get Description.Get Pricing.Get Invoiced Amount.Get Quantity Invoiced.Get Record ID/ColumnNameint
getLine()
Get Line No.int
Get Product Category.int
Get Product.int
Get Production.Get Planned Amount.Get Planned Margin.Get Planned Price.Get Planned Quantity.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Printed.boolean
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.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_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
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 Details
-
X_C_ProjectLine
Standard Constructor -
X_C_ProjectLine
public X_C_ProjectLine(Properties ctx, int C_ProjectLine_ID, String trxName, String... virtualColumns) Standard Constructor -
X_C_ProjectLine
Standard Constructor -
X_C_ProjectLine
public X_C_ProjectLine(Properties ctx, String C_ProjectLine_UU, String trxName, String... virtualColumns) Standard Constructor -
X_C_ProjectLine
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setCommittedAmt
Set Committed Amount.- Specified by:
setCommittedAmt
in interfaceI_C_ProjectLine
- Parameters:
CommittedAmt
- The (legal) commitment amount
-
getCommittedAmt
Get Committed Amount.- Specified by:
getCommittedAmt
in interfaceI_C_ProjectLine
- Returns:
- The (legal) commitment amount
-
setCommittedQty
Set Committed Quantity.- Specified by:
setCommittedQty
in interfaceI_C_ProjectLine
- Parameters:
CommittedQty
- The (legal) commitment Quantity
-
getCommittedQty
Get Committed Quantity.- Specified by:
getCommittedQty
in interfaceI_C_ProjectLine
- Returns:
- The (legal) commitment Quantity
-
getC_Order
- 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
- 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
- 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
- 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
Set C_ProjectLine_UU.- Specified by:
setC_ProjectLine_UU
in interfaceI_C_ProjectLine
- Parameters:
C_ProjectLine_UU
- C_ProjectLine_UU
-
getC_ProjectLine_UU
Get C_ProjectLine_UU.- Specified by:
getC_ProjectLine_UU
in interfaceI_C_ProjectLine
- Returns:
- C_ProjectLine_UU
-
getC_ProjectPhase
- 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
- 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
Set Description.- Specified by:
setDescription
in interfaceI_C_ProjectLine
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_C_ProjectLine
- Returns:
- Optional short description of the record
-
setDoPricing
Set Pricing.- Specified by:
setDoPricing
in interfaceI_C_ProjectLine
- Parameters:
DoPricing
- Pricing
-
getDoPricing
Get Pricing.- Specified by:
getDoPricing
in interfaceI_C_ProjectLine
- Returns:
- Pricing
-
setInvoicedAmt
Set Invoiced Amount.- Specified by:
setInvoicedAmt
in interfaceI_C_ProjectLine
- Parameters:
InvoicedAmt
- The amount invoiced
-
getInvoicedAmt
Get Invoiced Amount.- Specified by:
getInvoicedAmt
in interfaceI_C_ProjectLine
- Returns:
- The amount invoiced
-
setInvoicedQty
Set Quantity Invoiced.- Specified by:
setInvoicedQty
in interfaceI_C_ProjectLine
- Parameters:
InvoicedQty
- The quantity invoiced
-
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
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getM_Product_Category
- 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
- 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
- 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
Set Planned Amount.- Specified by:
setPlannedAmt
in interfaceI_C_ProjectLine
- Parameters:
PlannedAmt
- Planned amount for this project
-
getPlannedAmt
Get Planned Amount.- Specified by:
getPlannedAmt
in interfaceI_C_ProjectLine
- Returns:
- Planned amount for this project
-
setPlannedMarginAmt
Set Planned Margin.- Specified by:
setPlannedMarginAmt
in interfaceI_C_ProjectLine
- Parameters:
PlannedMarginAmt
- Project's planned margin amount
-
getPlannedMarginAmt
Get Planned Margin.- Specified by:
getPlannedMarginAmt
in interfaceI_C_ProjectLine
- Returns:
- Project's planned margin amount
-
setPlannedPrice
Set Planned Price.- Specified by:
setPlannedPrice
in interfaceI_C_ProjectLine
- Parameters:
PlannedPrice
- Planned price for this project line
-
getPlannedPrice
Get Planned Price.- Specified by:
getPlannedPrice
in interfaceI_C_ProjectLine
- Returns:
- Planned price for this project line
-
setPlannedQty
Set Planned Quantity.- Specified by:
setPlannedQty
in interfaceI_C_ProjectLine
- Parameters:
PlannedQty
- Planned quantity for this project
-
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
-