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 13 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBOMProductType AD_Reference_ID=349static final StringAlternative = Astatic final StringAlternative (Default) = Dstatic final StringOptional Product = Ostatic final StringOutside Processing = Xstatic final StringStandard 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_IDFields 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
ConstructorsConstructorDescriptionX_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 intAccessLevelGet Component Type.Get BOM Quantity.Get Description.getHelp()Get Comment/Help.Get Record ID/ColumnNameintGet Lead Time Offset.intgetLine()Get Line No.Deprecated.intGet Attribute Set Instance.getM_BOM()Deprecated.intGet BOM.Deprecated.intGet Alternative Group.intGet BOM Component.Get M_BOMProduct_UU.Deprecated.intGet Change Notice.Deprecated.intGet BOM Product.Deprecated.intGet Product Operation.intgetSeqNo()Get Sequence.protected POInfoinitPO(Properties ctx) Load Meta DatabooleanGet Phantom.voidsetBOMProductType(String BOMProductType) Set Component Type.voidsetBOMQty(BigDecimal BOMQty) Set BOM Quantity.voidsetDescription(String Description) Set Description.voidSet 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.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_TableAttribute, get_TableAttributeAsBoolean, get_TableAttributeAsInt, get_TableAttributes, 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, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.compiere.model.I_M_BOMProduct
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods 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_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
setBOMProductType
Set Component Type.- Specified by:
setBOMProductTypein interfaceI_M_BOMProduct- Parameters:
BOMProductType- BOM Product Type
-
getBOMProductType
Get Component Type.- Specified by:
getBOMProductTypein interfaceI_M_BOMProduct- Returns:
- BOM Product Type
-
setBOMQty
Set BOM Quantity.- Specified by:
setBOMQtyin interfaceI_M_BOMProduct- Parameters:
BOMQty- Bill of Materials Quantity
-
getBOMQty
Get BOM Quantity.- Specified by:
getBOMQtyin interfaceI_M_BOMProduct- Returns:
- Bill of Materials Quantity
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_M_BOMProduct- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_M_BOMProduct- Returns:
- Optional short description of the record
-
setHelp
Set Comment/Help.- Specified by:
setHelpin interfaceI_M_BOMProduct- Parameters:
Help- Comment or Hint
-
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
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getM_AttributeSetInstance
@Deprecated(since="13") public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeExceptionDeprecated.- 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
Deprecated.- 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
-
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
Set M_BOMProduct_UU.- Specified by:
setM_BOMProduct_UUin interfaceI_M_BOMProduct- Parameters:
M_BOMProduct_UU- M_BOMProduct_UU
-
getM_BOMProduct_UU
Get M_BOMProduct_UU.- Specified by:
getM_BOMProduct_UUin interfaceI_M_BOMProduct- Returns:
- M_BOMProduct_UU
-
getM_BOM
Deprecated.- 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
-
getM_ChangeNotice
Deprecated.- 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
Deprecated.- 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
Deprecated.- 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
-