Adempiere 3.5.2a

org.compiere.model
Class X_M_BOMProduct

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_M_BOMProduct
All Implemented Interfaces:
Serializable, Comparator, I_M_BOMProduct, I_Persistent, Evaluatee
Direct Known Subclasses:
MBOMProduct

public class X_M_BOMProduct
extends PO
implements I_M_BOMProduct, I_Persistent

Generated Model for M_BOMProduct

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int BOMPRODUCTTYPE_AD_Reference_ID
          BOMProductType AD_Reference_ID=349
static String BOMPRODUCTTYPE_Alternative
          Alternative = A
static String BOMPRODUCTTYPE_AlternativeDefault
          Alternative (Default) = D
static String BOMPRODUCTTYPE_OptionalProduct
          Optional Product = O
static String BOMPRODUCTTYPE_OutsideProcessing
          Outside Processing = X
static String BOMPRODUCTTYPE_StandardProduct
          Standard Product = S
static int M_PRODUCTBOM_ID_AD_Reference_ID
          M_ProductBOM_ID AD_Reference_ID=162
 
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, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Fields inherited from interface org.compiere.model.I_M_BOMProduct
accessLevel, COLUMNNAME_BOMProductType, COLUMNNAME_BOMQty, COLUMNNAME_Description, COLUMNNAME_Help, COLUMNNAME_IsPhantom, COLUMNNAME_LeadTimeOffset, COLUMNNAME_Line, COLUMNNAME_M_AttributeSetInstance_ID, COLUMNNAME_M_BOM_ID, COLUMNNAME_M_BOMAlternative_ID, COLUMNNAME_M_BOMProduct_ID, COLUMNNAME_M_ChangeNotice_ID, COLUMNNAME_M_ProductBOM_ID, COLUMNNAME_M_ProductOperation_ID, COLUMNNAME_SeqNo, Model, Table_ID, Table_Name
 
Constructor Summary
X_M_BOMProduct(Properties ctx, int M_BOMProduct_ID, String trxName)
          Standard Constructor
