Package org.eevolution.model
Class X_PP_Product_BOM
- java.lang.Object
-
- org.compiere.model.PO
-
- org.eevolution.model.X_PP_Product_BOM
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_Persistent
,Evaluatee
,I_PP_Product_BOM
- Direct Known Subclasses:
MPPProductBOM
public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persistent
Generated Model for PP_Product_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.eevolution.model.I_PP_Product_BOM
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_BOMType, COLUMNNAME_BOMUse, COLUMNNAME_C_UOM_ID, COLUMNNAME_CopyFrom, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_Help, COLUMNNAME_IsActive, COLUMNNAME_M_AttributeSetInstance_ID, COLUMNNAME_M_ChangeNotice_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_Name, COLUMNNAME_PP_Product_BOM_ID, COLUMNNAME_PP_Product_BOM_UU, COLUMNNAME_Processing, COLUMNNAME_Revision, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_ValidFrom, COLUMNNAME_ValidTo, COLUMNNAME_Value, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_PP_Product_BOM(Properties ctx, int PP_Product_BOM_ID, String trxName)
Standard ConstructorX_PP_Product_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.I_C_UOM
getC_UOM()
int
getC_UOM_ID()
Get UOM.String
getCopyFrom()
Get Copy From.String
getDescription()
Get Description.String
getHelp()
Get Comment/Help.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameI_M_AttributeSetInstance
getM_AttributeSetInstance()
int
getM_AttributeSetInstance_ID()
Get Attribute Set Instance.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.int
getPP_Product_BOM_ID()
Get BOM & Formula.String
getPP_Product_BOM_UU()
Get PP_Product_BOM_UU.String
getRevision()
Get Revision.Timestamp
getValidFrom()
Get Valid from.Timestamp
getValidTo()
Get Valid to.String
getValue()
Get Search Key.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
setC_UOM_ID(int C_UOM_ID)
Set UOM.void
setCopyFrom(String CopyFrom)
Set Copy From.void
setDescription(String Description)
Set Description.void
setHelp(String Help)
Set Comment/Help.void
setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance.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
setPP_Product_BOM_ID(int PP_Product_BOM_ID)
Set BOM & Formula.void
setPP_Product_BOM_UU(String PP_Product_BOM_UU)
Set PP_Product_BOM_UU.void
setProcessing(boolean Processing)
Set Process Now.void
setRevision(String Revision)
Set Revision.void
setValidFrom(Timestamp ValidFrom)
Set Valid from.void
setValidTo(Timestamp ValidTo)
Set Valid to.void
setValue(String Value)
Set Search Key.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_Persistent
save
-
Methods inherited from interface org.eevolution.model.I_PP_Product_BOM
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
-
-
-
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_PP_Product_BOM
public X_PP_Product_BOM(Properties ctx, int PP_Product_BOM_ID, String trxName)
Standard Constructor
-
X_PP_Product_BOM
public X_PP_Product_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_PP_Product_BOM
- Parameters:
BOMType
- Type of BOM
-
getBOMType
public String getBOMType()
Get BOM Type.- Specified by:
getBOMType
in interfaceI_PP_Product_BOM
- Returns:
- Type of BOM
-
setBOMUse
public void setBOMUse(String BOMUse)
Set BOM Use.- Specified by:
setBOMUse
in interfaceI_PP_Product_BOM
- Parameters:
BOMUse
- The use of the Bill of Material
-
getBOMUse
public String getBOMUse()
Get BOM Use.- Specified by:
getBOMUse
in interfaceI_PP_Product_BOM
- Returns:
- The use of the Bill of Material
-
setCopyFrom
public void setCopyFrom(String CopyFrom)
Set Copy From.- Specified by:
setCopyFrom
in interfaceI_PP_Product_BOM
- Parameters:
CopyFrom
- Copy From Record
-
getCopyFrom
public String getCopyFrom()
Get Copy From.- Specified by:
getCopyFrom
in interfaceI_PP_Product_BOM
- Returns:
- Copy From Record
-
getC_UOM
public I_C_UOM getC_UOM() throws RuntimeException
- Specified by:
getC_UOM
in interfaceI_PP_Product_BOM
- Throws:
RuntimeException
-
setC_UOM_ID
public void setC_UOM_ID(int C_UOM_ID)
Set UOM.- Specified by:
setC_UOM_ID
in interfaceI_PP_Product_BOM
- Parameters:
C_UOM_ID
- Unit of Measure
-
getC_UOM_ID
public int getC_UOM_ID()
Get UOM.- Specified by:
getC_UOM_ID
in interfaceI_PP_Product_BOM
- Returns:
- Unit of Measure
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_PP_Product_BOM
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_PP_Product_BOM
- Returns:
- Optional short description of the record
-
setHelp
public void setHelp(String Help)
Set Comment/Help.- Specified by:
setHelp
in interfaceI_PP_Product_BOM
- Parameters:
Help
- Comment or Hint
-
getHelp
public String getHelp()
Get Comment/Help.- Specified by:
getHelp
in interfaceI_PP_Product_BOM
- Returns:
- Comment or Hint
-
getM_AttributeSetInstance
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
- Specified by:
getM_AttributeSetInstance
in interfaceI_PP_Product_BOM
- 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_PP_Product_BOM
- 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_PP_Product_BOM
- Returns:
- Product Attribute Set Instance
-
getM_ChangeNotice
public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException
- Specified by:
getM_ChangeNotice
in interfaceI_PP_Product_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_PP_Product_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_PP_Product_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_PP_Product_BOM
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_ID
in interfaceI_PP_Product_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_PP_Product_BOM
- Returns:
- Product, Service, Item
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_PP_Product_BOM
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_PP_Product_BOM
- Returns:
- Alphanumeric identifier of the entity
-
setPP_Product_BOM_ID
public void setPP_Product_BOM_ID(int PP_Product_BOM_ID)
Set BOM & Formula.- Specified by:
setPP_Product_BOM_ID
in interfaceI_PP_Product_BOM
- Parameters:
PP_Product_BOM_ID
- BOM & Formula
-
getPP_Product_BOM_ID
public int getPP_Product_BOM_ID()
Get BOM & Formula.- Specified by:
getPP_Product_BOM_ID
in interfaceI_PP_Product_BOM
- Returns:
- BOM & Formula
-
setPP_Product_BOM_UU
public void setPP_Product_BOM_UU(String PP_Product_BOM_UU)
Set PP_Product_BOM_UU.- Specified by:
setPP_Product_BOM_UU
in interfaceI_PP_Product_BOM
- Parameters:
PP_Product_BOM_UU
- PP_Product_BOM_UU
-
getPP_Product_BOM_UU
public String getPP_Product_BOM_UU()
Get PP_Product_BOM_UU.- Specified by:
getPP_Product_BOM_UU
in interfaceI_PP_Product_BOM
- Returns:
- PP_Product_BOM_UU
-
setProcessing
public void setProcessing(boolean Processing)
Set Process Now.- Specified by:
setProcessing
in interfaceI_PP_Product_BOM
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()
Get Process Now.- Specified by:
isProcessing
in interfaceI_PP_Product_BOM
- Returns:
- Process Now
-
setRevision
public void setRevision(String Revision)
Set Revision.- Specified by:
setRevision
in interfaceI_PP_Product_BOM
- Parameters:
Revision
- Revision
-
getRevision
public String getRevision()
Get Revision.- Specified by:
getRevision
in interfaceI_PP_Product_BOM
- Returns:
- Revision
-
setValidFrom
public void setValidFrom(Timestamp ValidFrom)
Set Valid from.- Specified by:
setValidFrom
in interfaceI_PP_Product_BOM
- Parameters:
ValidFrom
- Valid from including this date (first day)
-
getValidFrom
public Timestamp getValidFrom()
Get Valid from.- Specified by:
getValidFrom
in interfaceI_PP_Product_BOM
- Returns:
- Valid from including this date (first day)
-
setValidTo
public void setValidTo(Timestamp ValidTo)
Set Valid to.- Specified by:
setValidTo
in interfaceI_PP_Product_BOM
- Parameters:
ValidTo
- Valid to including this date (last day)
-
getValidTo
public Timestamp getValidTo()
Get Valid to.- Specified by:
getValidTo
in interfaceI_PP_Product_BOM
- Returns:
- Valid to including this date (last day)
-
setValue
public void setValue(String Value)
Set Search Key.- Specified by:
setValue
in interfaceI_PP_Product_BOM
- Parameters:
Value
- Search key for the record in the format required - must be unique
-
getValue
public String getValue()
Get Search Key.- Specified by:
getValue
in interfaceI_PP_Product_BOM
- Returns:
- Search key for the record in the format required - must be unique
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
-