Package org.compiere.model
Class X_M_Product_BOM
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_M_Product_BOM
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_M_Product_BOM,I_Persistent,Evaluatee
- Direct Known Subclasses:
MProductBOM
public class X_M_Product_BOM extends PO implements I_M_Product_BOM, I_Persistent
Generated Model for M_Product_BOM- Version:
- Development 9.0 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intBOMTYPE_AD_Reference_IDBOMType AD_Reference_ID=279static StringBOMTYPE_InAlternaltveGroup3In alternaltve Group 3 = 3static StringBOMTYPE_InAlternativeGroup1In alternative Group 1 = 1static StringBOMTYPE_InAlternativeGroup2In alternative Group 2 = 2static StringBOMTYPE_InAlternativeGroup4In alternative Group 4 = 4static StringBOMTYPE_InAlternativeGroup5In alternative Group 5 = 5static StringBOMTYPE_InAlternativeGroup6In alternative Group 6 = 6static StringBOMTYPE_InAlternativeGroup7In alternative Group 7 = 7static StringBOMTYPE_InAlternativeGroup8In alternative Group 8 = 8static StringBOMTYPE_InAlternativeGroup9In alternative Group 9 = 9static StringBOMTYPE_OptionalPartOptional Part = Ostatic StringBOMTYPE_StandardPartStandard Part = P-
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_M_Product_BOM
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_BOMQty, COLUMNNAME_BOMType, COLUMNNAME_CostStandard, COLUMNNAME_CostStandardCumAmt, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_IsActive, COLUMNNAME_IsBillOfMaterial, COLUMNNAME_Line, COLUMNNAME_M_PartType_ID, COLUMNNAME_M_Product_BOM_ID, COLUMNNAME_M_Product_BOM_UU, COLUMNNAME_M_Product_ID, COLUMNNAME_M_ProductBOM_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_Value, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_M_Product_BOM(Properties ctx, int M_Product_BOM_ID, String trxName)Standard ConstructorX_M_Product_BOM(Properties ctx, ResultSet rs, String trxName)Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intget_AccessLevel()AccessLevelBigDecimalgetBOMQty()Get BOM Quantity.StringgetBOMType()Get BOM Type.BigDecimalgetCostStandard()Get Standard Cost.BigDecimalgetCostStandardCumAmt()Get Std Cost Amount Sum.StringgetDescription()Get Description.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameintgetLine()Get Line No.I_M_PartTypegetM_PartType()intgetM_PartType_ID()Get Part Type.I_M_ProductgetM_Product()intgetM_Product_BOM_ID()Get BOM Line.StringgetM_Product_BOM_UU()Get M_Product_BOM_UU.intgetM_Product_ID()Get Product.I_M_ProductgetM_ProductBOM()intgetM_ProductBOM_ID()Get BOM Product.StringgetValue()Get Search Key.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisBillOfMaterial()Get Bill of Materials.voidsetBOMQty(BigDecimal BOMQty)Set BOM Quantity.voidsetBOMType(String BOMType)Set BOM Type.voidsetCostStandard(BigDecimal CostStandard)Set Standard Cost.voidsetCostStandardCumAmt(BigDecimal CostStandardCumAmt)Set Std Cost Amount Sum.voidsetDescription(String Description)Set Description.voidsetIsBillOfMaterial(boolean IsBillOfMaterial)Set Bill of Materials.voidsetLine(int Line)Set Line No.voidsetM_PartType_ID(int M_PartType_ID)Set Part Type.voidsetM_Product_BOM_ID(int M_Product_BOM_ID)Set BOM Line.voidsetM_Product_BOM_UU(String M_Product_BOM_UU)Set M_Product_BOM_UU.voidsetM_Product_ID(int M_Product_ID)Set Product.voidsetM_ProductBOM_ID(int M_ProductBOM_ID)Set BOM Product.voidsetValue(String Value)Set Search Key.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_M_Product_BOM
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
-
BOMTYPE_AD_Reference_ID
public static final int BOMTYPE_AD_Reference_ID
BOMType AD_Reference_ID=279- See Also:
- Constant Field Values
-
BOMTYPE_InAlternativeGroup1
public static final String BOMTYPE_InAlternativeGroup1
In alternative Group 1 = 1- See Also:
- Constant Field Values
-
BOMTYPE_InAlternativeGroup2
public static final String BOMTYPE_InAlternativeGroup2
In alternative Group 2 = 2- See Also:
- Constant Field Values
-
BOMTYPE_InAlternaltveGroup3
public static final String BOMTYPE_InAlternaltveGroup3
In alternaltve Group 3 = 3- See Also:
- Constant Field Values
-
BOMTYPE_InAlternativeGroup4
public static final String BOMTYPE_InAlternativeGroup4
In alternative Group 4 = 4- See Also:
- Constant Field Values
-
BOMTYPE_InAlternativeGroup5
public static final String BOMTYPE_InAlternativeGroup5
In alternative Group 5 = 5- See Also:
- Constant Field Values
-
BOMTYPE_InAlternativeGroup6
public static final String BOMTYPE_InAlternativeGroup6
In alternative Group 6 = 6- See Also:
- Constant Field Values
-
BOMTYPE_InAlternativeGroup7
public static final String BOMTYPE_InAlternativeGroup7
In alternative Group 7 = 7- See Also:
- Constant Field Values
-
BOMTYPE_InAlternativeGroup8
public static final String BOMTYPE_InAlternativeGroup8
In alternative Group 8 = 8- See Also:
- Constant Field Values
-
BOMTYPE_InAlternativeGroup9
public static final String BOMTYPE_InAlternativeGroup9
In alternative Group 9 = 9- See Also:
- Constant Field Values
-
BOMTYPE_OptionalPart
public static final String BOMTYPE_OptionalPart
Optional Part = O- See Also:
- Constant Field Values
-
BOMTYPE_StandardPart
public static final String BOMTYPE_StandardPart
Standard Part = P- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_M_Product_BOM
public X_M_Product_BOM(Properties ctx, int M_Product_BOM_ID, String trxName)
Standard Constructor
-
X_M_Product_BOM
public X_M_Product_BOM(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
-
setBOMQty
public void setBOMQty(BigDecimal BOMQty)
Set BOM Quantity.- Specified by:
setBOMQtyin interfaceI_M_Product_BOM- Parameters:
BOMQty- Bill of Materials Quantity
-
getBOMQty
public BigDecimal getBOMQty()
Get BOM Quantity.- Specified by:
getBOMQtyin interfaceI_M_Product_BOM- Returns:
- Bill of Materials Quantity
-
setBOMType
public void setBOMType(String BOMType)
Set BOM Type.- Specified by:
setBOMTypein interfaceI_M_Product_BOM- Parameters:
BOMType- Type of BOM
-
getBOMType
public String getBOMType()
Get BOM Type.- Specified by:
getBOMTypein interfaceI_M_Product_BOM- Returns:
- Type of BOM
-
setCostStandard
public void setCostStandard(BigDecimal CostStandard)
Set Standard Cost.- Specified by:
setCostStandardin interfaceI_M_Product_BOM- Parameters:
CostStandard- Standard Costs
-
getCostStandard
public BigDecimal getCostStandard()
Get Standard Cost.- Specified by:
getCostStandardin interfaceI_M_Product_BOM- Returns:
- Standard Costs
-
setCostStandardCumAmt
public void setCostStandardCumAmt(BigDecimal CostStandardCumAmt)
Set Std Cost Amount Sum.- Specified by:
setCostStandardCumAmtin interfaceI_M_Product_BOM- Parameters:
CostStandardCumAmt- Standard Cost Invoice Amount Sum (internal)
-
getCostStandardCumAmt
public BigDecimal getCostStandardCumAmt()
Get Std Cost Amount Sum.- Specified by:
getCostStandardCumAmtin interfaceI_M_Product_BOM- Returns:
- Standard Cost Invoice Amount Sum (internal)
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_M_Product_BOM- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_M_Product_BOM- Returns:
- Optional short description of the record
-
setIsBillOfMaterial
public void setIsBillOfMaterial(boolean IsBillOfMaterial)
Set Bill of Materials.- Specified by:
setIsBillOfMaterialin interfaceI_M_Product_BOM- Parameters:
IsBillOfMaterial- Bill of Materials
-
isBillOfMaterial
public boolean isBillOfMaterial()
Get Bill of Materials.- Specified by:
isBillOfMaterialin interfaceI_M_Product_BOM- Returns:
- Bill of Materials
-
setLine
public void setLine(int Line)
Set Line No.- Specified by:
setLinein interfaceI_M_Product_BOM- Parameters:
Line- Unique line for this document
-
getLine
public int getLine()
Get Line No.- Specified by:
getLinein interfaceI_M_Product_BOM- Returns:
- Unique line for this document
-
getM_PartType
public I_M_PartType getM_PartType() throws RuntimeException
- Specified by:
getM_PartTypein interfaceI_M_Product_BOM- Throws:
RuntimeException
-
setM_PartType_ID
public void setM_PartType_ID(int M_PartType_ID)
Set Part Type.- Specified by:
setM_PartType_IDin interfaceI_M_Product_BOM- Parameters:
M_PartType_ID- Part Type
-
getM_PartType_ID
public int getM_PartType_ID()
Get Part Type.- Specified by:
getM_PartType_IDin interfaceI_M_Product_BOM- Returns:
- Part Type
-
setM_Product_BOM_ID
public void setM_Product_BOM_ID(int M_Product_BOM_ID)
Set BOM Line.- Specified by:
setM_Product_BOM_IDin interfaceI_M_Product_BOM- Parameters:
M_Product_BOM_ID- BOM Line
-
getM_Product_BOM_ID
public int getM_Product_BOM_ID()
Get BOM Line.- Specified by:
getM_Product_BOM_IDin interfaceI_M_Product_BOM- Returns:
- BOM Line
-
getM_ProductBOM
public I_M_Product getM_ProductBOM() throws RuntimeException
- Specified by:
getM_ProductBOMin interfaceI_M_Product_BOM- Throws:
RuntimeException
-
setM_ProductBOM_ID
public void setM_ProductBOM_ID(int M_ProductBOM_ID)
Set BOM Product.- Specified by:
setM_ProductBOM_IDin interfaceI_M_Product_BOM- Parameters:
M_ProductBOM_ID- Bill of Material Component Product
-
getM_ProductBOM_ID
public int getM_ProductBOM_ID()
Get BOM Product.- Specified by:
getM_ProductBOM_IDin interfaceI_M_Product_BOM- Returns:
- Bill of Material Component Product
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setM_Product_BOM_UU
public void setM_Product_BOM_UU(String M_Product_BOM_UU)
Set M_Product_BOM_UU.- Specified by:
setM_Product_BOM_UUin interfaceI_M_Product_BOM- Parameters:
M_Product_BOM_UU- M_Product_BOM_UU
-
getM_Product_BOM_UU
public String getM_Product_BOM_UU()
Get M_Product_BOM_UU.- Specified by:
getM_Product_BOM_UUin interfaceI_M_Product_BOM- Returns:
- M_Product_BOM_UU
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Productin interfaceI_M_Product_BOM- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_IDin interfaceI_M_Product_BOM- Parameters:
M_Product_ID- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()
Get Product.- Specified by:
getM_Product_IDin interfaceI_M_Product_BOM- Returns:
- Product, Service, Item
-
setValue
public void setValue(String Value)
Set Search Key.- Specified by:
setValuein interfaceI_M_Product_BOM- Parameters:
Value- Search key for the record in the format required - must be unique
-
getValue
public String getValue()
Get Search Key.- Specified by:
getValuein interfaceI_M_Product_BOM- Returns:
- Search key for the record in the format required - must be unique
-
-