Compiere 3.1

org.compiere.model
Class X_M_WorkOrderComponent

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_M_WorkOrderComponent
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee

public class X_M_WorkOrderComponent
extends PO

Generated Model for M_WorkOrderComponent

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

Field Summary
protected  BigDecimal accessLevel
           
static int AD_ORGTRX_ID_AD_Reference_ID
          AD_OrgTrx_ID AD_Reference_ID=130
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=1034
static String Table_Name
          TableName=M_WorkOrderComponent
static long updatedMS
          Last Updated Timestamp 2008-07-17 21:53:09.0
static int USER1_ID_AD_Reference_ID
          User1_ID AD_Reference_ID=134
static int USER2_ID_AD_Reference_ID
          User2_ID AD_Reference_ID=137
 
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_WorkOrderComponent(Ctx ctx, int M_WorkOrderComponent_ID, String trxName)
          Standard Constructor
X_M_WorkOrderComponent(Ctx ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_OrgTrx_ID()
          Get Trx Organization.
 int getC_Activity_ID()
          Get Activity.
 int getC_BPartner_ID()
          Get Business Partner.
 int getC_BPartner_Location_ID()
          Get Partner Location.
 int getC_Campaign_ID()
          Get Campaign.
 int getC_Project_ID()
          Get Project.
 int getC_UOM_ID()
          Get UOM.
 String getDescription()
          Get Description.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getLine()
          Get Line No.
 int getM_AttributeSetInstance_ID()
          Get Attribute Set Instance.
 int getM_BOM_ID()
          Get BOM.
 int getM_Locator_ID()
          Get Locator.
 int getM_Product_ID()
          Get Product.
 int getM_WorkOrder_ID()
          Get Work Order.
 int getM_WorkOrderComponent_ID()
          Get Work Order Component.
 int getM_WorkOrderOperation_ID()
          Get Work Order Operation.
 BigDecimal getQtyAvailable()
          Get Available Quantity.
 BigDecimal getQtyRequired()
          Get Required Quantity.
 BigDecimal getQtySpent()
          Get Quantity Used.
 String getSupplyType()
          Get Supply Type.
 int getUser1_ID()
          Get User List 1.
 int getUser2_ID()
          Get User List 2.
protected  POInfo initPO(Ctx ctx)
          Load Meta Data
 boolean isProcessed()
          Get Processed.
 boolean isSupplyTypeValid(String test)
          Is test a valid value.
 void setAD_OrgTrx_ID(int AD_OrgTrx_ID)
          Set Trx Organization.
 void setC_Activity_ID(int C_Activity_ID)
          Set Activity.
 void setC_BPartner_ID(int C_BPartner_ID)
          Set Business Partner.
 void setC_BPartner_Location_ID(int C_BPartner_Location_ID)
          Set Partner Location.
 void setC_Campaign_ID(int C_Campaign_ID)
          Set Campaign.
 void setC_Project_ID(int C_Project_ID)
          Set Project.
 void setC_UOM_ID(int C_UOM_ID)
          Set UOM.
 void setDescription(String Description)
          Set Description.
 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_Locator_ID(int M_Locator_ID)
          Set Locator.
 void setM_Product_ID(int M_Product_ID)
          Set Product.
 void setM_WorkOrder_ID(int M_WorkOrder_ID)
          Set Work Order.
 void setM_WorkOrderComponent_ID(int M_WorkOrderComponent_ID)
          Set Work Order Component.
 void setM_WorkOrderOperation_ID(int M_WorkOrderOperation_ID)
          Set Work Order Operation.
 void setProcessed(boolean Processed)
          Set Processed.
 void setQtyAvailable(BigDecimal QtyAvailable)
          Set Available Quantity.
 void setQtyRequired(BigDecimal QtyRequired)
          Set Required Quantity.
 void setQtySpent(BigDecimal QtySpent)
          Set Quantity Used.
 void setSupplyType(String SupplyType)
          Set Supply Type.
 void setUser1_ID(int User1_ID)
          Set User List 1.
 void setUser2_ID(int User2_ID)
          Set User List 2.
 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-07-17 21:53:09.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=1034

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=M_WorkOrderComponent

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel

AD_ORGTRX_ID_AD_Reference_ID

public static final int AD_ORGTRX_ID_AD_Reference_ID
AD_OrgTrx_ID AD_Reference_ID=130

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

USER1_ID_AD_Reference_ID

public static final int USER1_ID_AD_Reference_ID
User1_ID AD_Reference_ID=134

See Also:
Constant Field Values

USER2_ID_AD_Reference_ID

public static final int USER2_ID_AD_Reference_ID
User2_ID AD_Reference_ID=137

See Also:
Constant Field Values
Constructor Detail

X_M_WorkOrderComponent

public X_M_WorkOrderComponent(Ctx ctx,
                              int M_WorkOrderComponent_ID,
                              String trxName)
Standard Constructor

Parameters:
ctx - context
M_WorkOrderComponent_ID - id
trxName - transaction

X_M_WorkOrderComponent

public X_M_WorkOrderComponent(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:
1 - 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

setAD_OrgTrx_ID

public void setAD_OrgTrx_ID(int AD_OrgTrx_ID)
Set Trx Organization.

Parameters:
AD_OrgTrx_ID - Performing or initiating organization

getAD_OrgTrx_ID

public int getAD_OrgTrx_ID()
Get Trx Organization.

Returns:
Performing or initiating organization

setC_Activity_ID

public void setC_Activity_ID(int C_Activity_ID)
Set Activity.

Parameters:
C_Activity_ID - Business Activity

getC_Activity_ID

public int getC_Activity_ID()
Get Activity.

Returns:
Business Activity

setC_BPartner_ID

public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.

Parameters:
C_BPartner_ID - Identifies a Business Partner

getC_BPartner_ID

public int getC_BPartner_ID()
Get Business Partner.

Returns:
Identifies a Business Partner

setC_BPartner_Location_ID

public void setC_BPartner_Location_ID(int C_BPartner_Location_ID)
Set Partner Location.

Parameters:
C_BPartner_Location_ID - Identifies the (ship to) address for this Business Partner

getC_BPartner_Location_ID

public int getC_BPartner_Location_ID()
Get Partner Location.

Returns:
Identifies the (ship to) address for this Business Partner

setC_Campaign_ID

public void setC_Campaign_ID(int C_Campaign_ID)
Set Campaign.

Parameters:
C_Campaign_ID - Marketing Campaign

getC_Campaign_ID

public int getC_Campaign_ID()
Get Campaign.

Returns:
Marketing Campaign

setC_Project_ID

public void setC_Project_ID(int C_Project_ID)
Set Project.

Parameters:
C_Project_ID - Financial Project

getC_Project_ID

public int getC_Project_ID()
Get Project.

Returns:
Financial Project

setC_UOM_ID

public void setC_UOM_ID(int C_UOM_ID)
Set UOM.

Parameters:
C_UOM_ID - Unit of Measure

getC_UOM_ID

public int getC_UOM_ID()
Get UOM.

Returns:
Unit of Measure

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

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

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_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_Product_ID

public void setM_Product_ID(int M_Product_ID)
Set Product.

Parameters:
M_Product_ID - Product, Service, Item

getM_Product_ID

public int getM_Product_ID()
Get Product.

Returns:
Product, Service, Item

setM_WorkOrderComponent_ID

public void setM_WorkOrderComponent_ID(int M_WorkOrderComponent_ID)
Set Work Order Component.

Parameters:
M_WorkOrderComponent_ID - Work Order Component

getM_WorkOrderComponent_ID

public int getM_WorkOrderComponent_ID()
Get Work Order Component.

Returns:
Work Order Component

setM_WorkOrderOperation_ID

public void setM_WorkOrderOperation_ID(int M_WorkOrderOperation_ID)
Set Work Order Operation.

Parameters:
M_WorkOrderOperation_ID - Production routing operation on a work order

getM_WorkOrderOperation_ID

public int getM_WorkOrderOperation_ID()
Get Work Order Operation.

Returns:
Production routing operation on a work order

setM_WorkOrder_ID

public void setM_WorkOrder_ID(int M_WorkOrder_ID)
Set Work Order.

Parameters:
M_WorkOrder_ID - Work Order

getM_WorkOrder_ID

public int getM_WorkOrder_ID()
Get Work Order.

Returns:
Work Order

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setProcessed

public void setProcessed(boolean Processed)
Set Processed.

Parameters:
Processed - The document has been processed

isProcessed

public boolean isProcessed()
Get Processed.

Returns:
The document has been processed

setQtyAvailable

public void setQtyAvailable(BigDecimal QtyAvailable)
Set Available Quantity.

Parameters:
QtyAvailable - Available Quantity (On Hand - Reserved)

getQtyAvailable

public BigDecimal getQtyAvailable()
Get Available Quantity.

Returns:
Available Quantity (On Hand - Reserved)

setQtyRequired

public void setQtyRequired(BigDecimal QtyRequired)
Set Required Quantity.

Parameters:
QtyRequired - Quantity required for an activity

getQtyRequired

public BigDecimal getQtyRequired()
Get Required Quantity.

Returns:
Quantity required for an activity

setQtySpent

public void setQtySpent(BigDecimal QtySpent)
Set Quantity Used.

Parameters:
QtySpent - Quantity used for this event

getQtySpent

public BigDecimal getQtySpent()
Get Quantity Used.

Returns:
Quantity used for this event

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

setUser1_ID

public void setUser1_ID(int User1_ID)
Set User List 1.

Parameters:
User1_ID - User defined list element #1

getUser1_ID

public int getUser1_ID()
Get User List 1.

Returns:
User defined list element #1

setUser2_ID

public void setUser2_ID(int User2_ID)
Set User List 2.

Parameters:
User2_ID - User defined list element #2

getUser2_ID

public int getUser2_ID()
Get User List 2.

Returns:
User defined list element #2

Compiere 3.1

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