Package org.compiere.model
Class X_S_Resource
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_S_Resource
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_Persistent
,I_S_Resource
,Evaluatee
- Direct Known Subclasses:
MResource
Generated Model for S_Resource
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
ManufacturingResourceType AD_Reference_ID=53223static final String
Plant = PTstatic final String
Production Line = PLstatic final String
Work Center = WCstatic final String
Work Station = WSFields 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_S_Resource
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_ChargeableQty, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DailyCapacity, COLUMNNAME_Description, COLUMNNAME_IsActive, COLUMNNAME_IsAvailable, COLUMNNAME_IsManufacturingResource, COLUMNNAME_M_Warehouse_ID, COLUMNNAME_ManufacturingResourceType, COLUMNNAME_Name, COLUMNNAME_PercentUtilization, COLUMNNAME_PlanningHorizon, COLUMNNAME_QueuingTime, COLUMNNAME_S_Resource_ID, COLUMNNAME_S_Resource_UU, COLUMNNAME_S_ResourceType_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_Value, COLUMNNAME_WaitingTime, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_S_Resource
(Properties ctx, int S_Resource_ID, String trxName) Standard ConstructorX_S_Resource
(Properties ctx, int S_Resource_ID, String trxName, String... virtualColumns) Standard ConstructorX_S_Resource
(Properties ctx, String S_Resource_UU, String trxName) Standard ConstructorX_S_Resource
(Properties ctx, String S_Resource_UU, String trxName, String... virtualColumns) Standard ConstructorX_S_Resource
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get User/Contact.Get Chargeable Quantity.Get Daily Capacity.Get Description.Get Record ID/ColumnNameint
Get Warehouse.Get Manufacturing Resource Type.getName()
Get Name.Get % Utilization.int
Get Planning Horizon.Get Queuing Time.int
Get Resource.Get S_Resource_UU.int
Get Resource Type.getValue()
Get Search Key.Get Waiting Time.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Available.boolean
Get Manufacturing Resource.void
setAD_User_ID
(int AD_User_ID) Set User/Contact.void
setChargeableQty
(BigDecimal ChargeableQty) Set Chargeable Quantity.void
setDailyCapacity
(BigDecimal DailyCapacity) Set Daily Capacity.void
setDescription
(String Description) Set Description.void
setIsAvailable
(boolean IsAvailable) Set Available.void
setIsManufacturingResource
(boolean IsManufacturingResource) Set Manufacturing Resource.void
setM_Warehouse_ID
(int M_Warehouse_ID) Set Warehouse.void
setManufacturingResourceType
(String ManufacturingResourceType) Set Manufacturing Resource Type.void
Set Name.void
setPercentUtilization
(BigDecimal PercentUtilization) Set % Utilization.void
setPlanningHorizon
(int PlanningHorizon) Set Planning Horizon.void
setQueuingTime
(BigDecimal QueuingTime) Set Queuing Time.void
setS_Resource_ID
(int S_Resource_ID) Set Resource.void
setS_Resource_UU
(String S_Resource_UU) Set S_Resource_UU.void
setS_ResourceType_ID
(int S_ResourceType_ID) Set Resource Type.void
Set Search Key.void
setWaitingTime
(BigDecimal WaitingTime) Set Waiting Time.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_Persistent
save
Methods inherited from interface org.compiere.model.I_S_Resource
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Field Details
-
MANUFACTURINGRESOURCETYPE_AD_Reference_ID
public static final int MANUFACTURINGRESOURCETYPE_AD_Reference_IDManufacturingResourceType AD_Reference_ID=53223- See Also:
-
MANUFACTURINGRESOURCETYPE_ProductionLine
Production Line = PL- See Also:
-
MANUFACTURINGRESOURCETYPE_Plant
Plant = PT- See Also:
-
MANUFACTURINGRESOURCETYPE_WorkCenter
Work Center = WC- See Also:
-
MANUFACTURINGRESOURCETYPE_WorkStation
Work Station = WS- See Also:
-
-
Constructor Details
-
X_S_Resource
Standard Constructor -
X_S_Resource
Standard Constructor -
X_S_Resource
Standard Constructor -
X_S_Resource
Standard Constructor -
X_S_Resource
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 -
getAD_User
- Specified by:
getAD_User
in interfaceI_S_Resource
- Throws:
RuntimeException
-
setAD_User_ID
public void setAD_User_ID(int AD_User_ID) Set User/Contact.- Specified by:
setAD_User_ID
in interfaceI_S_Resource
- Parameters:
AD_User_ID
- User within the system - Internal or Business Partner Contact
-
getAD_User_ID
public int getAD_User_ID()Get User/Contact.- Specified by:
getAD_User_ID
in interfaceI_S_Resource
- Returns:
- User within the system - Internal or Business Partner Contact
-
setChargeableQty
Set Chargeable Quantity.- Specified by:
setChargeableQty
in interfaceI_S_Resource
- Parameters:
ChargeableQty
- Chargeable Quantity
-
getChargeableQty
Get Chargeable Quantity.- Specified by:
getChargeableQty
in interfaceI_S_Resource
- Returns:
- Chargeable Quantity
-
setDailyCapacity
Set Daily Capacity.- Specified by:
setDailyCapacity
in interfaceI_S_Resource
- Parameters:
DailyCapacity
- Daily Capacity
-
getDailyCapacity
Get Daily Capacity.- Specified by:
getDailyCapacity
in interfaceI_S_Resource
- Returns:
- Daily Capacity
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_S_Resource
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_S_Resource
- Returns:
- Optional short description of the record
-
setIsAvailable
public void setIsAvailable(boolean IsAvailable) Set Available.- Specified by:
setIsAvailable
in interfaceI_S_Resource
- Parameters:
IsAvailable
- Resource is available
-
isAvailable
public boolean isAvailable()Get Available.- Specified by:
isAvailable
in interfaceI_S_Resource
- Returns:
- Resource is available
-
setIsManufacturingResource
public void setIsManufacturingResource(boolean IsManufacturingResource) Set Manufacturing Resource.- Specified by:
setIsManufacturingResource
in interfaceI_S_Resource
- Parameters:
IsManufacturingResource
- Manufacturing Resource
-
isManufacturingResource
public boolean isManufacturingResource()Get Manufacturing Resource.- Specified by:
isManufacturingResource
in interfaceI_S_Resource
- Returns:
- Manufacturing Resource
-
setManufacturingResourceType
Set Manufacturing Resource Type.- Specified by:
setManufacturingResourceType
in interfaceI_S_Resource
- Parameters:
ManufacturingResourceType
- Manufacturing Resource Type
-
getManufacturingResourceType
Get Manufacturing Resource Type.- Specified by:
getManufacturingResourceType
in interfaceI_S_Resource
- Returns:
- Manufacturing Resource Type
-
getM_Warehouse
- Specified by:
getM_Warehouse
in interfaceI_S_Resource
- Throws:
RuntimeException
-
setM_Warehouse_ID
public void setM_Warehouse_ID(int M_Warehouse_ID) Set Warehouse.- Specified by:
setM_Warehouse_ID
in interfaceI_S_Resource
- Parameters:
M_Warehouse_ID
- Storage Warehouse and Service Point
-
getM_Warehouse_ID
public int getM_Warehouse_ID()Get Warehouse.- Specified by:
getM_Warehouse_ID
in interfaceI_S_Resource
- Returns:
- Storage Warehouse and Service Point
-
setName
Set Name.- Specified by:
setName
in interfaceI_S_Resource
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_S_Resource
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPercentUtilization
Set % Utilization.- Specified by:
setPercentUtilization
in interfaceI_S_Resource
- Parameters:
PercentUtilization
- % Utilization
-
getPercentUtilization
Get % Utilization.- Specified by:
getPercentUtilization
in interfaceI_S_Resource
- Returns:
- % Utilization
-
setPlanningHorizon
public void setPlanningHorizon(int PlanningHorizon) Set Planning Horizon.- Specified by:
setPlanningHorizon
in interfaceI_S_Resource
- Parameters:
PlanningHorizon
- The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.
-
getPlanningHorizon
public int getPlanningHorizon()Get Planning Horizon.- Specified by:
getPlanningHorizon
in interfaceI_S_Resource
- Returns:
- The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.
-
setQueuingTime
Set Queuing Time.- Specified by:
setQueuingTime
in interfaceI_S_Resource
- Parameters:
QueuingTime
- Queue time is the time a job waits at a work center before begin handled.
-
getQueuingTime
Get Queuing Time.- Specified by:
getQueuingTime
in interfaceI_S_Resource
- Returns:
- Queue time is the time a job waits at a work center before begin handled.
-
setS_Resource_ID
public void setS_Resource_ID(int S_Resource_ID) Set Resource.- Specified by:
setS_Resource_ID
in interfaceI_S_Resource
- Parameters:
S_Resource_ID
- Resource
-
getS_Resource_ID
public int getS_Resource_ID()Get Resource.- Specified by:
getS_Resource_ID
in interfaceI_S_Resource
- Returns:
- Resource
-
getS_ResourceType
- Specified by:
getS_ResourceType
in interfaceI_S_Resource
- Throws:
RuntimeException
-
setS_ResourceType_ID
public void setS_ResourceType_ID(int S_ResourceType_ID) Set Resource Type.- Specified by:
setS_ResourceType_ID
in interfaceI_S_Resource
- Parameters:
S_ResourceType_ID
- Resource Type
-
getS_ResourceType_ID
public int getS_ResourceType_ID()Get Resource Type.- Specified by:
getS_ResourceType_ID
in interfaceI_S_Resource
- Returns:
- Resource Type
-
setS_Resource_UU
Set S_Resource_UU.- Specified by:
setS_Resource_UU
in interfaceI_S_Resource
- Parameters:
S_Resource_UU
- S_Resource_UU
-
getS_Resource_UU
Get S_Resource_UU.- Specified by:
getS_Resource_UU
in interfaceI_S_Resource
- Returns:
- S_Resource_UU
-
setValue
Set Search Key.- Specified by:
setValue
in interfaceI_S_Resource
- Parameters:
Value
- Search key for the record in the format required - must be unique
-
getValue
Get Search Key.- Specified by:
getValue
in interfaceI_S_Resource
- Returns:
- Search key for the record in the format required - must be unique
-
setWaitingTime
Set Waiting Time.- Specified by:
setWaitingTime
in interfaceI_S_Resource
- Parameters:
WaitingTime
- Workflow Simulation Waiting time
-
getWaitingTime
Get Waiting Time.- Specified by:
getWaitingTime
in interfaceI_S_Resource
- Returns:
- Workflow Simulation Waiting time
-