001: /*
002: * <copyright>
003: *
004: * Copyright 1997-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:
027: package org.cougaar.glm.ldm.plan;
028:
029: import java.util.Hashtable;
030:
031: import org.cougaar.core.util.UniqueObject;
032:
033: public interface CasRep extends UniqueObject {
034:
035: // Types of status for a CasRep
036: String TICKET_COMPLETED = "Ticket Completed";
037: String INITIAL_TICKET = "Trouble Ticket";
038: String TROUBLESHOOTING = "Troubleshooting";
039:
040: String PARTS_REQUIRED = "Parts Required, Not In Stock";
041: String PARTS_ORDERED = "Parts Ordered";
042: String AWAITING_PARTS = "Awaiting Parts Delivery";
043:
044: String ASSISTANCE_REQUIRED = "Technical Assistance Requested";
045:
046: String AWAITING_MAINTENANCE = "Awaiting Maintenance";
047: String REPAIR_UNDERWAY = "Repair Underway";
048: String REPAIR_COMPLETED = "Repair Completed";
049:
050: // Type of classifications for a given CasRep
051: String UNCLASSIFIED = "Unclassified";
052:
053: String C2 = "C2";
054: String C3 = "C3";
055: String C4 = "C4";
056:
057: String formatDate(java.util.Date param);
058:
059: String formatShortDate(java.util.Date param);
060:
061: String getDisplayDate();
062:
063: long getTimeStamp();
064:
065: String getTicketNumber();
066:
067: String getOperator();
068:
069: String getMachine();
070:
071: String getSerialNumber();
072:
073: String getSpace();
074:
075: String getSymptoms();
076:
077: String getRemarks();
078:
079: Hashtable getMisc();
080:
081: boolean isMissionCritical();
082:
083: String getStatus();
084:
085: String getBrokenPart();
086:
087: String getBrokenPartDesc();
088:
089: String getBrokenPartStatus();
090:
091: boolean isCasRep();
092:
093: boolean isNewCasRep();
094:
095: String getVersion();
096:
097: String getNextVersion();
098:
099: String getFrom();
100:
101: String getFromCluster();
102:
103: String getTo();
104:
105: String getInfo();
106:
107: String getClassification();
108:
109: String getCriticalityCode();
110:
111: Object getBrokenMEI();
112:
113: String getData();
114:
115: String getCode();
116:
117: String getCasRepNumber();
118:
119: String getOnShipCasRepNumber();
120:
121: String getNextOnShipCasRepNumber();
122: }
|