Java Doc for UIInventoryImpl.java in  » Science » Cougaar12_4 » org » cougaar » mlm » ui » data » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Science » Cougaar12_4 » org.cougaar.mlm.ui.data 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.cougaar.mlm.ui.data.UIInventoryImpl

UIInventoryImpl
public class UIInventoryImpl (Code)
Composes inventory and capacity schedules from COUGAAR log plan objects. Note that the getters return null if the schedule requested is null or empty.


Field Summary
final static  longMILLIS_IN_DAY
    
final public static  StringNO_INVENTORY_SCHEDULE_JUST_CONSUME
    
 Assetasset
    
 ScheduleaverageDemandSchedule
    
final static  String[][]capacityInfo
    
static  booleandebug
    
 TimeSpanSetdueInSchedule
    
 VectordueOutLaborSchedule
    
 VectordueOutSchedule
    
final static  String[]fuelTypes
    
 SchedulegoalLevelSchedule
    
 TimeSpanSetinactiveDueInSchedule
    
 VectorinactiveDueOutSchedule
    
 TimeSpanSetinactiveProjectedDueInSchedule
    
 VectorinactiveProjectedDueOutSchedule
    
 TimeSpanSetinactiveProjectedRequestedDueInSchedule
    
 VectorinactiveProjectedRequestedDueOutSchedule
    
 TimeSpanSetinactiveRequestedDueInSchedule
    
 VectorinactiveRequestedDueOutSchedule
    
 TimeSpanSetinactiveUnconfirmedDueInSchedule
    
 VectorlaborSchedule
    
 VectoronHandDailySchedule
    
 VectoronHandDetailedSchedule
    
 ScheduleonHandMockSchedule
    
 TimeSpanSetprojectedDueInSchedule
    
 VectorprojectedDueOutLaborSchedule
    
 VectorprojectedDueOutSchedule
    
 VectorprojectedMockDueInSchedule
    
 VectorprojectedMockDueOutSchedule
    
 TimeSpanSetprojectedRequestedDueInSchedule
    
 VectorprojectedRequestedDueOutSchedule
    
 VectorprojectedRequestedMockDueInSchedule
    
 VectorprojectedRequestedMockDueOutSchedule
    
 SchedulereorderLevelSchedule
    
 TimeSpanSetrequestedDueInSchedule
    
 VectorrequestedDueOutSchedule
    
 TimeSpanSetunconfirmedDueInSchedule
    

Constructor Summary
public  UIInventoryImpl()
    

Method Summary
public  voidaddDueInSchedule(Allocation allocation)
     Add schedule elements from an allocation to the due-ins.
public  voidaddRequestedDueInSchedule(Allocation allocation)
     Add schedule elements from the preferences in the task in the due-in schedule.
protected  TimeSpanSetcheckTimeSpanSet(TimeSpanSet set)
    
public  voidcomputeSimulatedProjectionSchedules()
    
protected static  doublederiveMockDueInQty(Schedule s, long startTime, long endTime, double invQty, double reorderLevel, double goalLevel)
    
protected static  VectorextractElementsInTimePeriod(Vector schedule, long startTime, long endTime)
    
protected static  doubleextractFirstQtyInDay(Schedule s, long time)
    
protected static  doubleextractSingleQtyOnTime(Schedule s, long time)
    
public  AssetgetAsset()
    
public  StringgetAssetName()
     Get human readable form of the TypeIdentificationPG.
public  VectorgetAverageDemandSchedule()
    
public static  doublegetDailyQty(Rate aRate)
    
public  VectorgetDueInSchedule()
     Get the schedule that indicates the due-in inventory for this asset.
public  VectorgetDueOutLaborSchedule()
     Get the schedule that indicates the due-out (allocated) schedule for a labor asset.
public  VectorgetDueOutSchedule()
     Get the schedule that indicates the due-out inventory for this asset.
public  VectorgetGoalLevelSchedule()
    
public  VectorgetInactiveDueInSchedule()
     Get the schedule that indicates the inactive due-in inventory for this asset.
public  VectorgetInactiveDueOutSchedule()
    
public  VectorgetInactiveProjectedDueInSchedule()
     Get the schedule that indicates the projected due-in inventory for this asset.
public  VectorgetInactiveProjectedDueOutSchedule()
    
public  VectorgetInactiveProjectedRequestedDueInSchedule()
     Get the projected requested due in schedule.
public  VectorgetInactiveProjectedRequestedDueOutSchedule()
    
