Adempiere 3.5.2a

org.compiere.model
Class X_S_Resource

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_S_Resource
All Implemented Interfaces:
Serializable, Comparator, 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 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int MANUFACTURINGRESOURCETYPE_AD_Reference_ID
          ManufacturingResourceType AD_Reference_ID=53223
static String MANUFACTURINGRESOURCETYPE_Plant
          Plant = PT
static String MANUFACTURINGRESOURCETYPE_ProductionLine
          Production Line = PL
static String MANUFACTURINGRESOURCETYPE_WorkCenter
          Work Center = WC
static 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, 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_User_ID, COLUMNNAME_ChargeableQty, COLUMNNAME_DailyCapacity, COLUMNNAME_Description, COLUMNNAME_IsAvailable, COLUMNNAME_IsManufacturingResource, COLUMNNAME_M_Warehouse_ID, COLUMNNAME_ManufacturingResourceType, COLUMNNAME_Name, COLUMNNAME_PercentUtilization, COLUMNNAME_PlanningHorizon, COLUMNNAME_QueuingTime, COLUMNNAME_S_Resource_ID, COLUMNNAME_S_ResourceType_ID, COLUMNNAME_Value, COLUMNNAME_WaitingTime, Model, Table_ID, Table_Name
 
Constructor Summary
X_S_Resource(Properties ctx, int S_Resource_ID, String trxName)
          Standard Constructor
