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 int
BOMPRODUCTTYPE_AD_Reference_ID
BOMProductType AD_Reference_ID=349static String
BOMPRODUCTTYPE_Alternative
Alternative = Astatic String
BOMPRODUCTTYPE_AlternativeDefault
Alternative (Default) = Dstatic String
BOMPRODUCTTYPE_OptionalProduct
Optional Product = Ostatic String
BOMPRODUCTTYPE_OutsideProcessing
Outside Processing = Xstatic String
BOMPRODUCTTYPE_StandardProduct
Standard 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 int
get_AccessLevel()
AccessLevelString
getBOMProductType()
Get Component Type.BigDecimal
getBOMQty()
Get BOM Quantity.String
getDescription()
Get Description.String
getHelp()
Get Comment/Help.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameint
getLeadTimeOffset()
Get Lead Time Offset.int
getLine()
Get Line No.I_M_AttributeSetInstance
getM_AttributeSetInstance()
int
getM_AttributeSetInstance_ID()
Get Attribute Set Instance.I_M_BOM
getM_BOM()
int
getM_BOM_ID()
Get BOM.I_M_BOMAlternative
getM_BOMAlternative()
int
getM_BOMAlternative_ID()
Get Alternative Group.int
getM_BOMProduct_ID()
Get BOM Component.String
getM_BOMProduct_UU()
Get M_BOMProduct_UU.I_M_ChangeNotice
getM_ChangeNotice()
int
getM_ChangeNotice_ID()
Get Change Notice.I_M_Product
getM_ProductBOM()
int
getM_ProductBOM_ID()
Get BOM Product.I_M_ProductOperation
getM_ProductOperation()
int
getM_ProductOperation_ID()
Get Product Operation.int
getSeqNo()
Get Sequence.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
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_BOMProduct_UU(String M_BOMProduct_UU)
Set M_BOMProduct_UU.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, 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_AccessLevel
in 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:
setBOMProductType
in interfaceI_M_BOMProduct
- Parameters:
BOMProductType
- BOM Product Type
-
getBOMProductType
public String getBOMProductType()
Get Component Type.- Specified by:
getBOMProductType
in interfaceI_M_BOMProduct
- Returns:
- BOM Product Type
-
setBOMQty
public void setBOMQty(BigDecimal BOMQty)
Set BOM Quantity.- Specified by:
setBOMQty
in interfaceI_M_BOMProduct
- Parameters:
BOMQty
- Bill of Materials Quantity
-
getBOMQty
public BigDecimal getBOMQty()
Get BOM Quantity.- Specified by:
getBOMQty
in interfaceI_M_BOMProduct
- Returns:
- Bill of Materials Quantity
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_M_BOMProduct
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_M_BOMProduct
- Returns:
- Optional short description of the record
-
setHelp
public void setHelp(String Help)
Set Comment/Help.- Specified by:
setHelp
in interfaceI_M_BOMProduct
- Parameters:
Help
- Comment or Hint
-
getHelp
public String getHelp()
Get Comment/Help.- Specified by:
getHelp
in interfaceI_M_BOMProduct
- Returns:
- Comment or Hint
-
setIsPhantom
public void setIsPhantom(boolean IsPhantom)
Set Phantom.- Specified by:
setIsPhantom
in interfaceI_M_BOMProduct
- Parameters:
IsPhantom
- Phantom Component
-
isPhantom
public boolean isPhantom()
Get Phantom.- Specified by:
isPhantom
in interfaceI_M_BOMProduct
- Returns:
- Phantom Component
-
setLeadTimeOffset
public void setLeadTimeOffset(int LeadTimeOffset)
Set Lead Time Offset.- Specified by:
setLeadTimeOffset
in interfaceI_M_BOMProduct
- Parameters:
LeadTimeOffset
- Optional Lead Time offset before starting production
-
getLeadTimeOffset
public int getLeadTimeOffset()
Get Lead Time Offset.- Specified by:
getLeadTimeOffset
in interfaceI_M_BOMProduct
- Returns:
- Optional Lead Time offset before starting production
-
setLine
public void setLine(int Line)
Set Line No.- Specified by:
setLine
in interfaceI_M_BOMProduct
- Parameters:
Line
- Unique line for this document
-
getLine
public int getLine()
Get Line No.- Specified by:
getLine
in 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_AttributeSetInstance
in 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_ID
in 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_ID
in interfaceI_M_BOMProduct
- Returns:
- Product Attribute Set Instance
-
getM_BOMAlternative
public I_M_BOMAlternative getM_BOMAlternative() throws RuntimeException
- Specified by:
getM_BOMAlternative
in interfaceI_M_BOMProduct
- Throws:
RuntimeException
-
setM_BOMAlternative_ID
public void setM_BOMAlternative_ID(int M_BOMAlternative_ID)
Set Alternative Group.- Specified by:
setM_BOMAlternative_ID
in 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_ID
in interfaceI_M_BOMProduct
- Returns:
- Product BOM Alternative Group
-
getM_BOM
public I_M_BOM getM_BOM() throws RuntimeException
- Specified by:
getM_BOM
in interfaceI_M_BOMProduct
- Throws:
RuntimeException
-
setM_BOM_ID
public void setM_BOM_ID(int M_BOM_ID)
Set BOM.- Specified by:
setM_BOM_ID
in interfaceI_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 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_ID
in 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_ID
in 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_UU
in 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_UU
in interfaceI_M_BOMProduct
- Returns:
- M_BOMProduct_UU
-
getM_ChangeNotice
public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException
- Specified by:
getM_ChangeNotice
in interfaceI_M_BOMProduct
- Throws:
RuntimeException
-
setM_ChangeNotice_ID
public void setM_ChangeNotice_ID(int M_ChangeNotice_ID)
Set Change Notice.- Specified by:
setM_ChangeNotice_ID
in 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_ID
in interfaceI_M_BOMProduct
- Returns:
- Bill of Materials (Engineering) Change Notice (Version)
-
getM_ProductBOM
public I_M_Product getM_ProductBOM() throws RuntimeException
- Specified by:
getM_ProductBOM
in interfaceI_M_BOMProduct
- 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_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 interfaceI_M_BOMProduct
- Returns:
- Bill of Material Component Product
-
getM_ProductOperation
public I_M_ProductOperation getM_ProductOperation() throws RuntimeException
- Specified by:
getM_ProductOperation
in interfaceI_M_BOMProduct
- Throws:
RuntimeException
-
setM_ProductOperation_ID
public void setM_ProductOperation_ID(int M_ProductOperation_ID)
Set Product Operation.- Specified by:
setM_ProductOperation_ID
in 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_ID
in interfaceI_M_BOMProduct
- Returns:
- Product Manufacturing Operation
-
setSeqNo
public void setSeqNo(int SeqNo)
Set Sequence.- Specified by:
setSeqNo
in interfaceI_M_BOMProduct
- Parameters:
SeqNo
- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()
Get Sequence.- Specified by:
getSeqNo
in interfaceI_M_BOMProduct
- Returns:
- Method of ordering records; lowest number comes first
-
-