public  VectorgetInactiveRequestedDueInSchedule()
     Get the requested due in schedule.
public  VectorgetInactiveRequestedDueOutSchedule()
    
public  VectorgetInactiveUnconfirmedDueInSchedule()
     Get the schedule that indicates the due-in inventory for this asset.
protected  AssetgetInsideAsset()
    
public  VectorgetLaborSchedule()
    
public  VectorgetOnHandDailySchedule()
     Get the schedule that indicates the on hand inventory for this asset.
public  VectorgetOnHandDetailedSchedule()
     Get the schedule that indicates the on hand inventory for this asset.
public  VectorgetOnHandMockSchedule()
     Get the schedule that indicates the on hand inventory with jaggy ness in the projection phase for this asset.
public static  doublegetPreferenceValue(Task task, int aspect_type)
    
public  VectorgetProjectedDueInSchedule()
     Get the schedule that indicates the projected due-in inventory for this asset.
protected  intgetProjectedDueOutPeriodDays()
    
protected  longgetProjectedDueOutPeriodMSecs()
    
public  VectorgetProjectedDueOutSchedule()
    
public  VectorgetProjectedMockDueInSchedule()
    
public  VectorgetProjectedMockDueOutSchedule()
    
public  VectorgetProjectedRequestedDueInSchedule()
     Get the projected requested due in schedule.
public  VectorgetProjectedRequestedDueOutSchedule()
    
public  VectorgetProjectedRequestedMockDueInSchedule()
    
public  VectorgetProjectedRequestedMockDueOutSchedule()
    
public static  RategetProjectionRate(Task task)
    
protected static  doublegetQtySumOnSchedOverTime(Schedule s, long startTime, long endTime)
    
public  VectorgetReorderLevelSchedule()
    
public  VectorgetRequestedDueInSchedule()
     Get the requested due in schedule.
public  VectorgetRequestedDueOutSchedule()
    
protected  VectorgetSchedule(Vector sched)
    
public  StringgetScheduleType()
    
public  VectorgetUnconfirmedDueInSchedule()
     Get the schedule that indicates the due-in inventory for this asset.
public  StringgetUnitType()
     Returns the unit type -- i.e.
protected  voidinitializeMockSchedules()
    
public static  SchedulemakeNonOverlapping(TimeSpanSet inSchedule)
    
public  voidsetAsset(Asset asset)
     Set asset for this inventory object.
protected  voidsetInventoryLevelsSchedules(Inventory inventory)
    
protected  booleanvalidateDataForSimulatedProjections()
    

Field Detail
MILLIS_IN_DAY
final static long MILLIS_IN_DAY(Code)



NO_INVENTORY_SCHEDULE_JUST_CONSUME
final public static String NO_INVENTORY_SCHEDULE_JUST_CONSUME(Code)



asset
Asset asset(Code)



averageDemandSchedule
Schedule averageDemandSchedule(Code)



capacityInfo
final static String[][] capacityInfo(Code)



debug
static boolean debug(Code)



dueInSchedule
TimeSpanSet dueInSchedule(Code)



dueOutLaborSchedule
Vector dueOutLaborSchedule(Code)



dueOutSchedule
Vector dueOutSchedule(Code)



fuelTypes
final static String[] fuelTypes(Code)



goalLevelSchedule
Schedule goalLevelSchedule(Code)



inactiveDueInSchedule
TimeSpanSet inactiveDueInSchedule(Code)



inactiveDueOutSchedule
Vector inactiveDueOutSchedule(Code)



inactiveProjectedDueInSchedule
TimeSpanSet inactiveProjectedDueInSchedule(Code)



inactiveProjectedDueOutSchedule
Vector inactiveProjectedDueOutSchedule(Code)



inactiveProjectedRequestedDueInSchedule
TimeSpanSet inactiveProjectedRequestedDueInSchedule(Code)



inactiveProjectedRequestedDueOutSchedule
Vector inactiveProjectedRequestedDueOutSchedule(Code)



inactiveRequestedDueInSchedule
TimeSpanSet inactiveRequestedDueInSchedule(Code)



inactiveRequestedDueOutSchedule
Vector inactiveRequestedDueOutSchedule(Code)



inactiveUnconfirmedDueInSchedule
TimeSpanSet inactiveUnconfirmedDueInSchedule(Code)



laborSchedule
Vector laborSchedule(Code)



onHandDailySchedule
Vector onHandDailySchedule(Code)



onHandDetailedSchedule
Vector onHandDetailedSchedule(Code)



