Package org.compiere.model
Class X_M_OperationResource
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_M_OperationResource
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_M_OperationResource
,I_Persistent
,Evaluatee
Generated Model for M_OperationResource
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
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, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, 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_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_Job_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_Help, COLUMNNAME_IsActive, COLUMNNAME_M_OperationResource_ID, COLUMNNAME_M_OperationResource_UU, COLUMNNAME_M_ProductOperation_ID, COLUMNNAME_Name, COLUMNNAME_SetupTime, COLUMNNAME_TeardownTime, COLUMNNAME_UnitRuntime, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_M_OperationResource
(Properties ctx, int M_OperationResource_ID, String trxName) Standard ConstructorX_M_OperationResource
(Properties ctx, int M_OperationResource_ID, String trxName, String... virtualColumns) Standard ConstructorX_M_OperationResource
(Properties ctx, String M_OperationResource_UU, String trxName) Standard ConstructorX_M_OperationResource
(Properties ctx, String M_OperationResource_UU, String trxName, String... virtualColumns) Standard ConstructorX_M_OperationResource
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Asset.getC_Job()
int
Get Position.Get Description.getHelp()
Get Comment/Help.Get Record ID/ColumnNameint
Get Operation Resource.Get M_OperationResource_UU.int
Get Product Operation.getName()
Get Name.Get Setup Time.Get Teardown Time.Get Runtime per Unit.protected POInfo
initPO
(Properties ctx) Load Meta Datavoid
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
Set Comment/Help.void
setM_OperationResource_ID
(int M_OperationResource_ID) Set Operation Resource.void
setM_OperationResource_UU
(String M_OperationResource_UU) Set M_OperationResource_UU.void
setM_ProductOperation_ID
(int M_ProductOperation_ID) Set Product Operation.void
Set Name.void
setSetupTime
(BigDecimal SetupTime) Set Setup Time.void
setTeardownTime
(BigDecimal TeardownTime) Set Teardown Time.void
setUnitRuntime
(BigDecimal UnitRuntime) Set Runtime per Unit.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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_OperationResource
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
-
Constructor Details
-
X_M_OperationResource
Standard Constructor -
X_M_OperationResource
public X_M_OperationResource(Properties ctx, int M_OperationResource_ID, String trxName, String... virtualColumns) Standard Constructor -
X_M_OperationResource
Standard Constructor -
X_M_OperationResource
public X_M_OperationResource(Properties ctx, String M_OperationResource_UU, String trxName, String... virtualColumns) Standard Constructor -
X_M_OperationResource
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getA_Asset
- Specified by:
getA_Asset
in interfaceI_M_OperationResource
- Throws:
RuntimeException
-
setA_Asset_ID
public void setA_Asset_ID(int A_Asset_ID) Set Asset.- Specified by:
setA_Asset_ID
in interfaceI_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 interfaceI_M_OperationResource
- Returns:
- Asset used internally or by customers
-
getC_Job
- Specified by:
getC_Job
in interfaceI_M_OperationResource
- Throws:
RuntimeException
-
setC_Job_ID
public void setC_Job_ID(int C_Job_ID) Set Position.- Specified by:
setC_Job_ID
in interfaceI_M_OperationResource
- Parameters:
C_Job_ID
- Job Position
-
getC_Job_ID
public int getC_Job_ID()Get Position.- Specified by:
getC_Job_ID
in interfaceI_M_OperationResource
- Returns:
- Job Position
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_M_OperationResource
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_M_OperationResource
- Returns:
- Optional short description of the record
-
setHelp
Set Comment/Help.- Specified by:
setHelp
in interfaceI_M_OperationResource
- Parameters:
Help
- Comment or Hint
-
getHelp
Get Comment/Help.- Specified by:
getHelp
in interfaceI_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 interfaceI_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 interfaceI_M_OperationResource
- Returns:
- Product Operation Resource
-
setM_OperationResource_UU
Set M_OperationResource_UU.- Specified by:
setM_OperationResource_UU
in interfaceI_M_OperationResource
- Parameters:
M_OperationResource_UU
- M_OperationResource_UU
-
getM_OperationResource_UU
Get M_OperationResource_UU.- Specified by:
getM_OperationResource_UU
in interfaceI_M_OperationResource
- Returns:
- M_OperationResource_UU
-
getM_ProductOperation
- Specified by:
getM_ProductOperation
in interfaceI_M_OperationResource
- Throws:
RuntimeException
-
setM_ProductOperation_ID
public void setM_ProductOperation_ID(int M_ProductOperation_ID) Set Product Operation.- Specified by:
setM_ProductOperation_ID
in interfaceI_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 interfaceI_M_OperationResource
- Returns:
- Product Manufacturing Operation
-
setName
Set Name.- Specified by:
setName
in interfaceI_M_OperationResource
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_M_OperationResource
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setSetupTime
Set Setup Time.- Specified by:
setSetupTime
in interfaceI_M_OperationResource
- Parameters:
SetupTime
- Setup time before starting Production
-
getSetupTime
Get Setup Time.- Specified by:
getSetupTime
in interfaceI_M_OperationResource
- Returns:
- Setup time before starting Production
-
setTeardownTime
Set Teardown Time.- Specified by:
setTeardownTime
in interfaceI_M_OperationResource
- Parameters:
TeardownTime
- Time at the end of the operation
-
getTeardownTime
Get Teardown Time.- Specified by:
getTeardownTime
in interfaceI_M_OperationResource
- Returns:
- Time at the end of the operation
-
setUnitRuntime
Set Runtime per Unit.- Specified by:
setUnitRuntime
in interfaceI_M_OperationResource
- Parameters:
UnitRuntime
- Time to produce one unit
-
getUnitRuntime
Get Runtime per Unit.- Specified by:
getUnitRuntime
in interfaceI_M_OperationResource
- Returns:
- Time to produce one unit
-