|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.PO
org.compiere.model.X_M_BOMProduct
org.compiere.model.MBOMProduct
public class MBOMProduct
BOM Product/Component Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MBOMProduct(Ctx ctx,
int M_BOMProduct_ID,
String trxName)
Standard Constructor |
|
MBOMProduct(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
MBOMProduct(MBOM bom)
Parent Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
MBOM |
getBOM()
Get Parent |
static MBOMProduct[] |
getBOMLines(MBOM bom)
Get BOM Lines for Product given a specific BOM |
static MBOMProduct[] |
getBOMLines(MProduct product)
Get BOM Lines for Product. |
static MBOMProduct[] |
getBOMLines(MProduct product,
String bomType,
String bomUse)
Get BOM Lines for Product. |
MProduct |
getComponent()
Get included component |
MBOM |
getComponentBOM()
Get Component BOM |
static MBOMProduct[] |
getOfBOM(MBOM bom)
Get Products of BOM |
void |
setM_ProductBOM_ID(int M_ProductBOM_ID)
Set component |
void |
setM_ProductBOMVersion_ID(int M_ProductBOMVersion_ID)
Set component BOM |
String |
toString()
Info |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MBOMProduct(Ctx ctx,
int M_BOMProduct_ID,
String trxName)
ctx - contextM_BOMProduct_ID - idtrxName - trxpublic MBOMProduct(MBOM bom)
bom - product
public MBOMProduct(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - trx| Method Detail |
|---|
public static MBOMProduct[] getOfBOM(MBOM bom)
bom - bom
public static MBOMProduct[] getBOMLines(MProduct product)
product - product
public static MBOMProduct[] getBOMLines(MProduct product,
String bomType,
String bomUse)
product - productbomType - bomtypebomUse - bomuse
public static MBOMProduct[] getBOMLines(MBOM bom)
ctx - contextM_Product_ID - producttrxName - transaction
public MBOM getBOM()
public MProduct getComponent()
public void setM_ProductBOM_ID(int M_ProductBOM_ID)
setM_ProductBOM_ID in class X_M_BOMProductM_ProductBOM_ID - product IDpublic MBOM getComponentBOM()
public void setM_ProductBOMVersion_ID(int M_ProductBOMVersion_ID)
setM_ProductBOMVersion_ID in class X_M_BOMProductM_ProductBOM_ID - product IDpublic String toString()
toString in class X_M_BOMProductprotected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||