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
Generated Model for M_BOMProduct
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
BOMProductType AD_Reference_ID=349static final String
Alternative = Astatic final String
Alternative (Default) = Dstatic final String
Optional Product = Ostatic final String
Outside Processing = Xstatic final String
Standard Product = SFields 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, UUID_NEW_RECORD, 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
ConstructorDescriptionX_M_BOMProduct
(Properties ctx, int M_BOMProduct_ID, String trxName) Standard ConstructorX_M_BOMProduct
(Properties ctx, int M_BOMProduct_ID, String trxName, String... virtualColumns) Standard ConstructorX_M_BOMProduct
(Properties ctx, String M_BOMProduct_UU, String trxName) Standard ConstructorX_M_BOMProduct
(Properties ctx, String M_BOMProduct_UU, String trxName, String... virtualColumns) Standard ConstructorX_M_BOMProduct
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelGet Component Type.Get BOM Quantity.Get Description.getHelp()
Get Comment/Help.Get Record ID/ColumnNameint
Get Lead Time Offset.int
getLine()
Get Line No.int
Get Attribute Set Instance.getM_BOM()
int
Get BOM.int
Get Alternative Group.int
Get BOM Component.Get M_BOMProduct_UU.int
Get Change Notice.int
Get BOM Product.int
Get Product Operation.int
getSeqNo()
Get Sequence.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Phantom.void
setBOMProductType
(String BOMProductType) Set Component Type.void
setBOMQty
(BigDecimal BOMQty) Set BOM Quantity.void
setDescription
(String Description) Set Description.void
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.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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 Details
-
BOMPRODUCTTYPE_AD_Reference_ID
public static final int BOMPRODUCTTYPE_AD_Reference_IDBOMProductType AD_Reference_ID=349- See Also:
-
BOMPRODUCTTYPE_Alternative
Alternative = A- See Also:
-
BOMPRODUCTTYPE_AlternativeDefault
Alternative (Default) = D- See Also:
-
BOMPRODUCTTYPE_OptionalProduct
Optional Product = O- See Also:
-
BOMPRODUCTTYPE_StandardProduct
Standard Product = S- See Also:
-
BOMPRODUCTTYPE_OutsideProcessing
Outside Processing = X- See Also:
-
-
Constructor Details
-
X_M_BOMProduct
Standard Constructor -
X_M_BOMProduct
public X_M_BOMProduct(Properties ctx, int M_BOMProduct_ID, String trxName, String... virtualColumns) Standard Constructor -
X_M_BOMProduct
Standard Constructor -
X_M_BOMProduct
public X_M_BOMProduct(Properties ctx, String M_BOMProduct_UU, String trxName, String... virtualColumns) Standard Constructor -
X_M_BOMProduct
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setBOMProductType
Set Component Type.- Specified by:
setBOMProductType
in interfaceI_M_BOMProduct
- Parameters:
BOMProductType
- BOM Product Type
-
getBOMProductType
Get Component Type.- Specified by:
getBOMProductType
in interfaceI_M_BOMProduct
- Returns:
- BOM Product Type
-
setBOMQty
Set BOM Quantity.- Specified by:
setBOMQty
in interfaceI_M_BOMProduct
- Parameters:
BOMQty
- Bill of Materials Quantity
-
getBOMQty
Get BOM Quantity.- Specified by:
getBOMQty
in interfaceI_M_BOMProduct
- Returns:
- Bill of Materials Quantity
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_M_BOMProduct
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_M_BOMProduct
- Returns:
- Optional short description of the record
-
setHelp
Set Comment/Help.- Specified by:
setHelp
in interfaceI_M_BOMProduct
- Parameters:
Help
- Comment or Hint
-
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
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getM_AttributeSetInstance
- 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
- 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
- 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
Set M_BOMProduct_UU.- Specified by:
setM_BOMProduct_UU
in interfaceI_M_BOMProduct
- Parameters:
M_BOMProduct_UU
- M_BOMProduct_UU
-
getM_BOMProduct_UU
Get M_BOMProduct_UU.- Specified by:
getM_BOMProduct_UU
in interfaceI_M_BOMProduct
- Returns:
- M_BOMProduct_UU
-
getM_ChangeNotice
- 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
- 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
- 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
-