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
public class X_S_Resource extends PO implements I_S_Resource, I_Persistent
Generated Model for S_Resource- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
MANUFACTURINGRESOURCETYPE_AD_Reference_ID
ManufacturingResourceType AD_Reference_ID=53223static String
MANUFACTURINGRESOURCETYPE_Plant
Plant = PTstatic String
MANUFACTURINGRESOURCETYPE_ProductionLine
Production Line = PLstatic String
MANUFACTURINGRESOURCETYPE_WorkCenter
Work Center = WCstatic String
MANUFACTURINGRESOURCETYPE_WorkStation
Work Station = WS-
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, 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
Constructors Constructor Description X_S_Resource(Properties ctx, int S_Resource_ID, String trxName)
Standard ConstructorX_S_Resource(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelI_AD_User
getAD_User()
int
getAD_User_ID()
Get User/Contact.BigDecimal
getChargeableQty()
Get Chargeable Quantity.BigDecimal
getDailyCapacity()
Get Daily Capacity.String
getDescription()
Get Description.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameI_M_Warehouse
getM_Warehouse()
int
getM_Warehouse_ID()
Get Warehouse.String
getManufacturingResourceType()
Get Manufacturing Resource Type.String
getName()
Get Name.BigDecimal
getPercentUtilization()
Get % Utilization.int
getPlanningHorizon()
Get Planning Horizon.BigDecimal
getQueuingTime()
Get Queuing Time.int
getS_Resource_ID()
Get Resource.String
getS_Resource_UU()
Get S_Resource_UU.I_S_ResourceType
getS_ResourceType()
int
getS_ResourceType_ID()
Get Resource Type.String
getValue()
Get Search Key.BigDecimal
getWaitingTime()
Get Waiting Time.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isAvailable()
Get Available.boolean
isManufacturingResource()
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
setName(String Name)
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
setValue(String Value)
Set Search Key.void
setWaitingTime(BigDecimal WaitingTime)
Set Waiting Time.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, 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_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, 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, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, 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, 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 Detail
-
MANUFACTURINGRESOURCETYPE_AD_Reference_ID
public static final int MANUFACTURINGRESOURCETYPE_AD_Reference_ID
ManufacturingResourceType AD_Reference_ID=53223- See Also:
- Constant Field Values
-
MANUFACTURINGRESOURCETYPE_ProductionLine
public static final String MANUFACTURINGRESOURCETYPE_ProductionLine
Production Line = PL- See Also:
- Constant Field Values
-
MANUFACTURINGRESOURCETYPE_Plant
public static final String MANUFACTURINGRESOURCETYPE_Plant
Plant = PT- See Also:
- Constant Field Values
-
MANUFACTURINGRESOURCETYPE_WorkCenter
public static final String MANUFACTURINGRESOURCETYPE_WorkCenter
Work Center = WC- See Also:
- Constant Field Values
-
MANUFACTURINGRESOURCETYPE_WorkStation
public static final String MANUFACTURINGRESOURCETYPE_WorkStation
Work Station = WS- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_S_Resource
public X_S_Resource(Properties ctx, int S_Resource_ID, String trxName)
Standard Constructor
-
X_S_Resource
public X_S_Resource(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getAD_User
public I_AD_User getAD_User() throws RuntimeException
- 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
public void setChargeableQty(BigDecimal ChargeableQty)
Set Chargeable Quantity.- Specified by:
setChargeableQty
in interfaceI_S_Resource
- Parameters:
ChargeableQty
- Chargeable Quantity
-
getChargeableQty
public BigDecimal getChargeableQty()
Get Chargeable Quantity.- Specified by:
getChargeableQty
in interfaceI_S_Resource
- Returns:
- Chargeable Quantity
-
setDailyCapacity
public void setDailyCapacity(BigDecimal DailyCapacity)
Set Daily Capacity.- Specified by:
setDailyCapacity
in interfaceI_S_Resource
- Parameters:
DailyCapacity
- Daily Capacity
-
getDailyCapacity
public BigDecimal getDailyCapacity()
Get Daily Capacity.- Specified by:
getDailyCapacity
in interfaceI_S_Resource
- Returns:
- Daily Capacity
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_S_Resource
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String 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
public void setManufacturingResourceType(String ManufacturingResourceType)
Set Manufacturing Resource Type.- Specified by:
setManufacturingResourceType
in interfaceI_S_Resource
- Parameters:
ManufacturingResourceType
- Manufacturing Resource Type
-
getManufacturingResourceType
public String getManufacturingResourceType()
Get Manufacturing Resource Type.- Specified by:
getManufacturingResourceType
in interfaceI_S_Resource
- Returns:
- Manufacturing Resource Type
-
getM_Warehouse
public I_M_Warehouse getM_Warehouse() throws RuntimeException
- 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
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_S_Resource
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_S_Resource
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPercentUtilization
public void setPercentUtilization(BigDecimal PercentUtilization)
Set % Utilization.- Specified by:
setPercentUtilization
in interfaceI_S_Resource
- Parameters:
PercentUtilization
- % Utilization
-
getPercentUtilization
public BigDecimal 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
public void setQueuingTime(BigDecimal QueuingTime)
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
public BigDecimal 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
public I_S_ResourceType getS_ResourceType() throws RuntimeException
- 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
public void setS_Resource_UU(String S_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
public String getS_Resource_UU()
Get S_Resource_UU.- Specified by:
getS_Resource_UU
in interfaceI_S_Resource
- Returns:
- S_Resource_UU
-
setValue
public void setValue(String Value)
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
public String 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
public void setWaitingTime(BigDecimal WaitingTime)
Set Waiting Time.- Specified by:
setWaitingTime
in interfaceI_S_Resource
- Parameters:
WaitingTime
- Workflow Simulation Waiting time
-
getWaitingTime
public BigDecimal getWaitingTime()
Get Waiting Time.- Specified by:
getWaitingTime
in interfaceI_S_Resource
- Returns:
- Workflow Simulation Waiting time
-
-