Java Doc for ShortfallInventory.java in  » Science » Cougaar12_4 » org » cougaar » logistics » plugin » inventory » 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.logistics.plugin.inventory 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.cougaar.logistics.plugin.inventory.ShortfallInventory

ShortfallInventory
public class ShortfallInventory implements java.io.Serializable,Publishable(Code)
ShortfallSummary is an object that summarizizes which inventories of a particular inventory have shortfall.



Constructor Summary
public  ShortfallInventory(String anInvID, String uoi)
    

Method Summary
public  voidaddShortfallPeriod(ShortfallPeriod aPeriod)
    
public  booleanequals(ShortfallInventory si)
     Determines equality of shortfall inventory by comparing all the slot and shortfall periods.
public  StringgetInvID()
     The inventory id for this inventory.
public  intgetMaxPercentShortfall()
     Return the max percent shortfall qty of all the shortfall periods.
public  intgetNumActual()
    
public  intgetNumDemand()
    
public  intgetNumDemandProj()
    
public  intgetNumDemandSupply()
     The number of demand supply tasks asked for by customers that had some form of shortfall.
public  intgetNumPermShortfall()
     Get the total number of all tasks that contribute to permanent shortfall equivilent usually to failed tasks.
public  intgetNumProjection()
    
public  intgetNumRefill()
    
public  intgetNumResupplyProj()
    
public  intgetNumResupplySupply()
     The number of resupply supply tasks asked of the supplier that has some form of shortfall.
public  intgetNumTempDemandProj()
     Get the total number of demand projections that do not get filled on time, but eventually do get completely filled.
public  intgetNumTempDemandSupply()
    
public  intgetNumTempResupplyProj()
     Get the total number of refill projections that do not get filled on time, but eventually do get completely filled.
public  intgetNumTempResupplySupply()
    
public  intgetNumTempShortfall()
     Get the total number of all tasks that contribute to temporary shortfall.
public  intgetNumTotalShortfall()
     Get the total number of tasks that contain shortfall ie the request for an amount is not met on time.
public  ArrayListgetShortfallPeriods()
    
public  booleangetUnexpected()
     Filled in by shortfall servlet.
public  StringgetUnitOfIssue()
    
public  booleanhasEqualShortfallPeriods(ArrayList otherShortfallPeriods)
    
public  booleanisPersistable()
    
public  voidsetNumDemandProj(int numDemandProj)
    
public  voidsetNumDemandSupply(int numDemandSupply)
    
public  voidsetNumResupplyProj(int numResupplyProj)
    
public  voidsetNumResupplySupply(int numResupplySupply)
    
public  voidsetNumTempDemandProj(int numDemandTemp)
    
public  voidsetNumTempDemandSupply(int numDemandTemp)
    
public  voidsetNumTempResupplyProj(int numResupplyTemp)
    
public  voidsetNumTempResupplySupply(int numResupplyTemp)
    
public  voidsetUnexpected(boolean isUnexpected)
     Below are the mutators for the above numbers.
public  StringtoString()
    


Constructor Detail
ShortfallInventory
public ShortfallInventory(String anInvID, String uoi)(Code)
Constructor
Parameters:
  anInvID - String identifier of the inventory (item/NSN)
Parameters:
  uoi - The Unit of Issue for this Shortfall Inventory




Method Detail
addShortfallPeriod
public void addShortfallPeriod(ShortfallPeriod aPeriod)(Code)



equals
public boolean equals(ShortfallInventory si)(Code)
Determines equality of shortfall inventory by comparing all the slot and shortfall periods. If all equivlent then these two shortall inventories are equal.
Parameters:
  si - The compared to ShortfallInvenotry true if this ShortfallInvenotry and passed on are equivilent



getInvID
public String getInvID()(Code)
The inventory id for this inventory. The identifier for this inventory
See Also:    org.cougaar.logistics.servlet.LogisticsInventoryServlet>>getNomenclature(inv);



getMaxPercentShortfall
public int getMaxPercentShortfall()(Code)
Return the max percent shortfall qty of all the shortfall periods. This percent shortfall is the max of all totalDemandQty-totalFilledQty/totalDemandQty * 100 percentiles. int the max percent shortfall of all the shortfall periods.



getNumActual
public int getNumActual()(Code)
The total number of actual supply tasks demand and refill that have some form of shortfall int The total number of actual supply tasks demand and refill that have some form of shortfall



getNumDemand
public int getNumDemand()(Code)
The total number of demand tasks (both supply and project supply) that had some form of shortfall int The total number of demand tasks (both supply and project supply) that had some form of shortfall



getNumDemandProj
public int getNumDemandProj()(Code)
The number of demand project supply tasks asked for by customers that had some form of shortfall int The number of demand project supply tasks asked for by customers that had some form of shortfall



