Package org.compiere.model
Class X_M_BOM
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_M_BOM
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_M_BOM
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MBOM
Generated Model for M_BOM
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
BOMType AD_Reference_ID=347static final String
Current Active = Astatic final String
Future = Fstatic final String
Maintenance = Mstatic final String
Make-To-Kit = Kstatic final String
Make-To-Order = Ostatic final String
Previous = Pstatic final String
Previous, Spare = Sstatic final String
Product Configure = Cstatic final String
Repair = Rstatic final int
BOMUse AD_Reference_ID=348static final String
Engineering = Estatic final String
Manufacturing = Mstatic final String
Master = Astatic final String
Planning = Pstatic final String
Quality = QFields 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_BOM
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_BOMType, COLUMNNAME_BOMUse, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_Help, COLUMNNAME_IsActive, COLUMNNAME_M_BOM_ID, COLUMNNAME_M_BOM_UU, COLUMNNAME_M_ChangeNotice_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_Name, COLUMNNAME_Processing, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_M_BOM
(Properties ctx, int M_BOM_ID, String trxName) Standard ConstructorX_M_BOM
(Properties ctx, int M_BOM_ID, String trxName, String... virtualColumns) Standard ConstructorX_M_BOM
(Properties ctx, String M_BOM_UU, String trxName) Standard ConstructorX_M_BOM
(Properties ctx, String M_BOM_UU, String trxName, String... virtualColumns) Standard ConstructorX_M_BOM
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelGet BOM Type.Get BOM Use.Get Description.getHelp()
Get Comment/Help.Get Record ID/ColumnNameint
Get BOM.Get M_BOM_UU.int
Get Change Notice.int
Get Product.getName()
Get Name.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Process Now.void
setBOMType
(String BOMType) Set BOM Type.void
Set BOM Use.void
setDescription
(String Description) Set Description.void
Set Comment/Help.void
setM_BOM_ID
(int M_BOM_ID) Set BOM.void
setM_BOM_UU
(String M_BOM_UU) Set M_BOM_UU.void
setM_ChangeNotice_ID
(int M_ChangeNotice_ID) Set Change Notice.void
setM_Product_ID
(int M_Product_ID) Set Product.void
Set Name.void
setProcessing
(boolean Processing) Set Process Now.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_BOM
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
-
BOMTYPE_AD_Reference_ID
public static final int BOMTYPE_AD_Reference_IDBOMType AD_Reference_ID=347- See Also:
-
BOMTYPE_CurrentActive
Current Active = A- See Also:
-
BOMTYPE_ProductConfigure
Product Configure = C- See Also:
-
BOMTYPE_Future
Future = F- See Also:
-
BOMTYPE_Make_To_Kit
Make-To-Kit = K- See Also:
-
BOMTYPE_Maintenance
Maintenance = M- See Also:
-
BOMTYPE_Make_To_Order
Make-To-Order = O- See Also:
-
BOMTYPE_Previous
Previous = P- See Also:
-
BOMTYPE_Repair
Repair = R- See Also:
-
BOMTYPE_PreviousSpare
Previous, Spare = S- See Also:
-
BOMUSE_AD_Reference_ID
public static final int BOMUSE_AD_Reference_IDBOMUse AD_Reference_ID=348- See Also:
-
BOMUSE_Master
Master = A- See Also:
-
BOMUSE_Engineering
Engineering = E- See Also:
-
BOMUSE_Manufacturing
Manufacturing = M- See Also:
-
BOMUSE_Planning
Planning = P- See Also:
-
BOMUSE_Quality
Quality = Q- See Also:
-
-
Constructor Details
-
X_M_BOM
Standard Constructor -
X_M_BOM
Standard Constructor -
X_M_BOM
Standard Constructor -
X_M_BOM
Standard Constructor -
X_M_BOM
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 -
setBOMType
Set BOM Type.- Specified by:
setBOMType
in interfaceI_M_BOM
- Parameters:
BOMType
- Type of BOM
-
getBOMType
Get BOM Type.- Specified by:
getBOMType
in interfaceI_M_BOM
- Returns:
- Type of BOM
-
setBOMUse
Set BOM Use. -
getBOMUse
Get BOM Use. -
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_M_BOM
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_M_BOM
- Returns:
- Optional short description of the record
-
setHelp
Set Comment/Help. -
getHelp
Get Comment/Help. -
setM_BOM_ID
public void setM_BOM_ID(int M_BOM_ID) Set BOM.- Specified by:
setM_BOM_ID
in interfaceI_M_BOM
- 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_BOM
- Returns:
- Bill of Material
-
setM_BOM_UU
Set M_BOM_UU.- Specified by:
setM_BOM_UU
in interfaceI_M_BOM
- Parameters:
M_BOM_UU
- M_BOM_UU
-
getM_BOM_UU
Get M_BOM_UU.- Specified by:
getM_BOM_UU
in interfaceI_M_BOM
- Returns:
- M_BOM_UU
-
getM_ChangeNotice
- Specified by:
getM_ChangeNotice
in interfaceI_M_BOM
- 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_BOM
- 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_BOM
- Returns:
- Bill of Materials (Engineering) Change Notice (Version)
-
getM_Product
- Specified by:
getM_Product
in interfaceI_M_BOM
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_ID
in interfaceI_M_BOM
- Parameters:
M_Product_ID
- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()Get Product.- Specified by:
getM_Product_ID
in interfaceI_M_BOM
- Returns:
- Product, Service, Item
-
setName
Set Name. -
getName
Get Name. -
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setProcessing
public void setProcessing(boolean Processing) Set Process Now.- Specified by:
setProcessing
in interfaceI_M_BOM
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()Get Process Now.- Specified by:
isProcessing
in interfaceI_M_BOM
- Returns:
- Process Now
-