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


001:        /*
002:         * <copyright>
003:         *  
004:         *  Copyright 2001-2004 BBNT Solutions, LLC
005:         *  under sponsorship of the Defense Advanced Research Projects
006:         *  Agency (DARPA).
007:         * 
008:         *  You can redistribute this software and/or modify it under the
009:         *  terms of the Cougaar Open Source License as published on the
010:         *  Cougaar Open Source Website (www.cougaar.org).
011:         * 
012:         *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
013:         *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
014:         *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
015:         *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
016:         *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
017:         *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
018:         *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
019:         *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
020:         *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
021:         *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
022:         *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
023:         *  
024:         * </copyright>
025:         */
026:        package org.cougaar.logistics.plugin.trans;
027:
028:        import org.cougaar.core.mts.MessageAddress;
029:        import org.cougaar.planning.ldm.plan.Role;
030:
031:        /**
032:         * Class to hold constants for the GLMTrans tree.
033:         * Values should probably only be included here if they are public static final
034:         *
035:         */
036:        public class GLMTransConst {
037:
038:            /** GENERIC **/
039:
040:            /** GLOBAL MODE **/
041:            // MODE prep
042:            public static final String MODE = "M";
043:            // MODE prep strings
044:            public static final String AIR = "AIR";
045:            public static final String SEA = "SEA";
046:            public static final String GROUND = "GROUND";
047:            public static final String NULL = "NO TRANSPORT";
048:
049:            public static final String LOW_FIDELITY = "LOW_FIDELITY";
050:            public static final String LOW_FIDELITY_PROTOTYPE = "Level2Prototype";
051:            public static final String PREREQ_TASK = "PREREQ_TASK";
052:
053:            /** GLOBAL SEA **/
054:            // TASKEDTO prep
055:            public static final String TASKEDTO = "T";
056:            // TASKEDTO prep strings
057:            public static final String MISSION = "MISSION";
058:            public static final String THEATER = "THEATER";
059:            public static final String THEATERPORT = "THEATERPORT";
060:            public static final String PORT = "PORT"; // may go away?
061:            public static final String POE = "POE";
062:            public static final String CONUSPORT = "CONUSPORT";
063:            public static final String SHIP = "SHIP";
064:
065:            public static final String VISHNU_DATA = "VISHNU_DATA";
066:            public static final String SEAROUTE_DISTANCE = "SEAROUTE_DISTANCE";
067:            public static final String SEAROUTE = "SEAROUTE";
068:            public static final String READYAT = "READYAT";
069:
070:            // Ship types
071:            public static final String AMMO_SHIP = "Ammo";
072:            public static final String FSS_RORO_COMBO_SHIP = "FSS|RORO|Combo";
073:            public static final String LMSR_RORO_COMBO_SHIP = "LMSR|RORO|Combo";
074:            public static final String MPS_RORO_COMBO_SHIP = "MPS|RORO|Combo";
075:            public static final String RORO_SHIP = "RORO";
076:            public static final String BREAKBULK_CONTAINER_SHIP = "BreakBulk|Container";
077:            public static final String BREAKBULK_SHIP = "BreakBulk";
078:            public static final String CONTAINER_SHIP = "Container";
079:            public static final String LASH_SHIP = "LASH";
080:
081:            // Preposition for port time estimation
082:            public static final String PORT_DUR = "PORT_DUR";
083:            public static final long DEFAULT_PORT_DUR = (long) (60 * 60 * 24 * 2.5); // millis
084:
085:            public static final String PACK_FAILURE = "Packing Failure";
086:
087:            //* Preposition for POD offload time hack
088:            public static final String POD_OFFLOAD_DUR = "POD_OFFLOAD_DUR";
089:
090:            // Preposition for prepo integrity support
091:            public static final String TOTAL_PREPO_TASKS = "TOTAL_PREPO_TASKS";
092:
093:            // Load order
094:            public static final String MANIFEST = "MANIFEST";
095:            public static final String MANIFESTDATE = "MANIFESTDATE";
096:
097:            // Prepositions for unit integrity support
098:            public static final String UNIT_DESCRIPTION = "unit";
099:
100:            //* Prepositions for unit integrity support
101:            public static final String TOTAL_UNIT_WEIGHT = "w";
102:            public static final String TOTAL_UNIT_AREA = "a";
103:            public static final String TOTAL_UNIT_VOLUME = "v";
104:            public static final String TOTAL_UNIT_CONTAINERS = "c";
105:
106:            // CONUSGround needs to be the only of whatever role we assign to it/it to
107:            public static final Role CONUSGROUND = Role
108:                    .getRole("CONUSGroundTransportationProvider");
109:            public static final MessageAddress GROUND_CLUSTER_ID = MessageAddress
110:                    .getMessageAddress("GlobalGround");
111:            public static final MessageAddress THEATER_CLUSTER_ID = MessageAddress
112:                    .getMessageAddress("JMCC");
113:
114:            public static final String AIRCREW_READY = "AIRCREW_READY";
115:            public static final String AIRCREW_JOB = "AIRCREW_JOB";
116:            public static final String IMPLIED = "IMPLIED"; // hint to gui to potentially ignore this task or itinerary leg
117:            public static final String IMPLIED_LOAD = "IMPLIED_LOAD"; // hint to gui to potentially ignore this task or itinerary leg
118:            public static final String IMPLIED_UNLOAD = "IMPLIED_UNLOAD"; // hint to gui to potentially ignore this task or itinerary leg
119:
120:            public static final String PILOT = "PILOT";
121:            public static final String COPILOT = "CO-PILOT";
122:            public static final String FLIGHT_ENGINEER = "FLIGHT ENGINEER";
123:            public static final String BOOM_OPERATOR = "BOOM OPERATOR";
124:
125:            public static final Role AMMUNITION_SEA_PORT = Role
126:                    .getRole("AmmunitionSeaPort");
127:            public static final Role AMMO_SEA_PORT = Role
128:                    .getRole("AmmoSeaPort");
129:            public static final Role GENERIC_SEA_PORT = Role
130:                    .getRole("GenericSeaPort");
131:
132:            // CONUSGroundPredictor ---
133:            // The CODES are for decoding the returning AspectValues into the given
134:            // strings since there do not exist the appropriate AspectTypes for strings.
135:
136:            public static final String RAIL = "RAIL";
137:            public static final int RAIL_CODE = 1;
138:            public static final String TRUCK = "TRUCK";
139:            public static final int TRUCK_CODE = 2;
140:
141:            public static final String DUMMY = "Dummy";
142:            public static final String FORLOADING = "ForLoading";
143:            public static final String ONDECK = "OnDeck";
144:            public static final String INSEQUENCE = "InSequence";
145:
146:            public static final String SequentialSchedule = "SequentialSchedule";
147:            public static final String SCHEDULE_ELEMENT = "ScheduleElement";
148:            public static final String FROMTABLE = "FromTable";
149:
150:            public static final org.cougaar.planning.ldm.plan.Role THEATER_MCC_ROLE = org.cougaar.planning.ldm.plan.Role
151:                    .getRole("FromPODGroundTransportationProvider");
152:
153:            // Air Roles
154:            public static final org.cougaar.planning.ldm.plan.Role GLOBAL_AIR_ROLE = org.cougaar.planning.ldm.plan.Role
155:                    .getRole("AirTransportationProvider");
156:            public static final org.cougaar.planning.ldm.plan.Role ORGANIC_AIR_ROLE = org.cougaar.planning.ldm.plan.Role
157:                    .getRole("OrganicAirTransportationProvider");
158:            public static final org.cougaar.planning.ldm.plan.Role VIRTUAL_AIR_ROLE = org.cougaar.planning.ldm.plan.Role
159:                    .getRole("CommercialAirTransportationProvider");
160:            public static final org.cougaar.planning.ldm.plan.Role C17_ROLE = org.cougaar.planning.ldm.plan.Role
161:                    .getRole("C17TransportProvider");
162:            public static final org.cougaar.planning.ldm.plan.Role C5_ROLE = org.cougaar.planning.ldm.plan.Role
163:                    .getRole("C5TransportProvider");
164:            public static final org.cougaar.planning.ldm.plan.Role C130_ROLE = org.cougaar.planning.ldm.plan.Role
165:                    .getRole("C130TransportProvider");
166:            public static final org.cougaar.planning.ldm.plan.Role MD11_ROLE = org.cougaar.planning.ldm.plan.Role
167:                    .getRole("CommercialTransportProvider");
168:            public static final org.cougaar.planning.ldm.plan.Role B747_ROLE = org.cougaar.planning.ldm.plan.Role
169:                    .getRole("CommercialTransportProvider");
170:            public static final org.cougaar.planning.ldm.plan.Role SQUADRON_ROLE = org.cougaar.planning.ldm.plan.Role
171:                    .getRole("AirCrewProvider");
172:            public static final org.cougaar.planning.ldm.plan.Role THEATER_AIR_ROLE = org.cougaar.planning.ldm.plan.Role
173:                    .getRole("TheaterAirTransportationProvider");
174:
175:            // Sea Roles
176:            public static final org.cougaar.planning.ldm.plan.Role GLOBAL_SEA_ROLE = org.cougaar.planning.ldm.plan.Role
177:                    .getRole("SeaTransportationProvider");
178:            public static final org.cougaar.planning.ldm.plan.Role SHIP_PACKER_ROLE = org.cougaar.planning.ldm.plan.Role
179:                    .getRole("ShipPackingTransportationProvider");
180:            public static final org.cougaar.planning.ldm.plan.Role AMMO_SHIP_PACKER_ROLE = org.cougaar.planning.ldm.plan.Role
181:                    .getRole("AmmoShipPackingTransportationProvider");
182:            public static final org.cougaar.planning.ldm.plan.Role GLOBAL_SEA_AMMO_ROLE = org.cougaar.planning.ldm.plan.Role
183:                    .getRole("AmmoTransportationProvider");
184:            public static final org.cougaar.planning.ldm.plan.Role GENERIC_PORT_ROLE = org.cougaar.planning.ldm.plan.Role
185:                    .getRole("GenericSeaPort");
186:            public static final org.cougaar.planning.ldm.plan.Role AMMO_PORT_ROLE = org.cougaar.planning.ldm.plan.Role
187:                    .getRole("AmmunitionSeaPort");
188:            public static final org.cougaar.planning.ldm.plan.Role THEATER_SEA_ROLE = org.cougaar.planning.ldm.plan.Role
189:                    .getRole("TheaterSeaTransportationProvider");
190:
191:            // Ground Roles
192:            public static final org.cougaar.planning.ldm.plan.Role CONUS_GROUND_ROLE = org.cougaar.planning.ldm.plan.Role
193:                    .getRole("ToPOEGroundTransportationProvider");
194:            public static final org.cougaar.planning.ldm.plan.Role COMMERCIAL_GROUND_ROLE = org.cougaar.planning.ldm.plan.Role
195:                    .getRole("CommercialGroundTransportationProvider");
196:            public static final org.cougaar.planning.ldm.plan.Role THEATER_GROUND_ROLE = org.cougaar.planning.ldm.plan.Role
197:                    .getRole("FromPODGroundTransportationProvider");
198:            public static final org.cougaar.planning.ldm.plan.Role ITO_ROLE = org.cougaar.planning.ldm.plan.Role
199:                    .getRole("GroundTransportationProvider");
200:            public static final org.cougaar.planning.ldm.plan.Role TRANSCAP_ROLE = org.cougaar.planning.ldm.plan.Role
201:                    .getRole("TranscapProvider");
202:            public static final org.cougaar.planning.ldm.plan.Role THEATER_FORT_ROLE = org.cougaar.planning.ldm.plan.Role
203:                    .getRole("TheaterTruckingProvider");
204:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.