getNumDemandSupply
public int getNumDemandSupply()(Code)
The number of demand supply tasks asked for by customers that had some form of shortfall. Shortfall being an allocation result that does not deliver the requested amount of demand at the time asked. int - The number of demand tasks asked for by customers that had some form of shortfall



getNumPermShortfall
public int getNumPermShortfall()(Code)
Get the total number of all tasks that contribute to permanent shortfall equivilent usually to failed tasks. - the total number of all tasks that contribute to permanent shortfall equivilent usually to failed tasks.



getNumProjection
public int getNumProjection()(Code)
The total number of projections demand and refill that have some form of shortfall int The total number of projections demand and refill that have some form of shortfall



getNumRefill
public int getNumRefill()(Code)
The total number of refill tasks requested from supplier (both actuals and projections) that had some form of shortfall int The total number of refill tasks requested from supplier (both actuals and projections) that had some form of shortfall



getNumResupplyProj
public int getNumResupplyProj()(Code)
The number of refill project supply tasks asked for of supplier that has some form of shortfall int The number of refill project supply tasks asked for of supplier that has some form of shortfall



getNumResupplySupply
public int getNumResupplySupply()(Code)
The number of resupply supply tasks asked of the supplier that has some form of shortfall. Shortfall being an allocation result the amounts to not delivering the requested amount of refill at the time requested. int - The number of resupply supply tasks asked of the supplier that has some form of shortfall



getNumTempDemandProj
public int getNumTempDemandProj()(Code)
Get the total number of demand projections that do not get filled on time, but eventually do get completely filled. int - the total number of demand projections that do not get filled on time, but eventually do get completely filled.



getNumTempDemandSupply
public int getNumTempDemandSupply()(Code)
Get the total number of demand supply tasks that do not get filled on time, but eventually do get completely filled int - the total number of demand supply tasks that do not get filled on time, but eventually do get completely filled



getNumTempResupplyProj
public int getNumTempResupplyProj()(Code)
Get the total number of refill projections that do not get filled on time, but eventually do get completely filled. int - the total number of refill projections that do not get filled on time, but eventually do get completely filled.



getNumTempResupplySupply
public int getNumTempResupplySupply()(Code)
The total number of refill supply tasks that weren't filled on time, but eventually do get completely filled - thus temporary shortfall int The total number of refill supply tasks that eventually do get completely filled and thus temporary shortfall



getNumTempShortfall
public int getNumTempShortfall()(Code)
Get the total number of all tasks that contribute to temporary shortfall. IE tasks that have shortfall but recover. the total number of all tasks that contribute to temporary shortfall. IE tasks that have shortfall but recover.



getNumTotalShortfall
public int getNumTotalShortfall()(Code)
Get the total number of tasks that contain shortfall ie the request for an amount is not met on time. int - the total number of tasks that contain shortfall ie the request for an amount is not met on time.



getShortfallPeriods
public ArrayList getShortfallPeriods()(Code)



getUnexpected
public boolean getUnexpected()(Code)
Filled in by shortfall servlet. This is whether or not there is shortfall expected at this org/inventory after the rules of discounting are applied. IE Shortfall of projections in the UA are expected shortfall and therefore discounted. boolean true if unexpected shortfall exists at this inventory.



getUnitOfIssue
public String getUnitOfIssue()(Code)
The unit of issue for the asset contained in this inventory String the unit of issue for the asset of this inventory.



hasEqualShortfallPeriods
public boolean hasEqualShortfallPeriods(ArrayList otherShortfallPeriods)(Code)
Helper function to compare shortfall periods in a shortfall inventory
Parameters:
  otherShortfallPeriods - - shortfall periods in the compared with shortfall inventory true if they are all equivilent.



isPersistable
public boolean isPersistable()(Code)



setNumDemandProj
public void setNumDemandProj(int numDemandProj)(Code)



setNumDemandSupply
public void setNumDemandSupply(int numDemandSupply)(Code)



setNumResupplyProj
public void setNumResupplyProj(int numResupplyProj)(Code)



setNumResupplySupply
public void setNumResupplySupply(int numResupplySupply)(Code)



setNumTempDemandProj
public void setNumTempDemandProj(int numDemandTemp)(Code)



setNumTempDemandSupply
public void setNumTempDemandSupply(int numDemandTemp)(Code)



setNumTempResupplyProj
public void setNumTempResupplyProj(int numResupplyTemp)(Code)



setNumTempResupplySupply
public void setNumTempResupplySupply(int numResupplyTemp)(Code)



setUnexpected
public void setUnexpected(boolean isUnexpected)(Code)
Below are the mutators for the above numbers. Most are set in the LogisticsInventoryBG and UALogisticsBG. The setUnexpected mutator is called in the servlet.data.shortfall methods in ShortfallShortData and LatShortfallShortData.



toString
public String toString()(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.