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 int
BOMTYPE_AD_Reference_ID
BOMType AD_Reference_ID=279static String
BOMTYPE_InAlternaltveGroup3
In alternaltve Group 3 = 3static String
BOMTYPE_InAlternativeGroup1
In alternative Group 1 = 1static String
BOMTYPE_InAlternativeGroup2
In alternative Group 2 = 2static String
BOMTYPE_InAlternativeGroup4
In alternative Group 4 = 4static String
BOMTYPE_InAlternativeGroup5
In alternative Group 5 = 5static String
BOMTYPE_InAlternativeGroup6
In alternative Group 6 = 6static String
BOMTYPE_InAlternativeGroup7
In alternative Group 7 = 7static String
BOMTYPE_InAlternativeGroup8
In alternative Group 8 = 8static String
BOMTYPE_InAlternativeGroup9
In alternative Group 9 = 9static String
BOMTYPE_OptionalPart
Optional Part = Ostatic String
BOMTYPE_StandardPart
Standard 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 int
get_AccessLevel()
AccessLevelBigDecimal
getBOMQty()
Get BOM Quantity.String
getBOMType()
Get BOM Type.BigDecimal
getCostStandard()
Get Standard Cost.BigDecimal
getCostStandardCumAmt()
Get Std Cost Amount Sum.String
getDescription()
Get Description.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameint
getLine()
Get Line No.I_M_PartType
getM_PartType()
int
getM_PartType_ID()
Get Part Type.I_M_Product
getM_Product()
int
getM_Product_BOM_ID()
Get BOM Line.String
getM_Product_BOM_UU()
Get M_Product_BOM_UU.int
getM_Product_ID()
Get Product.I_M_Product
getM_ProductBOM()
int
getM_ProductBOM_ID()
Get BOM Product.String
getValue()
Get Search Key.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isBillOfMaterial()
Get Bill of Materials.void
setBOMQty(BigDecimal BOMQty)
Set BOM Quantity.void
setBOMType(String BOMType)
Set BOM Type.void
setCostStandard(BigDecimal CostStandard)
Set Standard Cost.void
setCostStandardCumAmt(BigDecimal CostStandardCumAmt)
Set Std Cost Amount Sum.void
setDescription(String Description)
Set Description.void
setIsBillOfMaterial(boolean IsBillOfMaterial)
Set Bill of Materials.void
setLine(int Line)
Set Line No.void
setM_PartType_ID(int M_PartType_ID)
Set Part Type.void
setM_Product_BOM_ID(int M_Product_BOM_ID)
Set BOM Line.void
setM_Product_BOM_UU(String M_Product_BOM_UU)
Set M_Product_BOM_UU.void
setM_Product_ID(int M_Product_ID)
Set Product.void
setM_ProductBOM_ID(int M_ProductBOM_ID)
Set BOM Product.void
setValue(String Value)
Set Search Key.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_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_AccessLevel
in 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:
setBOMQty
in interfaceI_M_Product_BOM
- Parameters:
BOMQty
- Bill of Materials Quantity
-
getBOMQty
public BigDecimal getBOMQty()
Get BOM Quantity.- Specified by:
getBOMQty
in interfaceI_M_Product_BOM
- Returns:
- Bill of Materials Quantity
-
setBOMType
public void setBOMType(String BOMType)
Set BOM Type.- Specified by:
setBOMType
in interfaceI_M_Product_BOM
- Parameters:
BOMType
- Type of BOM
-
getBOMType
public String getBOMType()
Get BOM Type.- Specified by:
getBOMType
in interfaceI_M_Product_BOM
- Returns:
- Type of BOM
-
setCostStandard
public void setCostStandard(BigDecimal CostStandard)
Set Standard Cost.- Specified by:
setCostStandard
in interfaceI_M_Product_BOM
- Parameters:
CostStandard
- Standard Costs
-
getCostStandard
public BigDecimal getCostStandard()
Get Standard Cost.- Specified by:
getCostStandard
in interfaceI_M_Product_BOM
- Returns:
- Standard Costs
-
setCostStandardCumAmt
public void setCostStandardCumAmt(BigDecimal CostStandardCumAmt)
Set Std Cost Amount Sum.- Specified by:
setCostStandardCumAmt
in interfaceI_M_Product_BOM
- Parameters:
CostStandardCumAmt
- Standard Cost Invoice Amount Sum (internal)
-
getCostStandardCumAmt
public BigDecimal getCostStandardCumAmt()
Get Std Cost Amount Sum.- Specified by:
getCostStandardCumAmt
in interfaceI_M_Product_BOM
- Returns:
- Standard Cost Invoice Amount Sum (internal)
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_M_Product_BOM
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_M_Product_BOM
- Returns:
- Optional short description of the record
-
setIsBillOfMaterial
public void setIsBillOfMaterial(boolean IsBillOfMaterial)
Set Bill of Materials.- Specified by:
setIsBillOfMaterial
in interfaceI_M_Product_BOM
- Parameters:
IsBillOfMaterial
- Bill of Materials
-
isBillOfMaterial
public boolean isBillOfMaterial()
Get Bill of Materials.- Specified by:
isBillOfMaterial
in interfaceI_M_Product_BOM
- Returns:
- Bill of Materials
-
setLine
public void setLine(int Line)
Set Line No.- Specified by:
setLine
in interfaceI_M_Product_BOM
- Parameters:
Line
- Unique line for this document
-
getLine
public int getLine()
Get Line No.- Specified by:
getLine
in interfaceI_M_Product_BOM
- Returns:
- Unique line for this document
-
getM_PartType
public I_M_PartType getM_PartType() throws RuntimeException
- Specified by:
getM_PartType
in 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_ID
in 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_ID
in 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_ID
in 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_ID
in interfaceI_M_Product_BOM
- Returns:
- BOM Line
-
getM_ProductBOM
public I_M_Product getM_ProductBOM() throws RuntimeException
- Specified by:
getM_ProductBOM
in 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_ID
in 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_ID
in 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_UU
in 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_UU
in interfaceI_M_Product_BOM
- Returns:
- M_Product_BOM_UU
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Product
in interfaceI_M_Product_BOM
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_ID
in 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_ID
in interfaceI_M_Product_BOM
- Returns:
- Product, Service, Item
-
setValue
public void setValue(String Value)
Set Search Key.- Specified by:
setValue
in 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:
getValue
in interfaceI_M_Product_BOM
- Returns:
- Search key for the record in the format required - must be unique
-
-