onHandMockSchedule
Schedule onHandMockSchedule(Code)



projectedDueInSchedule
TimeSpanSet projectedDueInSchedule(Code)



projectedDueOutLaborSchedule
Vector projectedDueOutLaborSchedule(Code)



projectedDueOutSchedule
Vector projectedDueOutSchedule(Code)



projectedMockDueInSchedule
Vector projectedMockDueInSchedule(Code)



projectedMockDueOutSchedule
Vector projectedMockDueOutSchedule(Code)



projectedRequestedDueInSchedule
TimeSpanSet projectedRequestedDueInSchedule(Code)



projectedRequestedDueOutSchedule
Vector projectedRequestedDueOutSchedule(Code)



projectedRequestedMockDueInSchedule
Vector projectedRequestedMockDueInSchedule(Code)



projectedRequestedMockDueOutSchedule
Vector projectedRequestedMockDueOutSchedule(Code)



reorderLevelSchedule
Schedule reorderLevelSchedule(Code)



requestedDueInSchedule
TimeSpanSet requestedDueInSchedule(Code)



requestedDueOutSchedule
Vector requestedDueOutSchedule(Code)



unconfirmedDueInSchedule
TimeSpanSet unconfirmedDueInSchedule(Code)




Constructor Detail
UIInventoryImpl
public UIInventoryImpl()(Code)




Method Detail
addDueInSchedule
public void addDueInSchedule(Allocation allocation)(Code)
Add schedule elements from an allocation to the due-ins. Get the end time and quantity from the allocation reported results. Adds the elements to the inactive or active schedules depending on the time of the elements. IGNORE ALLOCATION RESULTS IF isSuccess IS FALSE.



addRequestedDueInSchedule
public void addRequestedDueInSchedule(Allocation allocation)(Code)
Add schedule elements from the preferences in the task in the due-in schedule.



checkTimeSpanSet
protected TimeSpanSet checkTimeSpanSet(TimeSpanSet set)(Code)



computeSimulatedProjectionSchedules
public void computeSimulatedProjectionSchedules()(Code)



deriveMockDueInQty
protected static double deriveMockDueInQty(Schedule s, long startTime, long endTime, double invQty, double reorderLevel, double goalLevel)(Code)



extractElementsInTimePeriod
protected static Vector extractElementsInTimePeriod(Vector schedule, long startTime, long endTime)(Code)



extractFirstQtyInDay
protected static double extractFirstQtyInDay(Schedule s, long time)(Code)



extractSingleQtyOnTime
protected static double extractSingleQtyOnTime(Schedule s, long time)(Code)



getAsset
public Asset getAsset()(Code)



getAssetName
public String getAssetName()(Code)
Get human readable form of the TypeIdentificationPG. String - the nomenclature from the TypeIdentificationPG



getAverageDemandSchedule
public Vector getAverageDemandSchedule()(Code)



getDailyQty
public static double getDailyQty(Rate aRate)(Code)



getDueInSchedule
public Vector getDueInSchedule()(Code)
Get the schedule that indicates the due-in inventory for this asset. Vector - the schedule for this asset in this cluster



getDueOutLaborSchedule
public Vector getDueOutLaborSchedule()(Code)
Get the schedule that indicates the due-out (allocated) schedule for a labor asset. This is similar to the due-out inventory schedule, but uses both the start and end times.



getDueOutSchedule
public Vector getDueOutSchedule()(Code)
Get the schedule that indicates the due-out inventory for this asset. The schedule is from the allocations reported results from the allocations in the role schedules attached to the assets. Vector - the schedule for this asset in this cluster



getGoalLevelSchedule
public Vector getGoalLevelSchedule()(Code)



getInactiveDueInSchedule
public Vector getInactiveDueInSchedule()(Code)
Get the schedule that indicates the inactive due-in inventory for this asset. Vector - the schedule for this asset in this cluster



getInactiveDueOutSchedule
public Vector getInactiveDueOutSchedule()(Code)



getInactiveProjectedDueInSchedule
public Vector getInactiveProjectedDueInSchedule()(Code)
Get the schedule that indicates the projected due-in inventory for this asset. Vector - the schedule for this asset in this cluster



getInactiveProjectedDueOutSchedule
public Vector getInactiveProjectedDueOutSchedule()(Code)



getInactiveProjectedRequestedDueInSchedule
public Vector getInactiveProjectedRequestedDueInSchedule()(Code)
Get the projected requested due in schedule.



