Adempiere 3.5.2a

org.compiere.model
Class X_M_OperationResource

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_M_OperationResource
All Implemented Interfaces:
Serializable, Comparator, I_M_OperationResource, I_Persistent, Evaluatee

public class X_M_OperationResource
extends PO
implements I_M_OperationResource, I_Persistent

Generated Model for M_OperationResource

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
 
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, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Fields inherited from interface org.compiere.model.I_M_OperationResource
accessLevel, COLUMNNAME_A_Asset_ID, COLUMNNAME_C_Job_ID, COLUMNNAME_Description, COLUMNNAME_Help, COLUMNNAME_M_OperationResource_ID, COLUMNNAME_M_ProductOperation_ID, COLUMNNAME_Name, COLUMNNAME_SetupTime, COLUMNNAME_TeardownTime, COLUMNNAME_UnitRuntime, Model, Table_ID, Table_Name
 
Constructor Summary
X_M_OperationResource(Properties ctx, int M_OperationResource_ID, String trxName)
          Standard Constructor
X_M_OperationResource(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getA_Asset_ID()
          Get Asset.
 I_A_Asset getA_Asset()
           
 int getC_Job_ID()
          Get Position.
 I_C_Job getC_Job()
           
 String getDescription()
          Get Description.
 String getHelp()
          Get Comment/Help.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getM_OperationResource_ID()
          Get Operation Resource.
 int getM_ProductOperation_ID()
          Get Product Operation.
 I_M_ProductOperation getM_ProductOperation()
           
 String getName()
          Get Name.
 BigDecimal getSetupTime()
          Get Setup Time.
 BigDecimal getTeardownTime()
          Get Teardown Time.
 BigDecimal getUnitRuntime()
          Get Runtime per Unit.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 void setA_Asset_ID(int A_Asset_ID)
          Set Asset.
 void setC_Job_ID(int C_Job_ID)
          Set Position.
 void setDescription(String Description)
          Set Description.
 void setHelp(String Help)
          Set Comment/Help.
 void setM_OperationResource_ID(int M_OperationResource_ID)
          Set Operation Resource.
 void setM_ProductOperation_ID(int M_ProductOperation_ID)
          Set Product Operation.
 void setName(String Name)
          Set Name.
 void setSetupTime(BigDecimal SetupTime)
          Set Setup Time.
 void setTeardownTime(BigDecimal TeardownTime)
          Set Teardown Time.
 void setUnitRuntime(BigDecimal UnitRuntime)
          Set Runtime per Unit.
 String toString()
          String representation
 
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, 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_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Constructor Detail

X_M_OperationResource

public X_M_OperationResource(Properties ctx,
                             int M_OperationResource_ID,
                             String trxName)
Standard Constructor


X_M_OperationResource

public X_M_OperationResource(Properties ctx,
                             ResultSet rs,
                             String trxName)
Load Constructor

Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

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

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

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

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

getA_Asset

public I_A_Asset getA_Asset()
                     throws Exception
Specified by:
getA_Asset in interface I_M_OperationResource
Throws:
Exception

setA_Asset_ID

public void setA_Asset_ID(int A_Asset_ID)
Set Asset.

Specified by:
setA_Asset_ID in interface I_M_OperationResource
Parameters:
A_Asset_ID - Asset used internally or by customers

getA_Asset_ID

public int getA_Asset_ID()
Get Asset.

Specified by:
getA_Asset_ID in interface I_M_OperationResource
Returns:
Asset used internally or by customers

getC_Job

public I_C_Job getC_Job()
                 throws Exception
Specified by:
getC_Job in interface I_M_OperationResource
Throws:
Exception

setC_Job_ID

public void setC_Job_ID(int C_Job_ID)
Set Position.

Specified by:
setC_Job_ID in interface I_M_OperationResource
Parameters:
C_Job_ID - Job Position

getC_Job_ID

public int getC_Job_ID()
Get Position.

Specified by:
getC_Job_ID in interface I_M_OperationResource
Returns:
Job Position

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_M_OperationResource
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_M_OperationResource
Returns:
Optional short description of the record

setHelp

public void setHelp(String Help)
Set Comment/Help.

Specified by:
setHelp in interface I_M_OperationResource
Parameters:
Help - Comment or Hint

getHelp

public String getHelp()
Get Comment/Help.

Specified by:
getHelp in interface I_M_OperationResource
Returns:
Comment or Hint

setM_OperationResource_ID

public void setM_OperationResource_ID(int M_OperationResource_ID)
Set Operation Resource.

Specified by:
setM_OperationResource_ID in interface I_M_OperationResource
Parameters:
M_OperationResource_ID - Product Operation Resource

getM_OperationResource_ID

public int getM_OperationResource_ID()
Get Operation Resource.

Specified by:
getM_OperationResource_ID in interface I_M_OperationResource
Returns:
Product Operation Resource

getM_ProductOperation

public I_M_ProductOperation getM_ProductOperation()
                                           throws Exception
Specified by:
getM_ProductOperation in interface I_M_OperationResource
Throws:
Exception

setM_ProductOperation_ID

public void setM_ProductOperation_ID(int M_ProductOperation_ID)
Set Product Operation.

Specified by:
setM_ProductOperation_ID in interface I_M_OperationResource
Parameters:
M_ProductOperation_ID - Product Manufacturing Operation

getM_ProductOperation_ID

public int getM_ProductOperation_ID()
Get Product Operation.

Specified by:
getM_ProductOperation_ID in interface I_M_OperationResource
Returns:
Product Manufacturing Operation

setName

public void setName(String Name)
Set Name.

Specified by:
setName in interface I_M_OperationResource
Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Specified by:
getName in interface I_M_OperationResource
Returns:
Alphanumeric identifier of the entity

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setSetupTime

public void setSetupTime(BigDecimal SetupTime)
Set Setup Time.

Specified by:
setSetupTime in interface I_M_OperationResource
Parameters:
SetupTime - Setup time before starting Production

getSetupTime

public BigDecimal getSetupTime()
Get Setup Time.

Specified by:
getSetupTime in interface I_M_OperationResource
Returns:
Setup time before starting Production

setTeardownTime

public void setTeardownTime(BigDecimal TeardownTime)
Set Teardown Time.

Specified by:
setTeardownTime in interface I_M_OperationResource
Parameters:
TeardownTime - Time at the end of the operation

getTeardownTime

public BigDecimal getTeardownTime()
Get Teardown Time.

Specified by:
getTeardownTime in interface I_M_OperationResource
Returns:
Time at the end of the operation

setUnitRuntime

public void setUnitRuntime(BigDecimal UnitRuntime)
Set Runtime per Unit.

Specified by:
setUnitRuntime in interface I_M_OperationResource
Parameters:
UnitRuntime - Time to produce one unit

getUnitRuntime

public BigDecimal getUnitRuntime()
Get Runtime per Unit.

Specified by:
getUnitRuntime in interface I_M_OperationResource
Returns:
Time to produce one unit

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.