Compiere 3.1

org.compiere.model
Class X_M_BOMProduct

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_M_BOMProduct
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee
Direct Known Subclasses:
MBOMProduct

public class X_M_BOMProduct
extends PO

Generated Model for M_BOMProduct

Version:
Release 3.1.0 - $Id$
Author:
Jorg Janke (generated)
See Also:
Serialized Form

Field Summary
protected  BigDecimal accessLevel
           
static int BOMPRODUCTTYPE_AD_Reference_ID
          BOMProductType AD_Reference_ID=349
static String BOMPRODUCTTYPE_Alternative
          Alternative = A
static String BOMPRODUCTTYPE_AlternativeDefault
          Alternative (Default) = D
static String BOMPRODUCTTYPE_OptionalProduct
          Optional Product = O
static String BOMPRODUCTTYPE_OutsideProcessing
          Outside Processing = X
static String BOMPRODUCTTYPE_StandardProduct
          Standard Product = S
static int M_PRODUCTBOM_ID_AD_Reference_ID
          M_ProductBOM_ID AD_Reference_ID=162
static int M_PRODUCTBOMVERSION_ID_AD_Reference_ID
          M_ProductBOMVersion_ID AD_Reference_ID=442
protected static KeyNamePair Model
           
static int SUPPLYTYPE_AD_Reference_ID
          SupplyType AD_Reference_ID=444
static String SUPPLYTYPE_AssemblyPull
          Assembly Pull = A
static String SUPPLYTYPE_Push
          Push = P
static int Table_ID
          AD_Table_ID=801
static String Table_Name
          TableName=M_BOMProduct
static long updatedMS
          Last Updated Timestamp 2008-06-28 11:27:49.0
 
Fields inherited from class org.compiere.framework.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Constructor Summary
X_M_BOMProduct(Ctx ctx, int M_BOMProduct_ID, String trxName)
          Standard Constructor