getInactiveProjectedRequestedDueOutSchedule
public Vector getInactiveProjectedRequestedDueOutSchedule()(Code)



getInactiveRequestedDueInSchedule
public Vector getInactiveRequestedDueInSchedule()(Code)
Get the requested due in schedule.



getInactiveRequestedDueOutSchedule
public Vector getInactiveRequestedDueOutSchedule()(Code)



getInactiveUnconfirmedDueInSchedule
public Vector getInactiveUnconfirmedDueInSchedule()(Code)
Get the schedule that indicates the due-in inventory for this asset. Vector - the schedule for this asset in this cluster



getInsideAsset
protected Asset getInsideAsset()(Code)



getLaborSchedule
public Vector getLaborSchedule()(Code)



getOnHandDailySchedule
public Vector getOnHandDailySchedule()(Code)
Get the schedule that indicates the on hand inventory for this asset. Vector - vector of UIQuantityScheduleElement



getOnHandDetailedSchedule
public Vector getOnHandDetailedSchedule()(Code)
Get the schedule that indicates the on hand inventory for this asset. Vector - vector of UIQuantityScheduleElement



getOnHandMockSchedule
public Vector getOnHandMockSchedule()(Code)
Get the schedule that indicates the on hand inventory with jaggy ness in the projection phase for this asset. Vector - vector of UIQuantityScheduleElement



getPreferenceValue
public static double getPreferenceValue(Task task, int aspect_type)(Code)



getProjectedDueInSchedule
public Vector getProjectedDueInSchedule()(Code)
Get the schedule that indicates the projected due-in inventory for this asset. Vector - the schedule for this asset in this cluster



getProjectedDueOutPeriodDays
protected int getProjectedDueOutPeriodDays()(Code)



getProjectedDueOutPeriodMSecs
protected long getProjectedDueOutPeriodMSecs()(Code)



getProjectedDueOutSchedule
public Vector getProjectedDueOutSchedule()(Code)



getProjectedMockDueInSchedule
public Vector getProjectedMockDueInSchedule()(Code)
Get the projected due in schedule for simulated OnHandMockSchedule



getProjectedMockDueOutSchedule
public Vector getProjectedMockDueOutSchedule()(Code)



getProjectedRequestedDueInSchedule
public Vector getProjectedRequestedDueInSchedule()(Code)
Get the projected requested due in schedule.



getProjectedRequestedDueOutSchedule
public Vector getProjectedRequestedDueOutSchedule()(Code)



getProjectedRequestedMockDueInSchedule
public Vector getProjectedRequestedMockDueInSchedule()(Code)
Get the projected requested due in schedule for simulated OnHandMockSchedule



getProjectedRequestedMockDueOutSchedule
public Vector getProjectedRequestedMockDueOutSchedule()(Code)



getProjectionRate
public static Rate getProjectionRate(Task task)(Code)



getQtySumOnSchedOverTime
protected static double getQtySumOnSchedOverTime(Schedule s, long startTime, long endTime)(Code)



getReorderLevelSchedule
public Vector getReorderLevelSchedule()(Code)



getRequestedDueInSchedule
public Vector getRequestedDueInSchedule()(Code)
Get the requested due in schedule.



getRequestedDueOutSchedule
public Vector getRequestedDueOutSchedule()(Code)



getSchedule
protected Vector getSchedule(Vector sched)(Code)



getScheduleType
public String getScheduleType()(Code)
Returns a schedule as defined in ScheduleType



getUnconfirmedDueInSchedule
public Vector getUnconfirmedDueInSchedule()(Code)
Get the schedule that indicates the due-in inventory for this asset. Vector - the schedule for this asset in this cluster



getUnitType
public String getUnitType()(Code)
Returns the unit type -- i.e. gallons, man hours, tons, etc.



initializeMockSchedules
protected void initializeMockSchedules()(Code)
Iterator it = col.iterator(); while(it.hasNext()) { QuantityScheduleElement el = (QuantityScheduleElement) it.next(); sum+=el.getQuantity(); } return sum; }



makeNonOverlapping
public static Schedule makeNonOverlapping(TimeSpanSet inSchedule)(Code)



setAsset
public void setAsset(Asset asset)(Code)
Set asset for this inventory object. Handle Labor assets differently from non-labor.



setInventoryLevelsSchedules
protected void setInventoryLevelsSchedules(Inventory inventory)(Code)



validateDataForSimulatedProjections
protected boolean validateDataForSimulatedProjections()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.