Package org.compiere.model
Class X_C_ProjectPhase
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_C_ProjectPhase
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_ProjectPhase
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MProjectPhase
public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persistent
Generated Model for C_ProjectPhase- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
PROJINVOICERULE_AD_Reference_ID
ProjInvoiceRule AD_Reference_ID=383static String
PROJINVOICERULE_CommittedAmount
Committed Amount = Cstatic String
PROJINVOICERULE_None
None = -static String
PROJINVOICERULE_ProductQuantity
Product Quantity = Pstatic String
PROJINVOICERULE_TimeMaterial
Time&Material = Tstatic String
PROJINVOICERULE_TimeMaterialMaxComitted
Time&Material max Comitted = c-
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_ProjectPhase
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_Order_ID, COLUMNNAME_C_Phase_ID, COLUMNNAME_C_Project_ID, COLUMNNAME_C_ProjectPhase_ID, COLUMNNAME_C_ProjectPhase_UU, COLUMNNAME_CommittedAmt, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_EndDate, COLUMNNAME_GenerateOrder, COLUMNNAME_Help, COLUMNNAME_IsActive, COLUMNNAME_IsCommitCeiling, COLUMNNAME_IsComplete, COLUMNNAME_M_Product_ID, COLUMNNAME_Name, COLUMNNAME_PlannedAmt, COLUMNNAME_PriceActual, COLUMNNAME_ProjInvoiceRule, COLUMNNAME_Qty, COLUMNNAME_SeqNo, COLUMNNAME_StartDate, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_ProjectPhase(Properties ctx, int C_ProjectPhase_ID, String trxName)
Standard ConstructorX_C_ProjectPhase(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_Phase
getC_Phase()
int
getC_Phase_ID()
Get Standard Phase.I_C_Project
getC_Project()
int
getC_Project_ID()
Get Project.int
getC_ProjectPhase_ID()
Get Project Phase.String
getC_ProjectPhase_UU()
Get C_ProjectPhase_UU.BigDecimal
getCommittedAmt()
Get Committed Amount.String
getDescription()
Get Description.Timestamp
getEndDate()
Get End Date.String
getGenerateOrder()
Get Generate Order.String
getHelp()
Get Comment/Help.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameI_M_Product
getM_Product()
int
getM_Product_ID()
Get Product.String
getName()
Get Name.BigDecimal
getPlannedAmt()
Get Planned Amount.BigDecimal
getPriceActual()
Get Unit Price.String
getProjInvoiceRule()
Get Invoice Rule.BigDecimal
getQty()
Get Quantity.int
getSeqNo()
Get Sequence.Timestamp
getStartDate()
Get Start Date.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isCommitCeiling()
Get Commitment is Ceiling.boolean
isComplete()
Get Complete.void
setC_Order_ID(int C_Order_ID)
Set Order.void
setC_Phase_ID(int C_Phase_ID)
Set Standard Phase.void
setC_Project_ID(int C_Project_ID)
Set Project.void
setC_ProjectPhase_ID(int C_ProjectPhase_ID)
Set Project Phase.void
setC_ProjectPhase_UU(String C_ProjectPhase_UU)
Set C_ProjectPhase_UU.void
setCommittedAmt(BigDecimal CommittedAmt)
Set Committed Amount.void
setDescription(String Description)
Set Description.void
setEndDate(Timestamp EndDate)
Set End Date.void
setGenerateOrder(String GenerateOrder)
Set Generate Order.void
setHelp(String Help)
Set Comment/Help.void
setIsCommitCeiling(boolean IsCommitCeiling)
Set Commitment is Ceiling.void
setIsComplete(boolean IsComplete)
Set Complete.void
setM_Product_ID(int M_Product_ID)
Set Product.void
setName(String Name)
Set Name.void
setPlannedAmt(BigDecimal PlannedAmt)
Set Planned Amount.void
setPriceActual(BigDecimal PriceActual)
Set Unit Price.void
setProjInvoiceRule(String ProjInvoiceRule)
Set Invoice Rule.void
setQty(BigDecimal Qty)
Set Quantity.void
setSeqNo(int SeqNo)
Set Sequence.void
setStartDate(Timestamp StartDate)
Set Start Date.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_ProjectPhase
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
-
PROJINVOICERULE_AD_Reference_ID
public static final int PROJINVOICERULE_AD_Reference_ID
ProjInvoiceRule AD_Reference_ID=383- See Also:
- Constant Field Values
-
PROJINVOICERULE_None
public static final String PROJINVOICERULE_None
None = -- See Also:
- Constant Field Values
-
PROJINVOICERULE_TimeMaterialMaxComitted
public static final String PROJINVOICERULE_TimeMaterialMaxComitted
Time&Material max Comitted = c- See Also:
- Constant Field Values
-
PROJINVOICERULE_CommittedAmount
public static final String PROJINVOICERULE_CommittedAmount
Committed Amount = C- See Also:
- Constant Field Values
-
PROJINVOICERULE_ProductQuantity
public static final String PROJINVOICERULE_ProductQuantity
Product Quantity = P- See Also:
- Constant Field Values
-
PROJINVOICERULE_TimeMaterial
public static final String PROJINVOICERULE_TimeMaterial
Time&Material = T- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_C_ProjectPhase
public X_C_ProjectPhase(Properties ctx, int C_ProjectPhase_ID, String trxName)
Standard Constructor
-
X_C_ProjectPhase
public X_C_ProjectPhase(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_ProjectPhase
- Parameters:
CommittedAmt
- The (legal) commitment amount
-
getCommittedAmt
public BigDecimal getCommittedAmt()
Get Committed Amount.- Specified by:
getCommittedAmt
in interfaceI_C_ProjectPhase
- Returns:
- The (legal) commitment amount
-
getC_Order
public I_C_Order getC_Order() throws RuntimeException
- Specified by:
getC_Order
in interfaceI_C_ProjectPhase
- Throws:
RuntimeException
-
setC_Order_ID
public void setC_Order_ID(int C_Order_ID)
Set Order.- Specified by:
setC_Order_ID
in interfaceI_C_ProjectPhase
- Parameters:
C_Order_ID
- Order
-
getC_Order_ID
public int getC_Order_ID()
Get Order.- Specified by:
getC_Order_ID
in interfaceI_C_ProjectPhase
- Returns:
- Order
-
getC_Phase
public I_C_Phase getC_Phase() throws RuntimeException
- Specified by:
getC_Phase
in interfaceI_C_ProjectPhase
- Throws:
RuntimeException
-
setC_Phase_ID
public void setC_Phase_ID(int C_Phase_ID)
Set Standard Phase.- Specified by:
setC_Phase_ID
in interfaceI_C_ProjectPhase
- Parameters:
C_Phase_ID
- Standard Phase of the Project Type
-
getC_Phase_ID
public int getC_Phase_ID()
Get Standard Phase.- Specified by:
getC_Phase_ID
in interfaceI_C_ProjectPhase
- Returns:
- Standard Phase of the Project Type
-
getC_Project
public I_C_Project getC_Project() throws RuntimeException
- Specified by:
getC_Project
in interfaceI_C_ProjectPhase
- Throws:
RuntimeException
-
setC_Project_ID
public void setC_Project_ID(int C_Project_ID)
Set Project.- Specified by:
setC_Project_ID
in interfaceI_C_ProjectPhase
- Parameters:
C_Project_ID
- Financial Project
-
getC_Project_ID
public int getC_Project_ID()
Get Project.- Specified by:
getC_Project_ID
in interfaceI_C_ProjectPhase
- Returns:
- Financial Project
-
setC_ProjectPhase_ID
public void setC_ProjectPhase_ID(int C_ProjectPhase_ID)
Set Project Phase.- Specified by:
setC_ProjectPhase_ID
in interfaceI_C_ProjectPhase
- 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_ProjectPhase
- Returns:
- Phase of a Project
-
setC_ProjectPhase_UU
public void setC_ProjectPhase_UU(String C_ProjectPhase_UU)
Set C_ProjectPhase_UU.- Specified by:
setC_ProjectPhase_UU
in interfaceI_C_ProjectPhase
- Parameters:
C_ProjectPhase_UU
- C_ProjectPhase_UU
-
getC_ProjectPhase_UU
public String getC_ProjectPhase_UU()
Get C_ProjectPhase_UU.- Specified by:
getC_ProjectPhase_UU
in interfaceI_C_ProjectPhase
- Returns:
- C_ProjectPhase_UU
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_C_ProjectPhase
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_C_ProjectPhase
- Returns:
- Optional short description of the record
-
setEndDate
public void setEndDate(Timestamp EndDate)
Set End Date.- Specified by:
setEndDate
in interfaceI_C_ProjectPhase
- Parameters:
EndDate
- Last effective date (inclusive)
-
getEndDate
public Timestamp getEndDate()
Get End Date.- Specified by:
getEndDate
in interfaceI_C_ProjectPhase
- Returns:
- Last effective date (inclusive)
-
setGenerateOrder
public void setGenerateOrder(String GenerateOrder)
Set Generate Order.- Specified by:
setGenerateOrder
in interfaceI_C_ProjectPhase
- Parameters:
GenerateOrder
- Generate Order
-
getGenerateOrder
public String getGenerateOrder()
Get Generate Order.- Specified by:
getGenerateOrder
in interfaceI_C_ProjectPhase
- Returns:
- Generate Order
-
setHelp
public void setHelp(String Help)
Set Comment/Help.- Specified by:
setHelp
in interfaceI_C_ProjectPhase
- Parameters:
Help
- Comment or Hint
-
getHelp
public String getHelp()
Get Comment/Help.- Specified by:
getHelp
in interfaceI_C_ProjectPhase
- Returns:
- Comment or Hint
-
setIsCommitCeiling
public void setIsCommitCeiling(boolean IsCommitCeiling)
Set Commitment is Ceiling.- Specified by:
setIsCommitCeiling
in interfaceI_C_ProjectPhase
- Parameters:
IsCommitCeiling
- The commitment amount/quantity is the chargeable ceiling
-
isCommitCeiling
public boolean isCommitCeiling()
Get Commitment is Ceiling.- Specified by:
isCommitCeiling
in interfaceI_C_ProjectPhase
- Returns:
- The commitment amount/quantity is the chargeable ceiling
-
setIsComplete
public void setIsComplete(boolean IsComplete)
Set Complete.- Specified by:
setIsComplete
in interfaceI_C_ProjectPhase
- Parameters:
IsComplete
- It is complete
-
isComplete
public boolean isComplete()
Get Complete.- Specified by:
isComplete
in interfaceI_C_ProjectPhase
- Returns:
- It is complete
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Product
in interfaceI_C_ProjectPhase
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_ID
in interfaceI_C_ProjectPhase
- 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_ProjectPhase
- Returns:
- Product, Service, Item
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_C_ProjectPhase
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_C_ProjectPhase
- Returns:
- Alphanumeric identifier of the entity
-
setPlannedAmt
public void setPlannedAmt(BigDecimal PlannedAmt)
Set Planned Amount.- Specified by:
setPlannedAmt
in interfaceI_C_ProjectPhase
- Parameters:
PlannedAmt
- Planned amount for this project
-
getPlannedAmt
public BigDecimal getPlannedAmt()
Get Planned Amount.- Specified by:
getPlannedAmt
in interfaceI_C_ProjectPhase
- Returns:
- Planned amount for this project
-
setPriceActual
public void setPriceActual(BigDecimal PriceActual)
Set Unit Price.- Specified by:
setPriceActual
in interfaceI_C_ProjectPhase
- Parameters:
PriceActual
- Actual Price
-
getPriceActual
public BigDecimal getPriceActual()
Get Unit Price.- Specified by:
getPriceActual
in interfaceI_C_ProjectPhase
- Returns:
- Actual Price
-
setProjInvoiceRule
public void setProjInvoiceRule(String ProjInvoiceRule)
Set Invoice Rule.- Specified by:
setProjInvoiceRule
in interfaceI_C_ProjectPhase
- Parameters:
ProjInvoiceRule
- Invoice Rule for the project
-
getProjInvoiceRule
public String getProjInvoiceRule()
Get Invoice Rule.- Specified by:
getProjInvoiceRule
in interfaceI_C_ProjectPhase
- Returns:
- Invoice Rule for the project
-
setQty
public void setQty(BigDecimal Qty)
Set Quantity.- Specified by:
setQty
in interfaceI_C_ProjectPhase
- Parameters:
Qty
- Quantity
-
getQty
public BigDecimal getQty()
Get Quantity.- Specified by:
getQty
in interfaceI_C_ProjectPhase
- Returns:
- Quantity
-
setSeqNo
public void setSeqNo(int SeqNo)
Set Sequence.- Specified by:
setSeqNo
in interfaceI_C_ProjectPhase
- Parameters:
SeqNo
- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()
Get Sequence.- Specified by:
getSeqNo
in interfaceI_C_ProjectPhase
- Returns:
- Method of ordering records; lowest number comes first
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setStartDate
public void setStartDate(Timestamp StartDate)
Set Start Date.- Specified by:
setStartDate
in interfaceI_C_ProjectPhase
- Parameters:
StartDate
- First effective day (inclusive)
-
getStartDate
public Timestamp getStartDate()
Get Start Date.- Specified by:
getStartDate
in interfaceI_C_ProjectPhase
- Returns:
- First effective day (inclusive)
-
-