X_S_Resource(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_User_ID()
          Get User/Contact.
 I_AD_User getAD_User()
           
 BigDecimal getChargeableQty()
          Get Chargeable Quantity.
 BigDecimal getDailyCapacity()
          Get DailyCapacity.
 String getDescription()
          Get Description.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getM_Warehouse_ID()
          Get Warehouse.
 I_M_Warehouse getM_Warehouse()
           
 String getManufacturingResourceType()
          Get Manufacturing Resource Type.
 String getName()
          Get Name.
 BigDecimal getPercentUtilization()
          Get PercentUtilization.
 int getPlanningHorizon()
          Get Planning Horizon.
 BigDecimal getQueuingTime()
          Get QueuingTime.
 int getS_Resource_ID()
          Get Resource.
 int getS_ResourceType_ID()
          Get Resource Type.
 I_S_ResourceType getS_ResourceType()
           
 String getValue()
          Get Search Key.
 BigDecimal getWaitingTime()
          Get Waiting Time.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean 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 DailyCapacity.
 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 PercentUtilization.
 void setPlanningHorizon(int PlanningHorizon)
          Set Planning Horizon.
 void setQueuingTime(BigDecimal QueuingTime)
          Set QueuingTime.
 void setS_Resource_ID(int S_Resource_ID)
          Set Resource.
 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, 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
 

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

getAD_User

public I_AD_User getAD_User()
                     throws Exception
Specified by:
getAD_User in interface I_S_Resource
Throws:
Exception

setAD_User_ID

public void setAD_User_ID(int AD_User_ID)
Set User/Contact.

Specified by:
setAD_User_ID in interface I_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 interface I_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 interface I_S_Resource
Parameters:
ChargeableQty - Chargeable Quantity

getChargeableQty

public BigDecimal getChargeableQty()
Get Chargeable Quantity.

Specified by:
getChargeableQty in interface I_S_Resource
Returns:
Chargeable Quantity

setDailyCapacity

public void setDailyCapacity(BigDecimal DailyCapacity)
Set DailyCapacity.

Specified by:
setDailyCapacity in interface I_S_Resource
Parameters:
DailyCapacity - DailyCapacity

getDailyCapacity

public BigDecimal getDailyCapacity()
Get DailyCapacity.

Specified by:
getDailyCapacity in interface I_S_Resource
Returns:
DailyCapacity

setDescription

public void setDescription(String Description)
Set Description.

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

getDescription

public String getDescription()
Get Description.

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

setIsAvailable

public void setIsAvailable(boolean IsAvailable)
Set Available.

Specified by:
setIsAvailable in interface I_S_Resource
Parameters:
IsAvailable - Resource is available

isAvailable

public boolean isAvailable()
Get Available.

Specified by:
isAvailable in interface I_S_Resource
Returns:
Resource is available

setIsManufacturingResource

public void setIsManufacturingResource(boolean IsManufacturingResource)
Set Manufacturing Resource.

Specified by:
setIsManufacturingResource in interface I_S_Resource
Parameters:
IsManufacturingResource - Manufacturing Resource

isManufacturingResource

public boolean isManufacturingResource()
Get Manufacturing Resource.

Specified by:
isManufacturingResource in interface I_S_Resource
Returns:
Manufacturing Resource

setManufacturingResourceType

public void setManufacturingResourceType(String ManufacturingResourceType)
Set Manufacturing Resource Type.

Specified by:
setManufacturingResourceType in interface I_S_Resource
Parameters:
ManufacturingResourceType - Manufacturing Resource Type

getManufacturingResourceType

public String getManufacturingResourceType()
Get Manufacturing Resource Type.

Specified by:
getManufacturingResourceType in interface I_S_Resource
Returns:
Manufacturing Resource Type

getM_Warehouse

public I_M_Warehouse getM_Warehouse()
                             throws Exception
Specified by:
getM_Warehouse in interface I_S_Resource
Throws:
Exception

setM_Warehouse_ID

public void setM_Warehouse_ID(int M_Warehouse_ID)
Set Warehouse.

Specified by:
setM_Warehouse_ID in interface I_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 interface I_S_Resource
Returns:
Storage Warehouse and Service Point

setName

public void setName(String Name)
Set Name.

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

getName

public String getName()
Get Name.

Specified by:
getName in interface I_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 PercentUtilization.

Specified by:
setPercentUtilization in interface I_S_Resource
Parameters:
PercentUtilization - PercentUtilization

getPercentUtilization

public BigDecimal getPercentUtilization()
Get PercentUtilization.

Specified by:
getPercentUtilization in interface I_S_Resource
Returns:
PercentUtilization

setPlanningHorizon

public void setPlanningHorizon(int PlanningHorizon)
Set Planning Horizon.

Specified by:
setPlanningHorizon in interface I_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 interface I_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 QueuingTime.

Specified by:
setQueuingTime in interface I_S_Resource
Parameters:
QueuingTime - QueuingTime

getQueuingTime

public BigDecimal getQueuingTime()
Get QueuingTime.

Specified by:
getQueuingTime in interface I_S_Resource
Returns:
QueuingTime

setS_Resource_ID

public void setS_Resource_ID(int S_Resource_ID)
Set Resource.

Specified by:
setS_Resource_ID in interface I_S_Resource
Parameters:
S_Resource_ID - Resource

getS_Resource_ID

public int getS_Resource_ID()
Get Resource.

Specified by:
getS_Resource_ID in interface I_S_Resource
Returns:
Resource

getS_ResourceType

public I_S_ResourceType getS_ResourceType()
                                   throws Exception
Specified by:
getS_ResourceType in interface I_S_Resource
Throws:
Exception

setS_ResourceType_ID

public void setS_ResourceType_ID(int S_ResourceType_ID)
Set Resource Type.

Specified by:
setS_ResourceType_ID in interface I_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 interface I_S_Resource
Returns:
Resource Type

setValue

public void setValue(String Value)
Set Search Key.

Specified by:
setValue in interface I_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 interface I_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 interface I_S_Resource
Parameters:
WaitingTime - Workflow Simulation Waiting time

getWaitingTime

public BigDecimal getWaitingTime()
Get Waiting Time.

Specified by:
getWaitingTime in interface I_S_Resource
Returns:
Workflow Simulation Waiting time

Adempiere 3.5.2a

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