org.eevolution.form.crp
Class CRPDatasetFactory
java.lang.Object
org.eevolution.model.reasoner.CRPReasoner
org.eevolution.form.crp.CRPDatasetFactory
- All Implemented Interfaces:
- CRPModel
public abstract class CRPDatasetFactory
- extends CRPReasoner
- implements CRPModel
- Version:
- 1.0, October 14th 2005
- Author:
- Gunther Hoppe, tranSIT GmbH Ilmenau/Germany
|
Field Summary |
protected org.jfree.data.category.DefaultCategoryDataset |
dataset
|
protected JTree |
tree
|
|
Method Summary |
protected HashMap |
addTreeNodes(Timestamp dateTime,
DefaultMutableTreeNode root,
MResource r)
|
BigDecimal |
calculateLoad(Timestamp dateTime,
MResource r,
String docStatus)
|
protected long |
calculateMillisForDay(Timestamp dateTime,
MPPOrderNode node,
MResourceType t)
|
protected abstract BigDecimal |
convert(BigDecimal value)
|
protected boolean |
generate(Timestamp start,
Timestamp end,
MResource r)
|
static CRPModel |
get(Timestamp start,
Timestamp end,
MResource r)
|
org.jfree.data.category.CategoryDataset |
getDataset()
|
protected Timestamp[] |
getDayBorders(Timestamp dateTime,
MPPOrderNode node,
MResourceType t)
|
protected BigDecimal |
getMaxRange(MResource r)
|
JTree |
getTree()
|
protected String |
getTreeNodeRepresentation(Timestamp dateTime,
DefaultMutableTreeNode node,
MResource r)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tree
protected JTree tree
dataset
protected org.jfree.data.category.DefaultCategoryDataset dataset
CRPDatasetFactory
public CRPDatasetFactory()
convert
protected abstract BigDecimal convert(BigDecimal value)
get
public static CRPModel get(Timestamp start,
Timestamp end,
MResource r)
generate
protected boolean generate(Timestamp start,
Timestamp end,
MResource r)
calculateLoad
public BigDecimal calculateLoad(Timestamp dateTime,
MResource r,
String docStatus)
- Specified by:
calculateLoad in interface CRPModel
getDayBorders
protected Timestamp[] getDayBorders(Timestamp dateTime,
MPPOrderNode node,
MResourceType t)
calculateMillisForDay
protected long calculateMillisForDay(Timestamp dateTime,
MPPOrderNode node,
MResourceType t)
addTreeNodes
protected HashMap addTreeNodes(Timestamp dateTime,
DefaultMutableTreeNode root,
MResource r)
getTreeNodeRepresentation
protected String getTreeNodeRepresentation(Timestamp dateTime,
DefaultMutableTreeNode node,
MResource r)
getMaxRange
protected BigDecimal getMaxRange(MResource r)
getDataset
public org.jfree.data.category.CategoryDataset getDataset()
- Specified by:
getDataset in interface CRPModel
getTree
public JTree getTree()
- Specified by:
getTree in interface CRPModel
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.