X_M_BOMProduct(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 String getBOMProductType()
          Get Component Type.
 BigDecimal getBOMQty()
          Get BOM Quantity.
 String getDescription()
          Get Description.
 String getHelp()
          Get Comment/Help.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getLeadTimeOffset()
          Get Lead Time Offset.
 int getLine()
          Get Line No.
 int getM_AttributeSetInstance_ID()
          Get Attribute Set Instance.
 int getM_BOM_ID()
          Get BOM.
 I_M_BOM getM_BOM()
           
 int getM_BOMAlternative_ID()
          Get Alternative Group.
 I_M_BOMAlternative getM_BOMAlternative()
           
 int getM_BOMProduct_ID()
          Get BOM Component.
 int getM_ChangeNotice_ID()
          Get Change Notice.
 I_M_ChangeNotice getM_ChangeNotice()
           
 int getM_ProductBOM_ID()
          Get BOM Product.
 int getM_ProductOperation_ID()
          Get Product Operation.
 I_M_ProductOperation getM_ProductOperation()
           
 int getSeqNo()
          Get Sequence.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isPhantom()
          Get Phantom.
 void setBOMProductType(String BOMProductType)
          Set Component Type.
 void setBOMQty(BigDecimal BOMQty)
          Set BOM Quantity.
 void setDescription(String Description)
          Set Description.
 void setHelp(String Help)
          Set Comment/Help.
 void setIsPhantom(boolean IsPhantom)
          Set Phantom.
 void setLeadTimeOffset(int LeadTimeOffset)
          Set Lead Time Offset.
 void setLine(int Line)
          Set Line No.
 void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
          Set Attribute Set Instance.
 void setM_BOM_ID(int M_BOM_ID)
          Set BOM.
 void setM_BOMAlternative_ID(int M_BOMAlternative_ID)
          Set Alternative Group.
 void setM_BOMProduct_ID(int M_BOMProduct_ID)
          Set BOM Component.
 void setM_ChangeNotice_ID(int M_ChangeNotice_ID)
          Set Change Notice.
 void setM_ProductBOM_ID(int M_ProductBOM_ID)
          Set BOM Product.
 void setM_ProductOperation_ID(int M_ProductOperation_ID)
          Set Product Operation.
 void setSeqNo(int SeqNo)
          Set Sequence.
 String toString()
          String representation
 
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, 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_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Field Detail

BOMPRODUCTTYPE_AD_Reference_ID

public static final int BOMPRODUCTTYPE_AD_Reference_ID
BOMProductType AD_Reference_ID=349

See Also:
Constant Field Values

BOMPRODUCTTYPE_StandardProduct

public static final String BOMPRODUCTTYPE_StandardProduct
Standard Product = S

See Also:
Constant Field Values

BOMPRODUCTTYPE_OptionalProduct

public static final String BOMPRODUCTTYPE_OptionalProduct
Optional Product = O

See Also:
Constant Field Values

BOMPRODUCTTYPE_Alternative

public static final String BOMPRODUCTTYPE_Alternative
Alternative = A

See Also:
Constant Field Values

BOMPRODUCTTYPE_AlternativeDefault

public static final String BOMPRODUCTTYPE_AlternativeDefault
Alternative (Default) = D

See Also:
Constant Field Values

BOMPRODUCTTYPE_OutsideProcessing

public static final String BOMPRODUCTTYPE_OutsideProcessing
Outside Processing = X

See Also:
Constant Field Values

M_PRODUCTBOM_ID_AD_Reference_ID

public static final int M_PRODUCTBOM_ID_AD_Reference_ID
M_ProductBOM_ID AD_Reference_ID=162

See Also:
Constant Field Values
Constructor Detail

X_M_BOMProduct

public X_M_BOMProduct(Properties ctx,
                      int M_BOMProduct_ID,
                      String trxName)
Standard Constructor


X_M_BOMProduct

public X_M_BOMProduct(Properties ctx,
                      ResultSet rs,
                      String trxName)
Load Constructor

Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
3 - Client - Org

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

setBOMProductType

public void setBOMProductType(String BOMProductType)
Set Component Type.

Specified by:
setBOMProductType in interface I_M_BOMProduct
Parameters:
BOMProductType - BOM Product Type

getBOMProductType

public String getBOMProductType()
Get Component Type.

Specified by:
getBOMProductType in interface I_M_BOMProduct
Returns:
BOM Product Type

setBOMQty

public void setBOMQty(BigDecimal BOMQty)
Set BOM Quantity.

Specified by:
setBOMQty in interface I_M_BOMProduct
Parameters:
BOMQty - Bill of Materials Quantity

getBOMQty

public BigDecimal getBOMQty()
Get BOM Quantity.

Specified by:
getBOMQty in interface I_M_BOMProduct
Returns:
Bill of Materials Quantity

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_M_BOMProduct
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_M_BOMProduct
Returns:
Optional short description of the record

setHelp

public void setHelp(String Help)
Set Comment/Help.

Specified by:
setHelp in interface I_M_BOMProduct
Parameters:
Help - Comment or Hint

getHelp

public String getHelp()
Get Comment/Help.

Specified by:
getHelp in interface I_M_BOMProduct
Returns:
Comment or Hint

setIsPhantom

public void setIsPhantom(boolean IsPhantom)
Set Phantom.

Specified by:
setIsPhantom in interface I_M_BOMProduct
Parameters:
IsPhantom - Phantom Component

isPhantom

public boolean isPhantom()
Get Phantom.

Specified by:
isPhantom in interface I_M_BOMProduct
Returns:
Phantom Component

setLeadTimeOffset

public void setLeadTimeOffset(int LeadTimeOffset)
Set Lead Time Offset.

Specified by:
setLeadTimeOffset in interface I_M_BOMProduct
Parameters:
LeadTimeOffset - Optional Lead Time offest before starting production

getLeadTimeOffset

public int getLeadTimeOffset()
Get Lead Time Offset.

Specified by:
getLeadTimeOffset in interface I_M_BOMProduct
Returns:
Optional Lead Time offest before starting production

setLine

public void setLine(int Line)
Set Line No.

Specified by:
setLine in interface I_M_BOMProduct
Parameters:
Line - Unique line for this document

getLine

public int getLine()
Get Line No.

Specified by:
getLine in interface I_M_BOMProduct
Returns:
Unique line for this document

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setM_AttributeSetInstance_ID

public void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance.

Specified by:
setM_AttributeSetInstance_ID in interface I_M_BOMProduct
Parameters:
M_AttributeSetInstance_ID - Product Attribute Set Instance

getM_AttributeSetInstance_ID

public int getM_AttributeSetInstance_ID()
Get Attribute Set Instance.

Specified by:
getM_AttributeSetInstance_ID in interface I_M_BOMProduct
Returns:
Product Attribute Set Instance

getM_BOMAlternative

public I_M_BOMAlternative getM_BOMAlternative()
                                       throws Exception
Specified by:
getM_BOMAlternative in interface I_M_BOMProduct
Throws:
Exception

setM_BOMAlternative_ID

public void setM_BOMAlternative_ID(int M_BOMAlternative_ID)
Set Alternative Group.

Specified by:
setM_BOMAlternative_ID in interface I_M_BOMProduct
Parameters:
M_BOMAlternative_ID - Product BOM Alternative Group

getM_BOMAlternative_ID

public int getM_BOMAlternative_ID()
Get Alternative Group.

Specified by:
getM_BOMAlternative_ID in interface I_M_BOMProduct
Returns:
Product BOM Alternative Group

getM_BOM

public I_M_BOM getM_BOM()
                 throws Exception
Specified by:
getM_BOM in interface I_M_BOMProduct
Throws:
Exception

setM_BOM_ID

public void setM_BOM_ID(int M_BOM_ID)
Set BOM.

Specified by:
setM_BOM_ID in interface I_M_BOMProduct
Parameters:
M_BOM_ID - Bill of Material

getM_BOM_ID

public int getM_BOM_ID()
Get BOM.

Specified by:
getM_BOM_ID in interface I_M_BOMProduct
Returns:
Bill of Material

setM_BOMProduct_ID

public void setM_BOMProduct_ID(int M_BOMProduct_ID)
Set BOM Component.

Specified by:
setM_BOMProduct_ID in interface I_M_BOMProduct
Parameters:
M_BOMProduct_ID - Bill of Material Component (Product)

getM_BOMProduct_ID

public int getM_BOMProduct_ID()
Get BOM Component.

Specified by:
getM_BOMProduct_ID in interface I_M_BOMProduct
Returns:
Bill of Material Component (Product)

getM_ChangeNotice

public I_M_ChangeNotice getM_ChangeNotice()
                                   throws Exception
Specified by:
getM_ChangeNotice in interface I_M_BOMProduct
Throws:
Exception

setM_ChangeNotice_ID

public void setM_ChangeNotice_ID(int M_ChangeNotice_ID)
Set Change Notice.

Specified by:
setM_ChangeNotice_ID in interface I_M_BOMProduct
Parameters:
M_ChangeNotice_ID - Bill of Materials (Engineering) Change Notice (Version)

getM_ChangeNotice_ID

public int getM_ChangeNotice_ID()
Get Change Notice.

Specified by:
getM_ChangeNotice_ID in interface I_M_BOMProduct
Returns:
Bill of Materials (Engineering) Change Notice (Version)

setM_ProductBOM_ID

public void setM_ProductBOM_ID(int M_ProductBOM_ID)
Set BOM Product.

Specified by:
setM_ProductBOM_ID in interface I_M_BOMProduct
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 interface I_M_BOMProduct
Returns:
Bill of Material Component Product

getM_ProductOperation

public I_M_ProductOperation getM_ProductOperation()
                                           throws Exception
Specified by:
getM_ProductOperation in interface I_M_BOMProduct
Throws:
Exception

setM_ProductOperation_ID

public void setM_ProductOperation_ID(int M_ProductOperation_ID)
Set Product Operation.

Specified by:
setM_ProductOperation_ID in interface I_M_BOMProduct
Parameters:
M_ProductOperation_ID - Product Manufacturing Operation

getM_ProductOperation_ID

public int getM_ProductOperation_ID()
Get Product Operation.

Specified by:
getM_ProductOperation_ID in interface I_M_BOMProduct
Returns:
Product Manufacturing Operation

setSeqNo

public void setSeqNo(int SeqNo)
Set Sequence.

Specified by:
setSeqNo in interface I_M_BOMProduct
Parameters:
SeqNo - Method of ordering records; lowest number comes first

getSeqNo

public int getSeqNo()
Get Sequence.

Specified by:
getSeqNo in interface I_M_BOMProduct
Returns:
Method of ordering records; lowest number comes first

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.