01: /*
02: * <copyright>
03: *
04: * Copyright 1997-2004 BBNT Solutions, LLC
05: * under sponsorship of the Defense Advanced Research Projects
06: * Agency (DARPA).
07: *
08: * You can redistribute this software and/or modify it under the
09: * terms of the Cougaar Open Source License as published on the
10: * Cougaar Open Source Website (www.cougaar.org).
11: *
12: * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
13: * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
14: * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
15: * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
16: * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
17: * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
18: * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19: * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20: * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21: * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22: * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23: *
24: * </copyright>
25: */
26:
27: package org.cougaar.planning;
28:
29: /**
30: * Define standard Planning domain constants for use by Plugins and LPs.
31: * Most domains will define a set of constants. Here they are Verbs and Prepositions.
32: */
33: public interface Constants {
34:
35: interface Verb {
36: // Cougaar Planning defined verb types
37: // Keep in alphabetical order
38:
39: /** The Verb for an Entity to Report "up" to another **/
40: String REPORT = "Report";
41:
42: org.cougaar.planning.ldm.plan.Verb Report = org.cougaar.planning.ldm.plan.Verb
43: .get(REPORT);
44: }
45:
46: /** Prepositions for use in PrepositionalPhrases off of Tasks **/
47: interface Preposition {
48: // Cougaar Planning defined prepositions
49: String WITH = "With"; // typically used for the OPlan object
50: String TO = "To"; // typically used for a destination geoloc
51: String FROM = "From"; // typically used for an origin geoloc
52: String FOR = "For"; // typically used for the originating organization
53: String OFTYPE = "OfType"; // typically used with abstract assets
54: String USING = "Using"; // typically used for ???
55: String AS = "As"; // used with Roles for RFS/RFD task
56: }
57: }
|