Adempiere 3.5.2a

org.eevolution.model.reasoner
Class CRPReasoner

java.lang.Object
  extended by org.eevolution.model.reasoner.CRPReasoner
Direct Known Subclasses:
CRPDatasetFactory

public class CRPReasoner
extends Object

Version:
1.0, October 14th 2005
Author:
Gunther Hoppe, tranSIT GmbH Ilmenau/Germany

Field Summary
static String RESTRICTION_DAY_CASE_1
          Case 1: The time dependent process has already begun and ends at this day.
static String RESTRICTION_DAY_CASE_2
          Case 2: The time dependent process begins and ends at this day.
static String RESTRICTION_DAY_CASE_3
          Case 3: The time dependent process begins at this day and ends few days later.
static String RESTRICTION_DAY_CASE_4
          Case 4: The time dependent process has already begun and ends few days later.
 
Constructor Summary
CRPReasoner()
           
 
Method Summary
 boolean checkResourceAvailability(Timestamp dateTime, MResource r)
           
 boolean checkResourceTypeAvailability(MResourceType t)
           
 boolean checkResourceTypeAvailability(Timestamp dateTime, MResourceType t)
           
 Timestamp getBorderDayMax(Timestamp dateTime, MResource r)
           
 Timestamp getBorderDayMin(Timestamp dateTime, MResource r)
           
 MPPOrderNode[] getPPOrderNodes(Timestamp dateTime, MResource r)
           
 MPPOrder[] getPPOrders(Timestamp dateTime, MResource r)
           
 MPPOrder[] getPPOrdersNotCompleted(MResource r)
           
 MPPOrderWorkflow getPPOrderWorkflow(MPPOrder o)
           
 boolean isResourceAvailable(Timestamp dateTime, MResource r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESTRICTION_DAY_CASE_1

public static final String RESTRICTION_DAY_CASE_1
Case 1: The time dependent process has already begun and ends at this day.

See Also:
Constant Field Values

RESTRICTION_DAY_CASE_2

public static final String RESTRICTION_DAY_CASE_2
Case 2: The time dependent process begins and ends at this day.

See Also:
Constant Field Values

RESTRICTION_DAY_CASE_3

public static final String RESTRICTION_DAY_CASE_3
Case 3: The time dependent process begins at this day and ends few days later.

See Also:
Constant Field Values

RESTRICTION_DAY_CASE_4

public static final String RESTRICTION_DAY_CASE_4
Case 4: The time dependent process has already begun and ends few days later.

See Also:
Constant Field Values
Constructor Detail

CRPReasoner

public CRPReasoner()
Method Detail

getPPOrdersNotCompleted

public MPPOrder[] getPPOrdersNotCompleted(MResource r)

getBorderDayMin

public Timestamp getBorderDayMin(Timestamp dateTime,
                                 MResource r)

getBorderDayMax

public Timestamp getBorderDayMax(Timestamp dateTime,
                                 MResource r)

isResourceAvailable

public boolean isResourceAvailable(Timestamp dateTime,
                                   MResource r)

getPPOrders

public MPPOrder[] getPPOrders(Timestamp dateTime,
                              MResource r)

getPPOrderNodes

public MPPOrderNode[] getPPOrderNodes(Timestamp dateTime,
                                      MResource r)

getPPOrderWorkflow

public MPPOrderWorkflow getPPOrderWorkflow(MPPOrder o)

checkResourceTypeAvailability

public boolean checkResourceTypeAvailability(MResourceType t)

checkResourceAvailability

public boolean checkResourceAvailability(Timestamp dateTime,
                                         MResource r)

checkResourceTypeAvailability

public boolean checkResourceTypeAvailability(Timestamp dateTime,
                                             MResourceType t)

Adempiere 3.5.2a

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