Package org.compiere.model
Class X_M_BOMProduct
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_M_BOMProduct
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,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 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intBOMPRODUCTTYPE_AD_Reference_IDBOMProductType AD_Reference_ID=349static StringBOMPRODUCTTYPE_AlternativeAlternative = Astatic StringBOMPRODUCTTYPE_AlternativeDefaultAlternative (Default) = Dstatic StringBOMPRODUCTTYPE_OptionalProductOptional Product = Ostatic StringBOMPRODUCTTYPE_OutsideProcessingOutside Processing = Xstatic StringBOMPRODUCTTYPE_StandardProductStandard Product = S-
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_BOMProduct
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_BOMProductType, COLUMNNAME_BOMQty, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_Help, COLUMNNAME_IsActive, COLUMNNAME_IsPhantom, COLUMNNAME_LeadTimeOffset, COLUMNNAME_Line, COLUMNNAME_M_AttributeSetInstance_ID, COLUMNNAME_M_BOM_ID, COLUMNNAME_M_BOMAlternative_ID, COLUMNNAME_M_BOMProduct_ID, COLUMNNAME_M_BOMProduct_UU, COLUMNNAME_M_ChangeNotice_ID, COLUMNNAME_M_ProductBOM_ID, COLUMNNAME_M_ProductOperation_ID, COLUMNNAME_SeqNo, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_M_BOMProduct(Properties ctx, int M_BOMProduct_ID, String trxName)Standard ConstructorX_M_BOMProduct(Properties ctx, ResultSet rs, String trxName)Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intget_AccessLevel()AccessLevelStringgetBOMProductType()Get Component Type.BigDecimalgetBOMQty()Get BOM Quantity.StringgetDescription()Get Description.StringgetHelp()Get Comment/Help.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameintgetLeadTimeOffset()Get Lead Time Offset.intgetLine()Get Line No.I_M_AttributeSetInstancegetM_AttributeSetInstance()intgetM_AttributeSetInstance_ID()Get Attribute Set Instance.I_M_BOMgetM_BOM()intgetM_BOM_ID()Get BOM.I_M_BOMAlternativegetM_BOMAlternative()intgetM_BOMAlternative_ID()Get Alternative Group.intgetM_BOMProduct_ID()Get BOM Component.StringgetM_BOMProduct_UU()Get M_BOMProduct_UU.I_M_ChangeNoticegetM_ChangeNotice()intgetM_ChangeNotice_ID()Get Change Notice.I_M_ProductgetM_ProductBOM()intgetM_ProductBOM_ID()Get BOM Product.I_M_ProductOperationgetM_ProductOperation()intgetM_ProductOperation_ID()Get Product Operation.intgetSeqNo()Get Sequence.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisPhantom()Get Phantom.voidsetBOMProductType(String BOMProductType)Set Component Type.voidsetBOMQty(BigDecimal BOMQty)Set BOM Quantity.voidsetDescription(String Description)Set Description.voidsetHelp(String Help)Set Comment/Help.voidsetIsPhantom(boolean IsPhantom)Set Phantom.voidsetLeadTimeOffset(int LeadTimeOffset)Set Lead Time Offset.voidsetLine(int Line)Set Line No.voidsetM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)Set Attribute Set Instance.voidsetM_BOM_ID(int M_BOM_ID)Set BOM.voidsetM_BOMAlternative_ID(int M_BOMAlternative_ID)Set Alternative Group.voidsetM_BOMProduct_ID(int M_BOMProduct_ID)Set BOM Component.voidsetM_BOMProduct_UU(String M_BOMProduct_UU)Set M_BOMProduct_UU.voidsetM_ChangeNotice_ID(int M_ChangeNotice_ID)Set Change Notice.voidsetM_ProductBOM_ID(int M_ProductBOM_ID)Set BOM Product.voidsetM_ProductOperation_ID(int M_ProductOperation_ID)Set Product Operation.voidsetSeqNo(int SeqNo)Set Sequence.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_BOMProduct
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
-
BOMPRODUCTTYPE_AD_Reference_ID
public static final int BOMPRODUCTTYPE_AD_Reference_ID
BOMProductType AD_Reference_ID=349- 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_OptionalProduct
public static final String BOMPRODUCTTYPE_OptionalProduct
Optional Product = O- See Also:
- Constant Field Values
-
BOMPRODUCTTYPE_StandardProduct
public static final String BOMPRODUCTTYPE_StandardProduct
Standard Product = S- See Also:
- Constant Field Values
-
BOMPRODUCTTYPE_OutsideProcessing
public static final String BOMPRODUCTTYPE_OutsideProcessing
Outside Processing = X- 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_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setBOMProductType
public void setBOMProductType(String BOMProductType)
Set Component Type.- Specified by:
setBOMProductTypein interfaceI_M_BOMProduct- Parameters:
BOMProductType- BOM Product Type
-
getBOMProductType
public String getBOMProductType()
Get Component Type.- Specified by:
getBOMProductTypein interfaceI_M_BOMProduct- Returns:
- BOM Product Type
-
setBOMQty
public void setBOMQty(BigDecimal BOMQty)
Set BOM Quantity.- Specified by:
setBOMQtyin interfaceI_M_BOMProduct- Parameters:
BOMQty- Bill of Materials Quantity
-
getBOMQty
public BigDecimal getBOMQty()
Get BOM Quantity.- Specified by:
getBOMQtyin interfaceI_M_BOMProduct- Returns:
- Bill of Materials Quantity
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_M_BOMProduct- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_M_BOMProduct- Returns:
- Optional short description of the record
-
setHelp
public void setHelp(String Help)
Set Comment/Help.- Specified by:
setHelpin interfaceI_M_BOMProduct- Parameters:
Help- Comment or Hint
-
getHelp
public String getHelp()
Get Comment/Help.- Specified by:
getHelpin interfaceI_M_BOMProduct- Returns:
- Comment or Hint
-
setIsPhantom
public void setIsPhantom(boolean IsPhantom)
Set Phantom.- Specified by:
setIsPhantomin interfaceI_M_BOMProduct- Parameters:
IsPhantom- Phantom Component
-
isPhantom
public boolean isPhantom()
Get Phantom.- Specified by:
isPhantomin interfaceI_M_BOMProduct- Returns:
- Phantom Component
-
setLeadTimeOffset
public void setLeadTimeOffset(int LeadTimeOffset)
Set Lead Time Offset.- Specified by:
setLeadTimeOffsetin interfaceI_M_BOMProduct- Parameters:
LeadTimeOffset- Optional Lead Time offset before starting production
-
getLeadTimeOffset
public int getLeadTimeOffset()
Get Lead Time Offset.- Specified by:
getLeadTimeOffsetin interfaceI_M_BOMProduct- Returns:
- Optional Lead Time offset before starting production
-
setLine
public void setLine(int Line)
Set Line No.- Specified by:
setLinein interfaceI_M_BOMProduct- Parameters:
Line- Unique line for this document
-
getLine
public int getLine()
Get Line No.- Specified by:
getLinein interfaceI_M_BOMProduct- Returns:
- Unique line for this document
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getM_AttributeSetInstance
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
- Specified by:
getM_AttributeSetInstancein interfaceI_M_BOMProduct- Throws:
RuntimeException
-
setM_AttributeSetInstance_ID
public void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance.- Specified by:
setM_AttributeSetInstance_IDin interfaceI_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_IDin interfaceI_M_BOMProduct- Returns:
- Product Attribute Set Instance
-
getM_BOMAlternative
public I_M_BOMAlternative getM_BOMAlternative() throws RuntimeException
- Specified by:
getM_BOMAlternativein interfaceI_M_BOMProduct- Throws:
RuntimeException
-
setM_BOMAlternative_ID
public void setM_BOMAlternative_ID(int M_BOMAlternative_ID)
Set Alternative Group.- Specified by:
setM_BOMAlternative_IDin interfaceI_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_IDin interfaceI_M_BOMProduct- Returns:
- Product BOM Alternative Group
-
getM_BOM
public I_M_BOM getM_BOM() throws RuntimeException
- Specified by:
getM_BOMin interfaceI_M_BOMProduct- Throws:
RuntimeException
-
setM_BOM_ID
public void setM_BOM_ID(int M_BOM_ID)
Set BOM.- Specified by:
setM_BOM_IDin interfaceI_M_BOMProduct- Parameters:
M_BOM_ID- Bill of Material
-
getM_BOM_ID
public int getM_BOM_ID()
Get BOM.- Specified by:
getM_BOM_IDin interfaceI_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_IDin interfaceI_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_IDin interfaceI_M_BOMProduct- Returns:
- Bill of Material Component (Product)
-
setM_BOMProduct_UU
public void setM_BOMProduct_UU(String M_BOMProduct_UU)
Set M_BOMProduct_UU.- Specified by:
setM_BOMProduct_UUin interfaceI_M_BOMProduct- Parameters:
M_BOMProduct_UU- M_BOMProduct_UU
-
getM_BOMProduct_UU
public String getM_BOMProduct_UU()
Get M_BOMProduct_UU.- Specified by:
getM_BOMProduct_UUin interfaceI_M_BOMProduct- Returns:
- M_BOMProduct_UU
-
getM_ChangeNotice
public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException
- Specified by:
getM_ChangeNoticein interfaceI_M_BOMProduct- Throws:
RuntimeException
-
setM_ChangeNotice_ID
public void setM_ChangeNotice_ID(int M_ChangeNotice_ID)
Set Change Notice.- Specified by:
setM_ChangeNotice_IDin interfaceI_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_IDin interfaceI_M_BOMProduct- Returns:
- Bill of Materials (Engineering) Change Notice (Version)
-
getM_ProductBOM
public I_M_Product getM_ProductBOM() throws RuntimeException
- Specified by:
getM_ProductBOMin interfaceI_M_BOMProduct- Throws:
RuntimeException
-
setM_ProductBOM_ID
public void setM_ProductBOM_ID(int M_ProductBOM_ID)
Set BOM Product.- Specified by:
setM_ProductBOM_IDin interfaceI_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_IDin interfaceI_M_BOMProduct- Returns:
- Bill of Material Component Product
-
getM_ProductOperation
public I_M_ProductOperation getM_ProductOperation() throws RuntimeException
- Specified by:
getM_ProductOperationin interfaceI_M_BOMProduct- Throws:
RuntimeException
-
setM_ProductOperation_ID
public void setM_ProductOperation_ID(int M_ProductOperation_ID)
Set Product Operation.- Specified by:
setM_ProductOperation_IDin interfaceI_M_BOMProduct- Parameters:
M_ProductOperation_ID- Product Manufacturing Operation
-
getM_ProductOperation_ID
public int getM_ProductOperation_ID()
Get Product Operation.- Specified by:
getM_ProductOperation_IDin interfaceI_M_BOMProduct- Returns:
- Product Manufacturing Operation
-
setSeqNo
public void setSeqNo(int SeqNo)
Set Sequence.- Specified by:
setSeqNoin interfaceI_M_BOMProduct- Parameters:
SeqNo- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()
Get Sequence.- Specified by:
getSeqNoin interfaceI_M_BOMProduct- Returns:
- Method of ordering records; lowest number comes first
-
-