| org.cougaar.core.util.OwnedUniqueObject org.cougaar.glm.ldm.oplan.Oplan
Constructor Summary | |
public | Oplan() Constructor for the Oplan object. | public | Oplan(String xmlfilename) Constructor for the Oplan object. | public | Oplan(UID uid, String oplanID, String opName, String priority, Date cDay) Constructor for the Oplan object. | public | Oplan(UID uid, String oplanID, String opName, String priority, Date cDay, Date endDay) | public | Oplan(String xmlfilename, UID uid, String oplanID, String opName, String priority, Date cDay) Constructor for the Oplan object. | public | Oplan(String xmlfilename, UID uid, String oplanID, String opName, String priority, Date cDay, Date endDay) |
DEFAULT_FILE_NAME | final public static String DEFAULT_FILE_NAME(Code) | | |
DEFAULT_OPLAN_DURATION | final public static long DEFAULT_OPLAN_DURATION(Code) | | |
INFER_END_DAY_FUDGE | final public static long INFER_END_DAY_FUDGE(Code) | | |
SOUTH_WEST_ASIA | final public static String SOUTH_WEST_ASIA(Code) | | |
Oplan | public Oplan()(Code) | | Constructor for the Oplan object.
|
Oplan | public Oplan(String xmlfilename)(Code) | | Constructor for the Oplan object. This should only be used by
the OPlanPlugin.
Parameters: xmlfilename - Name of the oplan xml file to be parsed. |
Oplan | public Oplan(UID uid, String oplanID, String opName, String priority, Date cDay)(Code) | | Constructor for the Oplan object. This should only be used by
the OPlanPlugin.
|
Oplan | public Oplan(String xmlfilename, UID uid, String oplanID, String opName, String priority, Date cDay)(Code) | | Constructor for the Oplan object. This should only be used by
the OPlanPlugin.
Parameters: xmlfilename - Name of the oplan xml file to be parsed. |
clone | public Object clone()(Code) | | Returns a copy of the Oplan.
Object A copy of the Oplan. |
equals | public boolean equals(Object o)(Code) | | Determines if the given oplan is the same as
the current oplan.
Parameters: o - Oplan to compare it to. boolean true - samefalse - not same |
getCday | public Date getCday()(Code) | | Gets the current Cday being used by the Oplan
Date The current cDay |
getEndDay | public Date getEndDay()(Code) | | Gets the current end day being used by the Oplan
Date The current endDay |
getHNSForWater | public boolean getHNSForWater()(Code) | | |
getHNSPOL | public boolean getHNSPOL()(Code) | | |
getHNSWaterCapability | public String getHNSWaterCapability()(Code) | | |
getMaxActiveStage | public int getMaxActiveStage()(Code) | | |
getMinRequiredStage | public int getMinRequiredStage()(Code) | | |
getOperationName | public String getOperationName()(Code) | | Gets the operation name for the Oplan.
oplanName The operation name for the Oplan. |
getOplanId | public String getOplanId()(Code) | | Gets the oplanID for the given OPlan.
oplanID The unique ID for the Oplan. |
getPriority | public String getPriority()(Code) | | Gets the priority for the OPlan.
priority The priority for the Oplan. The typesreturned are declared as |
getUID | public UID getUID()(Code) | | Gets the oplanID for the given OPlan.
oplanID The unique ID for the Oplan. |
getVersion | public double getVersion()(Code) | | |
getXMLFileName | public String getXMLFileName()(Code) | | Gets the oplan xml filename to be parsed.
The name of the most recently parsed oplan xml file. |
incrementVersion | public void incrementVersion()(Code) | | |
inferEndDay | public void inferEndDay(Collection oplanContributors)(Code) | | Infer the end day from all the contributing elements
|
isActive | public boolean isActive()(Code) | | |
same | public boolean same(Transferable other)(Code) | | Determines if the given oplan is the same as
the current oplan.
Parameters: other - Oplan to compare it to. boolean true - samefalse - not same |
setAll | public void setAll(Transferable other)(Code) | | This methods sets the Oplan contents to all
of the values specified in the given object.
Parameters: other - oplan object to set contents to. |
setCday | public void setCday(Date cDay)(Code) | | Sets the CDay of the oplan. This should
not be called by any subordinate clusters.
Parameters: cDay - the CDay. Should be in the format mm/dd/yyyy |
setEndDay | public void setEndDay(Date endDay)(Code) | | Sets the end day of the oplan. This should
not be called by any subordinate clusters.
Parameters: endDay - the endDay. Should be in the format mm/dd/yyyy |
setEnemyForceType | public void setEnemyForceType(String enemyForceType)(Code) | | Sets the enemyForceType
Parameters: enemyForceType - See constants above for valid values. |
setHNSForWater | public void setHNSForWater(boolean hnsWater)(Code) | | |
setHNSPOL | public void setHNSPOL(boolean hnsPOL)(Code) | | |
setHNSPOLCapacity | public void setHNSPOLCapacity(String hnsPOLCap)(Code) | | |
setHNSWaterCapability | public void setHNSWaterCapability(String hnsWaterCap)(Code) | | |
setMaxActiveStage | public void setMaxActiveStage(int newMax)(Code) | | |
setMinRequiredStage | public void setMinRequiredStage(int newMin)(Code) | | |
setOperationName | public void setOperationName(String opName)(Code) | | Sets the operation name of the oplan. This should
not be called by any subordinate clusters.
Parameters: opName - The operation name. |
setOplanId | public void setOplanId(String oplanID)(Code) | | Sets the oplan ID. This should not be called by any
subordinate clusters.
Parameters: oplanID - The id of the Oplan. |
setOplanUID | public void setOplanUID(UID uid)(Code) | | Sets the oplan UID. This should not be called by any
subordinate clusters.
Parameters: uid - The unique id of the Oplan. |
setPriority | public void setPriority(String priority)(Code) | | Sets the priority of the oplan. This should
not be called by any subordinate clusters. Static
final values will be created for the priority in
the near future.
Parameters: priority - The priority. |
setSeason | public void setSeason(String season)(Code) | | Sets the season
Parameters: season - See constants above for valid values. |
setTerrainType | public void setTerrainType(String terrainType)(Code) | | Sets the terraintype
Parameters: terrainType - See constants above for valid values. |
setTheaterID | public void setTheaterID(String theaterID)(Code) | | Sets the theaterID
Parameters: theaterID - See constants above for valid values. |
setXMLFileName | public void setXMLFileName(String name)(Code) | | Sets the oplan xml filename to be parsed.
Parameters: name - Name of the oplan xml file to be parsed. |
toString | public String toString()(Code) | | A string Containing the UID and operation name of the Oplan |
|
|