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
public class X_M_BOM extends PO implements I_M_BOM, I_Persistent
Generated Model for M_BOM- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
BOMTYPE_AD_Reference_ID
BOMType AD_Reference_ID=347static String
BOMTYPE_CurrentActive
Current Active = Astatic String
BOMTYPE_Future
Future = Fstatic String
BOMTYPE_Maintenance
Maintenance = Mstatic String
BOMTYPE_Make_To_Kit
Make-To-Kit = Kstatic String
BOMTYPE_Make_To_Order
Make-To-Order = Ostatic String
BOMTYPE_Previous
Previous = Pstatic String
BOMTYPE_PreviousSpare
Previous, Spare = Sstatic String
BOMTYPE_ProductConfigure
Product Configure = Cstatic String
BOMTYPE_Repair
Repair = Rstatic int
BOMUSE_AD_Reference_ID
BOMUse AD_Reference_ID=348static String
BOMUSE_Engineering
Engineering = Estatic String
BOMUSE_Manufacturing
Manufacturing = Mstatic String
BOMUSE_Master
Master = Astatic String
BOMUSE_Planning
Planning = Pstatic String
BOMUSE_Quality
Quality = Q-
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_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
Constructors Constructor Description X_M_BOM(Properties ctx, int M_BOM_ID, String trxName)
Standard ConstructorX_M_BOM(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
getBOMType()
Get BOM Type.String
getBOMUse()
Get BOM Use.String
getDescription()
Get Description.String
getHelp()
Get Comment/Help.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameint
getM_BOM_ID()
Get BOM.String
getM_BOM_UU()
Get M_BOM_UU.I_M_ChangeNotice
getM_ChangeNotice()
int
getM_ChangeNotice_ID()
Get Change Notice.I_M_Product
getM_Product()
int
getM_Product_ID()
Get Product.String
getName()
Get Name.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isProcessing()
Get Process Now.void
setBOMType(String BOMType)
Set BOM Type.void
setBOMUse(String BOMUse)
Set BOM Use.void
setDescription(String Description)
Set Description.void
setHelp(String Help)
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
setName(String Name)
Set Name.void
setProcessing(boolean Processing)
Set Process Now.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_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 Detail
-
BOMTYPE_AD_Reference_ID
public static final int BOMTYPE_AD_Reference_ID
BOMType AD_Reference_ID=347- See Also:
- Constant Field Values
-
BOMTYPE_CurrentActive
public static final String BOMTYPE_CurrentActive
Current Active = A- See Also:
- Constant Field Values
-
BOMTYPE_ProductConfigure
public static final String BOMTYPE_ProductConfigure
Product Configure = C- See Also:
- Constant Field Values
-
BOMTYPE_Future
public static final String BOMTYPE_Future
Future = F- See Also:
- Constant Field Values
-
BOMTYPE_Make_To_Kit
public static final String BOMTYPE_Make_To_Kit
Make-To-Kit = K- See Also:
- Constant Field Values
-
BOMTYPE_Maintenance
public static final String BOMTYPE_Maintenance
Maintenance = M- See Also:
- Constant Field Values
-
BOMTYPE_Make_To_Order
public static final String BOMTYPE_Make_To_Order
Make-To-Order = O- See Also:
- Constant Field Values
-
BOMTYPE_Previous
public static final String BOMTYPE_Previous
Previous = P- See Also:
- Constant Field Values
-
BOMTYPE_Repair
public static final String BOMTYPE_Repair
Repair = R- See Also:
- Constant Field Values
-
BOMTYPE_PreviousSpare
public static final String BOMTYPE_PreviousSpare
Previous, Spare = S- See Also:
- Constant Field Values
-
BOMUSE_AD_Reference_ID
public static final int BOMUSE_AD_Reference_ID
BOMUse AD_Reference_ID=348- See Also:
- Constant Field Values
-
BOMUSE_Master
public static final String BOMUSE_Master
Master = A- See Also:
- Constant Field Values
-
BOMUSE_Engineering
public static final String BOMUSE_Engineering
Engineering = E- See Also:
- Constant Field Values
-
BOMUSE_Manufacturing
public static final String BOMUSE_Manufacturing
Manufacturing = M- See Also:
- Constant Field Values
-
BOMUSE_Planning
public static final String BOMUSE_Planning
Planning = P- See Also:
- Constant Field Values
-
BOMUSE_Quality
public static final String BOMUSE_Quality
Quality = Q- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_M_BOM
public X_M_BOM(Properties ctx, int M_BOM_ID, String trxName)
Standard Constructor
-
X_M_BOM
public X_M_BOM(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
-
setBOMType
public void setBOMType(String BOMType)
Set BOM Type.- Specified by:
setBOMType
in interfaceI_M_BOM
- Parameters:
BOMType
- Type of BOM
-
getBOMType
public String getBOMType()
Get BOM Type.- Specified by:
getBOMType
in interfaceI_M_BOM
- Returns:
- Type of BOM
-
setBOMUse
public void setBOMUse(String BOMUse)
Set BOM Use.
-
getBOMUse
public String getBOMUse()
Get BOM Use.
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_M_BOM
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_M_BOM
- Returns:
- Optional short description of the record
-
setHelp
public void setHelp(String Help)
Set Comment/Help.
-
getHelp
public String 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
public void setM_BOM_UU(String M_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
public String getM_BOM_UU()
Get M_BOM_UU.- Specified by:
getM_BOM_UU
in interfaceI_M_BOM
- Returns:
- M_BOM_UU
-
getM_ChangeNotice
public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException
- 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
public I_M_Product getM_Product() throws RuntimeException
- 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
public void setName(String Name)
Set Name.
-
getName
public String getName()
Get Name.
-
getKeyNamePair
public KeyNamePair 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
-
-