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 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Field Details

    • MANUFACTURINGRESOURCETYPE_AD_Reference_ID

      public static final int MANUFACTURINGRESOURCETYPE_AD_Reference_ID
      ManufacturingResourceType AD_Reference_ID=53223
      See Also:
    • MANUFACTURINGRESOURCETYPE_ProductionLine

      public static final String MANUFACTURINGRESOURCETYPE_ProductionLine
      Production Line = PL
      See Also:
    • MANUFACTURINGRESOURCETYPE_Plant

      public static final String MANUFACTURINGRESOURCETYPE_Plant
      Plant = PT
      See Also:
    • MANUFACTURINGRESOURCETYPE_WorkCenter

      public static final String MANUFACTURINGRESOURCETYPE_WorkCenter
      Work Center = WC
      See Also:
    • MANUFACTURINGRESOURCETYPE_WorkStation

      public static final String MANUFACTURINGRESOURCETYPE_WorkStation
      Work Station = WS
      See Also:
  • Constructor Details

    • 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, int S_Resource_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_S_Resource

      public X_S_Resource(Properties ctx, String S_Resource_UU, String trxName)
      Standard Constructor
    • X_S_Resource

      public X_S_Resource(Properties ctx, String S_Resource_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_S_Resource

      public X_S_Resource(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
  • Method Details

    • 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 RuntimeException
      Specified by:
      getAD_User in interface I_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 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 Daily Capacity.
      Specified by:
      setDailyCapacity in interface I_S_Resource
      Parameters:
      DailyCapacity - Daily Capacity
    • getDailyCapacity

      public BigDecimal getDailyCapacity()
      Get Daily Capacity.
      Specified by:
      getDailyCapacity in interface I_S_Resource
      Returns:
      Daily Capacity
    • 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 RuntimeException
      Specified by:
      getM_Warehouse in interface I_S_Resource
      Throws:
      RuntimeException
    • 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 % Utilization.
      Specified by:
      setPercentUtilization in interface I_S_Resource
      Parameters:
      PercentUtilization - % Utilization
    • getPercentUtilization

      public BigDecimal getPercentUtilization()
      Get % Utilization.
      Specified by:
      getPercentUtilization in interface I_S_Resource
      Returns:
      % Utilization
    • 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 Queuing Time.
      Specified by:
      setQueuingTime in interface I_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 interface I_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 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 RuntimeException
      Specified by:
      getS_ResourceType in interface I_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 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
    • setS_Resource_UU

      public void setS_Resource_UU(String S_Resource_UU)
      Set S_Resource_UU.
      Specified by:
      setS_Resource_UU in interface I_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 interface I_S_Resource
      Returns:
      S_Resource_UU
    • 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