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


org.cougaar.glm.ldm.QueryLDMPlugin
   org.cougaar.logistics.ldm.MEIPrototypeProvider

MEIPrototypeProvider
public class MEIPrototypeProvider extends QueryLDMPlugin implements UtilsProvider(Code)


Field Summary
final public static  intAMMO
    
final public static  intFUEL
    
final public static  StringLEVEL2
    
final public static  StringMEI_STRING
    
final public static  intPKG_POL
    
final public static  intSPARES
    
final public static  StringTHEATER
    
protected  OrganizationmyOrg
    


Method Summary
protected  voidaddConsumerPGs(Collection meiConsumers)
    
public  booleancanHandle(String typeid, Class class_hint)
    
protected  boolean[]checkLevel2MeiConsumption()
    
protected  boolean[]checkMeiConsumption(Asset asset)
    
protected  voidconfigure()
    
public  StringcreateACRQuery(Asset asset, String asset_type, String service, String theater)
    
public  voidexecute()
    
public  voidfillProperties(Asset anAsset)
    
public  StringgenerateMEIQueryParameter(Asset asset, String asset_type, Service service)
    
public  AssetUtilsgetAssetUtils()
    
public  BlackboardQueryServicegetBlackboardQueryService(Object requestor)
    
public  LoggingServicegetLoggingService(Object requestor)
    
protected  StringgetMEINomenclature(String type_id, String service)
    
public  OrganizationgetMyOrg()
    
public  AssetgetPrototype(String typeid)
    
public  ScheduleUtilsgetScheduleUtils()
    
public  TaskUtilsgetTaskUtils()
    
public  TimeUtilsgetTimeUtils()
    
public  voidload()
    
public  VectorlookupAssetConsumptionRate(Asset asset, String asset_type, String service, String theater)
    
public  VectorlookupLevel2AssetConsumptionRate(String agent, Asset asset, String supply_type)
    
public  AssetmakePrototype(String type_name, Class class_hint)
    
protected  voidrehydrate()
    
public  voidsetServiceBroker(ServiceBroker serviceBroker)
    
protected  voidsetupSubscriptions()
    
public  StringsubstituteEchelon(String q)
     Replaces the ":echelon" in the ammunition query with the actual value.
public  StringsubstituteNSN(String q, String nsn)
     Replaces the ":nsn" in the query with the actual NSN.
public  StringsubstituteNSNList(String q, List list)
     Replaces the ":nsns" in the query for the actual list of NSNs.
public  StringsubstituteOrgName(String q, String agent_name)
    
public  StringsubstituteSupplyType(String q, String supplyType)
    

Field Detail
AMMO
final public static int AMMO(Code)



FUEL
final public static int FUEL(Code)



LEVEL2
final public static String LEVEL2(Code)



MEI_STRING
final public static String MEI_STRING(Code)



PKG_POL
final public static int PKG_POL(Code)



SPARES
final public static int SPARES(Code)



THEATER
final public static String THEATER(Code)



myOrg
protected Organization myOrg(Code)





Method Detail
addConsumerPGs
protected void addConsumerPGs(Collection meiConsumers)(Code)



canHandle
public boolean canHandle(String typeid, Class class_hint)(Code)



checkLevel2MeiConsumption
protected boolean[] checkLevel2MeiConsumption()(Code)



checkMeiConsumption
protected boolean[] checkMeiConsumption(Asset asset)(Code)



configure
protected void configure()(Code)



createACRQuery
public String createACRQuery(Asset asset, String asset_type, String service, String theater)(Code)



execute
public void execute()(Code)



fillProperties
public void fillProperties(Asset anAsset)(Code)



generateMEIQueryParameter
public String generateMEIQueryParameter(Asset asset, String asset_type, Service service)(Code)



getAssetUtils
public AssetUtils getAssetUtils()(Code)



getBlackboardQueryService
public BlackboardQueryService getBlackboardQueryService(Object requestor)(Code)



getLoggingService
public LoggingService getLoggingService(Object requestor)(Code)



getMEINomenclature
protected String getMEINomenclature(String type_id, String service)(Code)



getMyOrg
public Organization getMyOrg()(Code)



getPrototype
public Asset getPrototype(String typeid)(Code)



getScheduleUtils
public ScheduleUtils getScheduleUtils()(Code)



getTaskUtils
public TaskUtils getTaskUtils()(Code)



getTimeUtils
public TimeUtils getTimeUtils()(Code)



load
public void load()(Code)



lookupAssetConsumptionRate
public Vector lookupAssetConsumptionRate(Asset asset, String asset_type, String service, String theater)(Code)



lookupLevel2AssetConsumptionRate
public Vector lookupLevel2AssetConsumptionRate(String agent, Asset asset, String supply_type)(Code)



makePrototype
public Asset makePrototype(String type_name, Class class_hint)(Code)



rehydrate
protected void rehydrate()(Code)



setServiceBroker
public void setServiceBroker(ServiceBroker serviceBroker)(Code)



setupSubscriptions
protected void setupSubscriptions()(Code)



substituteEchelon
public String substituteEchelon(String q)(Code)
Replaces the ":echelon" in the ammunition query with the actual value.
Parameters:
  q - query string new query



substituteNSN
public String substituteNSN(String q, String nsn)(Code)
Replaces the ":nsn" in the query with the actual NSN.
Parameters:
  q - query string
Parameters:
  nsn - actual NSN new query



substituteNSNList
public String substituteNSNList(String q, List list)(Code)
Replaces the ":nsns" in the query for the actual list of NSNs.
Parameters:
  q - query string
Parameters:
  list - actual list of NSNs new query or null if unsuccessful



substituteOrgName
public String substituteOrgName(String q, String agent_name)(Code)



substituteSupplyType
public String substituteSupplyType(String q, String supplyType)(Code)



Fields inherited from org.cougaar.glm.ldm.QueryLDMPlugin
protected Vector cannotHandle_(Code)(Java Doc)
protected String className_(Code)(Java Doc)
protected MessageAddress clusterId_(Code)(Java Doc)
protected String dbType(Code)(Java Doc)
protected Hashtable fileParameters_(Code)(Java Doc)
protected LoggingService logger(Code)(Java Doc)
protected Hashtable myParams_(Code)(Java Doc)
protected String url_user_password_(Code)(Java Doc)

Methods inherited from org.cougaar.glm.ldm.QueryLDMPlugin
abstract public boolean canHandle(String typeid, Class class_hint)(Code)(Java Doc)
public Vector executeQuery(String query)(Code)(Java Doc)
public void executeQuery(String query, RowHandler rh)(Code)(Java Doc)
protected Connection getConnection() throws SQLException(Code)(Java Doc)
protected String getParm(String name)(Code)(Java Doc)
public Asset getPrototype(String aTypeName, Class anAssetClassHint)(Code)(Java Doc)
protected void initializeDriver()(Code)(Java Doc)
abstract public Asset makePrototype(java.lang.String aTypeName, java.lang.Class anAssetClassHint)(Code)(Java Doc)
protected Asset newAsset(String typeid, String type, String nomenclature)(Code)(Java Doc)
protected void parseArguments()(Code)(Java Doc)
protected void parseQueryFile(String queryFile)(Code)(Java Doc)
protected void parseQueryLine(String s)(Code)(Java Doc)
protected void parseQueryLine(String s, boolean dbSpecific)(Code)(Java Doc)
protected void releaseConnection(Connection conn)(Code)(Java Doc)
public void setLoggingService(LoggingService loggingService)(Code)(Java Doc)
protected void setupSubscriptions()(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.