X_M_BOMProduct(Ctx ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 String getBOMProductType()
          Get Component Type.
 BigDecimal getBOMQty()
          Get Quantity.
 String getDescription()
          Get Description.
 String getHelp()
          Get Comment.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getLeadTimeOffset()
          Get Lead Time Offset.
 int getLine()
          Get Line No.
 int getM_AttributeSetInstance_ID()
          Get Attribute Set Instance.
 int getM_BOM_ID()
          Get BOM.
 int getM_BOMAlternative_ID()
          Get Alternative Group.
 int getM_BOMProduct_ID()
          Get BOM Component Line.
 int getM_Locator_ID()
          Get Locator.
 int getM_ProductBOM_ID()
          Get Component.
 int getM_ProductBOMVersion_ID()
          Get Component BOM.
 int getM_ProductOperation_ID()
          Get Product Operation.
 int getSeqNo()
          Get Sequence.
 String getSupplyType()
          Get Supply Type.
protected  POInfo initPO(Ctx ctx)
          Load Meta Data
 boolean isBOMProductTypeValid(String test)
          Is test a valid value.
 boolean isPhantom()
          Get Phantom.
 boolean isSupplyTypeValid(String test)
          Is test a valid value.
 void setBOMProductType(String BOMProductType)
          Set Component Type.
 void setBOMQty(BigDecimal BOMQty)
          Set Quantity.
 void setDescription(String Description)
          Set Description.
 void setHelp(String Help)
          Set Comment.
 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 Line.
 void setM_Locator_ID(int M_Locator_ID)
          Set Locator.
 void setM_ProductBOM_ID(int M_ProductBOM_ID)
          Set Component.
 void setM_ProductBOMVersion_ID(int M_ProductBOMVersion_ID)
          Set Component BOM.
 void setM_ProductOperation_ID(int M_ProductOperation_ID)
          Set Product Operation.
 void setSeqNo(int SeqNo)
          Set Sequence.
 void setSupplyType(String SupplyType)
          Set Supply Type.
 String toString()
          Info
 
Methods inherited from class org.compiere.framework.PO
addAttachment, addAttachment, addError, afterDelete, afterSave, beforeDelete, beforeSave, compare, convertToBigDecimal, convertToBoolean, convertToInt, convertToTimestamp, copy, copyValues, copyValues, createAttachment, delete_Accounting, delete, delete, dump, dump, equals, get_ChangeVO, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_EntityType, get_HashMap, get_ID, get_IDOld, get_Info, get_KeyColumns, get_Logger, get_Table_ID, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_ValuesAsString, get_WhereClause, get_xmlDocument, get_xmlString, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getVO, hashCode, insert_Accounting, is_Changed, is_KeyColumn, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveNew_getID, saveNewInsertSQL, saveNewSpecial, saveUpdate, set_ChangeVO, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueString, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setContext, setCtx, setDocWorkflowMgr, setIsActive, setStandardDefaults, setUpdateable, setUpdatedBy, toStringX, unlock, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

updatedMS

public static final long updatedMS
Last Updated Timestamp 2008-06-28 11:27:49.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=801

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=M_BOMProduct

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel

BOMPRODUCTTYPE_AD_Reference_ID

public static final int BOMPRODUCTTYPE_AD_Reference_ID
BOMProductType AD_Reference_ID=349

See Also:
Constant Field Values

BOMPRODUCTTYPE_Alternative

public static final String BOMPRODUCTTYPE_Alternative
Alternative = A

See Also:
Constant Field Values

BOMPRODUCTTYPE_AlternativeDefault

public static final String BOMPRODUCTTYPE_AlternativeDefault
Alternative (Default) = D

See Also:
Constant Field Values

BOMPRODUCTTYPE_OptionalProduct

public static final String BOMPRODUCTTYPE_OptionalProduct
Optional Product = O

See Also:
Constant Field Values

BOMPRODUCTTYPE_StandardProduct

public static final String BOMPRODUCTTYPE_StandardProduct
Standard Product = S

See Also:
Constant Field Values

BOMPRODUCTTYPE_OutsideProcessing

public static final String BOMPRODUCTTYPE_OutsideProcessing
Outside Processing = X

See Also:
Constant Field Values

M_PRODUCTBOMVERSION_ID_AD_Reference_ID

public static final int M_PRODUCTBOMVERSION_ID_AD_Reference_ID
M_ProductBOMVersion_ID AD_Reference_ID=442

See Also:
Constant Field Values

M_PRODUCTBOM_ID_AD_Reference_ID

public static final int M_PRODUCTBOM_ID_AD_Reference_ID
M_ProductBOM_ID AD_Reference_ID=162

See Also:
Constant Field Values

SUPPLYTYPE_AD_Reference_ID

public static final int SUPPLYTYPE_AD_Reference_ID
SupplyType AD_Reference_ID=444

See Also:
Constant Field Values

SUPPLYTYPE_AssemblyPull

public static final String SUPPLYTYPE_AssemblyPull
Assembly Pull = A

See Also:
Constant Field Values

SUPPLYTYPE_Push

public static final String SUPPLYTYPE_Push
Push = P

See Also:
Constant Field Values
Constructor Detail

X_M_BOMProduct

public X_M_BOMProduct(Ctx ctx,
                      int M_BOMProduct_ID,
                      String trxName)
Standard Constructor

Parameters:
ctx - context
M_BOMProduct_ID - id
trxName - transaction

X_M_BOMProduct

public X_M_BOMProduct(Ctx ctx,
                      ResultSet rs,
                      String trxName)
Load Constructor

Parameters:
ctx - context
rs - result set
trxName - transaction
Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
3 - Client - Org

initPO

protected POInfo initPO(Ctx ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
PO Info

toString

public String toString()
Info

Overrides:
toString in class PO
Returns:
info

isBOMProductTypeValid

public boolean isBOMProductTypeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setBOMProductType

public void setBOMProductType(String BOMProductType)
Set Component Type.

Parameters:
BOMProductType - BOM Product Type

getBOMProductType

public String getBOMProductType()
Get Component Type.

Returns:
BOM Product Type

setBOMQty

public void setBOMQty(BigDecimal BOMQty)
Set Quantity.

Parameters:
BOMQty - Bill of Materials Quantity

getBOMQty

public BigDecimal getBOMQty()
Get Quantity.

Returns:
Bill of Materials Quantity

setDescription

public void setDescription(String Description)
Set Description.

Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Returns:
Optional short description of the record

setHelp

public void setHelp(String Help)
Set Comment.

Parameters:
Help - Comment, Help or Hint

getHelp

public String getHelp()
Get Comment.

Returns:
Comment, Help or Hint

setIsPhantom

public void setIsPhantom(boolean IsPhantom)
Set Phantom.

Parameters:
IsPhantom - Phantom Component

isPhantom

public boolean isPhantom()
Get Phantom.

Returns:
Phantom Component

setLeadTimeOffset

public void setLeadTimeOffset(int LeadTimeOffset)
Set Lead Time Offset.

Parameters:
LeadTimeOffset - Optional Lead Time offset before starting production

getLeadTimeOffset

public int getLeadTimeOffset()
Get Lead Time Offset.

Returns:
Optional Lead Time offset before starting production

setLine

public void setLine(int Line)
Set Line No.

Parameters:
Line - Unique line for this document

getLine

public int getLine()
Get Line No.

Returns:
Unique line for this document

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setM_AttributeSetInstance_ID

public void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance.

Parameters:
M_AttributeSetInstance_ID - Product Attribute Set Instance

getM_AttributeSetInstance_ID

public int getM_AttributeSetInstance_ID()
Get Attribute Set Instance.

Returns:
Product Attribute Set Instance

setM_BOMAlternative_ID

public void setM_BOMAlternative_ID(int M_BOMAlternative_ID)
Set Alternative Group.

Parameters:
M_BOMAlternative_ID - Product BOM Alternative Group

getM_BOMAlternative_ID

public int getM_BOMAlternative_ID()
Get Alternative Group.

Returns:
Product BOM Alternative Group

setM_BOMProduct_ID

public void setM_BOMProduct_ID(int M_BOMProduct_ID)
Set BOM Component Line.

Parameters:
M_BOMProduct_ID - Bill of Materials Component Line

getM_BOMProduct_ID

public int getM_BOMProduct_ID()
Get BOM Component Line.

Returns:
Bill of Materials Component Line

setM_BOM_ID

public void setM_BOM_ID(int M_BOM_ID)
Set BOM.

Parameters:
M_BOM_ID - Bill of Materials

getM_BOM_ID

public int getM_BOM_ID()
Get BOM.

Returns:
Bill of Materials

setM_Locator_ID

public void setM_Locator_ID(int M_Locator_ID)
Set Locator.

Parameters:
M_Locator_ID - Warehouse Locator

getM_Locator_ID

public int getM_Locator_ID()
Get Locator.

Returns:
Warehouse Locator

setM_ProductBOMVersion_ID

public void setM_ProductBOMVersion_ID(int M_ProductBOMVersion_ID)
Set Component BOM.

Parameters:
M_ProductBOMVersion_ID - BOM for a component

getM_ProductBOMVersion_ID

public int getM_ProductBOMVersion_ID()
Get Component BOM.

Returns:
BOM for a component

setM_ProductBOM_ID

public void setM_ProductBOM_ID(int M_ProductBOM_ID)
Set Component.

Parameters:
M_ProductBOM_ID - Bill of Materials Component (Product)

getM_ProductBOM_ID

public int getM_ProductBOM_ID()
Get Component.

Returns:
Bill of Materials Component (Product)

setM_ProductOperation_ID

public void setM_ProductOperation_ID(int M_ProductOperation_ID)
Set Product Operation.

Parameters:
M_ProductOperation_ID - Product Manufacturing Operation

getM_ProductOperation_ID

public int getM_ProductOperation_ID()
Get Product Operation.

Returns:
Product Manufacturing Operation

setSeqNo

public void setSeqNo(int SeqNo)
Set Sequence.

Parameters:
SeqNo - Method of ordering elements; lowest number comes first

getSeqNo

public int getSeqNo()
Get Sequence.

Returns:
Method of ordering elements; lowest number comes first

isSupplyTypeValid

public boolean isSupplyTypeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setSupplyType

public void setSupplyType(String SupplyType)
Set Supply Type.

Parameters:
SupplyType - Supply type for components

getSupplyType

public String getSupplyType()
Get Supply Type.

Returns:
Supply type for components

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.