public class AvclMission extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static int | ABOVEGROUNDLEVELCONTROLAbove Ground Level (AGL) enumeration for aircraft altitude control type. | 
| static int | ABSOLUTE_TIMINGEnumeration for absolute timing, meaning that time values are actual clock values. | 
| static int | AGENDAEnumeration for mission type: non-vehicle-specific agenda planning mission | 
| static int | AGENDA_AVOIDAREAELEMENTEnumeration value for allowed commandType | 
| static int | AGENDA_GOALEnumeration value for allowed commandType | 
| static int | AGENDA_LAUNCH_POSITIONEnumeration value for allowed commandType | 
| static int | AGENDA_RECOVERY_POSITIONEnumeration value for allowed commandType | 
| static int | AGENDA_ROUTEELEMENTEnumeration value for allowed commandType | 
| protected AgendaConstraintListType | agendaConstraintListHandle to the list containing strategic-level agenda constraints | 
| protected AgendaGoalListType | agendaGoalListHandle to the list containing strategic-level agenda goals | 
| protected AgendaMissionElementType | agendaMissionHandle to the strategic-level agenda mission element | 
| static int | AGLEnumeration for commanded altitude type, Above Ground Level | 
| static int | ALLPLANESEnumeration value for commanded plane surfaces | 
| static int | ALLPROPELLERSEnumeration value for commanded propellers | 
| static int | ALLTRACKSEnumeration value for ugv track type | 
| static int | ALTITUDE_ABV_BTMEnumeration for block depth/altitude type | 
| static int | ALTITUDE_ABV_BTM_BLKEnumeration for block depth/altitude type | 
| static int | ALTITUDE_AGLEnumeration for block depth/altitude type | 
| static int | ALTITUDE_AGL_BLKEnumeration for block depth/altitude type | 
| static int | ALTITUDE_AGL_MSL_BLKEnumeration for block depth/altitude type | 
| static int | ALTITUDE_MSLEnumeration for block depth/altitude type | 
| static int | ALTITUDE_MSL_BLKEnumeration for block depth/altitude type | 
| static int | ALTITUDECONTROLEnumeration value for z-axis vertical control mode | 
| static int | ATTACKMission goal type | 
| static String[] | AVCL_COMMAND_NAMESEnumeration values for allowed AVCL command names | 
| static int | BIOLOGICALEnumeration for contaminant type | 
| protected AvclBodyType | bodyHandle to the AVCL body element | 
| static int | BOWLATERALTHRUSTEREnumeration value for commanded body thrusters | 
| static int | BOWPLANESEnumeration value for commanded plane surfaces | 
| static int | BOWVERTICALTHRUSTEREnumeration value for commanded body thrusters | 
| static int | CENTERPROPELLEREnumeration value for commanded propellers | 
| static int | CHEMICALEnumeration for contaminant type | 
| static int | CIRCLEEnumeration for specifying a type of location geometry | 
| protected List<JAXBElement<?>> | commandElementListHandle to the mission script command list | 
| static int | COMPOSITEWAYPOINT_COMMAND_UAVEnumeration value for allowed commandType | 
| static int | COMPOSITEWAYPOINT_COMMAND_UGVEnumeration value for allowed commandType | 
| static int | COMPOSITEWAYPOINT_COMMAND_USVEnumeration value for allowed commandType | 
| static int | COMPOSITEWAYPOINT_COMMAND_UUVEnumeration value for allowed commandType | 
| static Color | CURRENT_GOALEnumeration color for rendering mission status:  current goal | 
| static int | DECONTAMINATEMission goal type | 
| static int | DEFAULTZCONTROLEnumeration value for z-axis vertical control mode | 
| static int | DEMOLISHMission goal type | 
| static int | DEPTHEnumeration for block depth/altitude type | 
| static int | DEPTH_ALTITUDE_ABV_BTM_BLKEnumeration for block depth/altitude type | 
| static int | DEPTH_BLKEnumeration for block depth/altitude type | 
| static int | DEPTHCONTROLEnumeration value for z-axis vertical control mode | 
| static String | DIRECTTOEnumeration for allowable homing/tracking mode used during waypoint navigation | 
| static int | DURATION_TIMINGEnumeration for relative timing, meaning that time values are duration intervals. | 
| static int | EDGESCANEnumeration value for target sonar scan mode | 
| static int | EGRESS_ROUTEEnumeration for direction of routing (ingress or egress) | 
| protected EventLogElementType | eventLogHandle to the Event Log element | 
| protected List<Object> | eventLogItemsHandle to the list of logged events | 
| static int | EXPANDINGSQUAREEnumeration value for type of composite waypoint command | 
| static int | EXPLOSIVEEnumeration for contaminant type | 
| static int | FOLLOWBEACON_COMMANDEnumeration value for allowed commandType | 
| static int | FORWARDSCANEnumeration value for sonar scan mode | 
| protected GeoOriginElementType | geoOriginHandle to the GeoOrigin element | 
| static int | GIGAHERTZEnumeration for allowable frequency units | 
| static String[] | GOAL_NAMES | 
| static Color | GOAL_ON_FAILUREEnumeration color for rendering mission status:  next goal on failure | 
| static Color | GOAL_ON_SUCCESSEnumeration color for rendering mission status:  next goal on success | 
| static int | GPSCOMPLETEEnumeration value for GPS fix status | 
| static int | GPSFAILEnumeration value for GPS fix status | 
| static int | GPSFIX_COMMANDEnumeration value for allowed commandType | 
| static int | GPSINPROGRESSEnumeration value for GPS fix status | 
| static int | GPSSTARTEnumeration value for GPS fix status | 
| protected AvclHeadType | headHandle to AVCL head element | 
| static int | HELP_COMMANDEnumeration value for allowed commandType | 
| static int | HERTZEnumeration for allowable frequency units | 
| static int | HOVER_COMMANDEnumeration value for allowed commandType | 
| static int | ILLUMINATEMission goal type | 
| static int | INGRESS_ROUTEEnumeration for direction of routing (ingress or egress) | 
| static Color | INITIAL_GOALEnumeration color for rendering mission status:  initial goal | 
| static int | JAMMission goal type | 
| static int | KILOHERTZEnumeration for allowable frequency units | 
| static int | KNOTSEnumeration for type of speed units | 
| static int | LATERALTHRUSTERSEnumeration value for commanded body thrusters | 
| static int | LATLONGPOSITIONEnumeration value for horizontal positioning representation | 
| static int | LEFTEnumeration for commanded turn direction | 
| static int | LEFTTRACKEnumeration value for ugv track type | 
| static int | LIMITING_LINEEnumeration for specifying a type of location geometry | 
| static int | LOITER_COMMAND_UAVEnumeration value for allowed commandType | 
| static int | LOITER_COMMAND_UGVEnumeration value for allowed commandType | 
| static int | LOITER_COMMAND_USVEnumeration value for allowed commandType | 
| static int | LOITER_COMMAND_UUVEnumeration value for allowed commandType | 
| static int | MAGNETICBEARINGEnumeration value for bearing type | 
| static int | MAKEALTITUDE_COMMANDEnumeration value for allowed commandType | 
| static int | MAKEALTITUDEAGL_COMMANDEnumeration value for allowed commandType | 
| static int | MAKEALTITUDEMSL_COMMANDEnumeration value for allowed commandType | 
| static int | MAKECLIMBRATE_COMMANDEnumeration value for allowed commandType | 
| static int | MAKEDEPTH_COMMANDEnumeration value for allowed commandType | 
| static int | MAKEHEADING_COMMANDEnumeration value for allowed commandType | 
| static int | MAKEKNOTS_COMMANDEnumeration value for allowed commandType | 
| static int | MAKESPEED_COMMANDEnumeration value for allowed commandType | 
| static int | MAKETURNRATE_COMMANDEnumeration value for allowed commandType | 
| static int | MANUALSCANEnumeration value for sonar scan mode | 
| static int | MARKMission goal type | 
| static int | MEANSEALEVELCONTROLMean Sea Level (MSL) enumeration for aircraft altitude control type. | 
| static int | MEGAHERTZEnumeration for allowable frequency units | 
| static int | META_COMMANDEnumeration value for allowed commandType | 
| static int | METERSPERSECONDEnumeration for type of speed units | 
| protected MissionPreparationElementType | missionPreparationHandle to the AVCL/body MissionPreparation element | 
| protected MissionResultsElementType | missionResultsHandle to the AVCL/body MissionResults element  -- which might be null if not telemetry mission | 
| static int | MISSIONSCRIPT_COMMANDEnumeration value for allowed commandType | 
| static int | MISSIONSCRIPTINLINE_COMMANDEnumeration value for allowed commandType | 
| static int | MONITORTRANSMISSIONSMission goal type | 
| static int | MOVELATERAL_COMMANDEnumeration value for allowed commandType | 
| static int | MOVEROTATE_COMMANDEnumeration value for allowed commandType | 
| static int | MSLEnumeration for commanded altitude type, Mean Sea Level | 
| static int | MUNITIONEnumeration for mission type: enhanced range munition | 
| static int | MUNITION_AIM_POSITIONEnumeration value for allowed commandType | 
| static int | MUNITION_LAUNCH_POSITIONEnumeration value for allowed commandType | 
| protected GuidedMunitionMissionElementType | munitionMissionHandle to the munition mission element for a munition mission | 
| static int | NOVALUEEnumeration value indicating that no value was provided in a command (i.e. value is either missing or skipped) | 
| static int | NUCLEAREnumeration for contaminant type | 
| static int | NUMBER_GOAL_TYPES | 
| static int | PARALLELTRACKEnumeration value for type of composite waypoint command | 
| static int | PATROLMission goal type | 
| static int | POINTEnumeration for specifying a type of location geometry | 
| static int | POLYGONEnumeration for specifying a type of location geometry | 
| static int | PORTEnumeration for commanded turn direction | 
| static int | PORTPROPELLEREnumeration value for commanded propellers | 
| static int | POSITION_COMMAND_UAVEnumeration value for allowed commandType | 
| static int | POSITION_COMMAND_UGVEnumeration value for allowed commandType | 
| static int | POSITION_COMMAND_USVEnumeration value for allowed commandType | 
| static int | POSITION_COMMAND_UUVEnumeration value for allowed commandType | 
| static Color | PRIOR_GOALEnumeration color for rendering mission status:  prior goal | 
| static int | QUIT_COMMANDEnumeration value for allowed commandType | 
| static int | REALTIME_COMMANDEnumeration value for allowed commandType | 
| static int | RECOVER_COMMANDEnumeration value for allowed commandType | 
| static int | RECTANGLEEnumeration for specifying a type of location geometry | 
| static int | RELATIVEBEARINGEnumeration value for bearing type | 
| static int | RELATIVEXYPOSITIONEnumeration value for horizontal positioning representation | 
| static int | RENDEZVOUSMission goal type | 
| static int | REPOSITIONMission goal type | 
| protected List<SampledResultsElementType> | resultsListHandle to MissionResults sampledResults list  -- maybe null if not telemetry mission | 
| static int | RIGHTEnumeration for commanded turn direction | 
| static int | RIGHTTRACKEnumeration value for ugv track type | 
| static int | SAMPLEENVIRONMENTMission goal type | 
| static int | SEARCHMission goal type | 
| static int | SECTORPATTERNEnumeration value for type of composite waypoint command | 
| static int | SENDMESSAGE_COMMANDEnumeration value for allowed commandType | 
| static int | SETAILERON_COMMANDEnumeration value for allowed commandType | 
| static int | SETELEVATOR_COMMANDEnumeration value for allowed commandType | 
| static int | SETPLANES_COMMANDEnumeration value for allowed commandType | 
| static int | SETPOWER_COMMANDEnumeration value for allowed commandType | 
| static int | SETPROPELLER_COMMANDEnumeration value for allowed commandType | 
| static int | SETRUDDER_COMMANDEnumeration value for allowed commandType | 
| static int | SETSONAR_COMMANDEnumeration value for allowed commandType | 
| static int | SETSTANDOFF_COMMANDEnumeration value for allowed commandType | 
| static int | SETTHRUSTER_COMMANDEnumeration value for allowed commandType | 
| static int | SETTIME_COMMANDEnumeration value for allowed commandType | 
| static int | SETTIMESTEP_COMMANDEnumeration value for allowed commandType | 
| static int | SETTRACKSPEED_COMMANDEnumeration value for allowed commandType | 
| static int | STARBOARDEnumeration for commanded turn direction | 
| static int | STBDPROPELLEREnumeration value for commanded propellers | 
| static int | STERNLATERALTHRUSTEREnumeration value for commanded body thrusters | 
| static int | STERNPLANESEnumeration value for commanded plane surfaces | 
| static int | STERNVERTICALTHRUSTEREnumeration value for commanded body thrusters | 
| static int | TAKESTATION_COMMANDEnumeration value for allowed commandType | 
| static int | TARGETSCANEnumeration value for target sonar scan mode | 
| protected EventLogElementType | telemetryEventListHandle to Telemetry event list | 
| static int | THRUSTERS_COMMANDEnumeration value for allowed commandType | 
| static int | TOXINEnumeration for contaminant type | 
| static int | TRACE_COMMANDEnumeration value for allowed commandType | 
| static int | TRACKSCANEnumeration value for sonar scan mode | 
| static String | TRACKTOEnumeration for allowable tracking mode used during waypoint navigation | 
| static int | TRUEBEARINGEnumeration value for bearing type | 
| static int | UAVEnumeration for mission type: unmanned air vehicle | 
| protected UavScriptCommandsType | uavCommandScriptHandle to the mission script element for a UUV mission | 
| static int | UGVEnumeration for mission type: unmanned ground vehicle | 
| protected UgvScriptCommandsType | ugvCommandScriptHandle to the mission script element for a UGV mission | 
| static int | USVEnumeration for mission type: unmanned surface vehicle | 
| protected UsvScriptCommandsType | usvCommandScriptHandle to the mission script element for a USV mission | 
| static int | UUVEnumeration for mission type: unmanned underwater vehicle | 
| protected UuvScriptCommandsType | uuvCommandScriptHandle to the mission script element for a UUV mission | 
| static int | VERTICALTHRUSTERSEnumeration value for commanded body thrusters | 
| static int | WAIT_COMMANDEnumeration value for allowed commandType | 
| static int | WAITUNTILTIME_COMMANDEnumeration value for allowed commandType | 
| static int | WAYPOINT_COMMAND_UAVEnumeration value for allowed commandType | 
| static int | WAYPOINT_COMMAND_UGVEnumeration value for allowed commandType | 
| static int | WAYPOINT_COMMAND_USVEnumeration value for allowed commandType | 
| static int | WAYPOINT_COMMAND_UUVEnumeration value for allowed commandType | 
| static int | WAYPOINTLISTEnumeration value for type of composite waypoint command | 
| static int | XYPOSITIONEnumeration value for horizontal positioning representation | 
| Constructor and Description | 
|---|
| AvclMission(int vehicle)Constructor for a specific vehicle AvclMission | 
| AvclMission(Object obj)Alternate constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addAgendaAvoidArea(AreaElementType obj) | 
| void | addAgendaAvoidArea(int index,
                  AreaElementType avoidArea) | 
| void | addAgendaAvoidAreaElement(int index,
                         JAXBElement<?> element)Inserts an Agenda Goal Element at the specified location of the command list,
 current Agenda Goal Element is shifted down. | 
| void | addAgendaGoal(AgendaGoalElementType aget) | 
| void | addAgendaGoal(int index,
             AgendaGoalElementType aget) | 
| void | addAgendaGoalElement(int index,
                    JAXBElement<?> element)Inserts an Agenda Goal Element at the specified location of the command list,
 current Agenda Goal Element is shifted down. | 
| void | addAgendaGoalElement(JAXBElement<?> element)Adds an Agenda Goal Element to the end of the goal list | 
| void | addAgendaLaunchPosition(Object obj) | 
| void | addAgendaRecoveryPosition(Object obj)Sets the designated recovery position for an agenda mission | 
| void | addCommandElement(int index,
                 JAXBElement<?> commandElement)Inserts a command at the specified location of the command list, current
 element is shifted down. | 
| void | addCommandElement(JAXBElement<?> commandElement)Adds a command element to the end of the command list | 
| void | addMunitionAimPosition(Object obj) | 
| void | addMunitionLaunchPosition(Object obj) | 
| void | addSampledResult(SampledResultsElementType newResult)Adds a sampled result element to the mission results section of the object | 
| static void | addVehicleCapability(Object charEl,
                    String capability)Adds a capability to the vehicle's capability list | 
| boolean | checkMetaElements(AVCL result)Checks AVCL meta elements for proper entries and generates default elements if required | 
| void | clearCommandList()Clears (deletes) all commands from the command list | 
| void | clearEventLog()Clears all items from the event log | 
| void | clearGeoOrigin()Clears the GeoOrigin element and deletes it without replacement | 
| void | clearMetaElements()Clears (deletes) all meta elements in the document head section | 
| int | commandType(int index)Returns an integer enumeration for the type of command at a specified location in the list | 
| static int | commandType(Object command) | 
| JAXBElement<?> | copyCommandElement(int index)Retrieves a command at a specified location in the list. | 
| static DateTimeGroupElementType | createCurrentDateTimeGroupElement(String description)Creates a date time group element corresponding to the current time | 
| void | createGeoOrigin(double latitude,
               double longitude,
               double radius,
               String description)Generates a new GeoOrigin element and assigns it to the mission | 
| void | createHeadElement()Generates a new head element and adds it to the mission | 
| void | createMetaElement(String name,
                 String content)Generates a new meta element and adds it to the mission head section | 
| static SampledResultsElementType | createSampledResultElement(double time,
                          String description) | 
| static Object | createVehicleCharacteristicsElement(int vehicleType)Creates a vehicle characteristics element element for the specified type of vehicle | 
| void | generateAgendaConfigurationElement()Generates a vehicle configuration element containing minimum unmanned vehicle
 configuration requirements to successfully execute the currently defined mission | 
| void | generateEventLog()Adds an EventLog element to the mission | 
| void | generateMunitionConfigurationElement()Generates a vehicle configuration element containing minimum unmanned vehicle
 configuration requirements to successfully execute the currently defined mission | 
| void | generateUavConfigurationElement()Generates a vehicle configuration element containing minimum unmanned ground vehicle
 configuration requirements to successfully execute the currently defined mission | 
| void | generateUgvConfigurationElement()Generates a vehicle configuration element containing minimum unmanned ground vehicle
 configuration requirements to successfully execute the currently defined mission | 
| void | generateUsvConfigurationElement()Generates a vehicle configuration element containing minimum unmanned surface vehicle
 configuration requirements to successfully execute the currently defined mission | 
| AreaElementType | getAgendaAvoidArea(int index) | 
| AgendaConstraintListType | getAgendaConstraintList()Returns a reference to the strategic-level agenda mission goals | 
| List<AreaElementType> | getAgendaConstraintListAvoidAreas()Retrieve all agenda constraints | 
| RouteElementType | getAgendaConstraintsEgressRouting() | 
| RouteElementType | getAgendaConstraintsIngressRouting() | 
| AgendaGoalElementType | getAgendaGoal(int index) | 
| List<AgendaGoalElementType> | getAgendaGoalList()Returns a reference to the agenda mission goals | 
| AgendaGoalListType | getAgendaGoals()Returns a reference to the agenda mission goals | 
| AbsoluteHorizontalPositionElementType | getAgendaLaunchPosition()Returns a reference to the launch position element of an agenda mission | 
| AgendaMissionElementType | getAgendaMissionElement()Returns the agenda mission element | 
| AbsoluteHorizontalPositionElementType | getAgendaRecoveryPosition()Returns a reference to the recovery position element of an agenda mission | 
| JAXBElement<?> | getCommandElement(int index)Returns the command at a specified location in the list. | 
| List<JAXBElement<?>> | getCommandElementList()Returns a reference to the script command elements list | 
| int | getCommandListSize()Returns the number of commands in the script | 
| JAXBElement<?> | getCommandTypeElement(Object cmd) | 
| ConfigurationElementType | getConfiguration()Returns the current Configuration element | 
| static String | getDescription(Object element) | 
| List<?> | getEventLog() | 
| GeoOriginElementType | getGeoOrigin() | 
| static double | getGeoOriginLatitude(GeoOriginElementType go) | 
| static double | getGeoOriginLongitude(GeoOriginElementType go) | 
| static double | getGeoOriginRadius(GeoOriginElementType go) | 
| JAXBContext | getJAXBContext()Provide the  JAXBContextfor the current AVCL mission, which is JAXB binding framework for unmarshal, marshal and validate operations | 
| JAXBIntrospector | getJAXBIntrospector()JAXB Introspector is used to invoke JAXBElement objects | 
| double | getLength()TODO: Implement this | 
| static String | getMetaElementContent(JAXBElement<?> meta) | 
| static String | getMetaElementDescription(JAXBElement<?> meta) | 
| List<MetaType> | getMetaElementList() | 
| static String | getMetaElementName(JAXBElement<?> meta) | 
| File | getMissionFile() | 
| AVCL | getMissionJaxb() | 
| MissionPreparationElementType | getMissionPreparationElement() | 
| MunitionAimPointElementType | getMunitionAimPosition() | 
| MunitionLaunchPointElementType | getMunitionLaunchPosition() | 
| GuidedMunitionMissionElementType | getMunitionMissionElement()Returns the munition mission element | 
| ObjectFactory | getObjectFactory()Object factory is used to generate content nodes defined during editing | 
| static String | getSampledResultDescription(SampledResultsElementType result) | 
| static double | getSampledResultTime(SampledResultsElementType result) | 
| List<SampledResultsElementType> | getTelemetryList() | 
| static double | getTimeStamp(Object element)Retrieve via introspection, the value of an element's timeStamp attribute | 
| UnitsOfMeasureElementType | getUnitsOfMeasure()Returns the current Units of Measure element | 
| String | getUnitsOfMeasureAngle(Object uom) | 
| String | getUnitsOfMeasureDistance(Object uom) | 
| String | getUnitsOfMeasureTime(Object uom) | 
| static Object | getVehicleCapability(Object charEl,
                    int index) | 
| int | getVehicleIDParameter()Sets the vehicle ID attribute | 
| String | getVehicleNameParameter()Gets the vehicle name attribute | 
| static int | getVehicleNumCapabilities(Object charEl) | 
| int | getVehicleType() | 
| String | getVehicleTypeParameter()Gets the vehicle type attribute | 
| XMLValidationTool | getXMLValidationTool() | 
| static AvclMission | instance()Only need one instance for static usages | 
| boolean | isAgendaMission() | 
| boolean | isEditable() | 
| boolean | isEditableAgenda() | 
| boolean | isMunitionMission() | 
| static boolean | isPartialControlCommand(JAXBElement<?> commandElement) | 
| static boolean | isPlottable(int cmdType)Returns whether the command occupies a place on any of the visual displays | 
| boolean | isTelemetryReplayMission()TODO: This needs to be a better check. | 
| static boolean | isTerminatingCommand(JAXBElement<?> commandElement) | 
| boolean | isValid() | 
| boolean | isValidXMLDocument() | 
| void | logEvent(Object event)Adds an event to the event log | 
| void | marshal()Writes an XML (AVCL) to the default location (probably the file from which it was loaded) | 
| void | marshal(File outFile)Writes XML (AVCL) to a designated file | 
| void | marshal(OutputStream stream)Writes XML (AVCL) to a designated output stream | 
| void | marshal(String outFile)Writes an XML (AVCL) to a designated file | 
| void | marshalNoHeader(Object fragment,
               File outFile)Writes an XML (AVCL) to a designated file, but without the XML header | 
| void | marshalNoHeader(Object fragment,
               OutputStream stream)Writes an XML (AVCL) to a designated output stream, but without the XML header | 
| void | marshalNoHeader(Object fragment,
               PrintStream writer)Writes an XML (AVCL) to a designated output stream, but without the XML header | 
| void | marshalNoHeader(Object fragment,
               PrintWriter writer)Writes an XML (AVCL) to a designated output stream, but without the XML header | 
| void | marshalNoHeader(Object fragment,
               String outFile)Writes an XML (AVCL) to a designated file, but without the XML header | 
| String | marshalToString()Writes an XML (AVCL) object to a String (not used) | 
| void | removeAgendaAvoidArea(int index)Remove an agenda avoidance area from the mission | 
| Object | removeAgendaElement(int index)Removes an Agenda Goal at a specified location in the list. | 
| void | removeAgendaGoal(int index)Remove an agenda goal from the mission | 
| void | removeAgendaLaunchPosition()Deletes the agenda-specified launch position | 
| void | removeAgendaRecoveryPosition()Deletes the agenda-specified | 
| Object | removeCommand(int index)Removes the command at a specified location in the list. | 
| void | removeMunitionElement(int index) | 
| static Object | removeVehicleCapability(Object charEl,
                       int index) | 
| void | replaceCommand(int index,
              JAXBElement<?> commandElement)Replaces a command at the specified location of the command list | 
| void | setAgendaLaunchPosition(AbsoluteHorizontalPositionElementType ahpt) | 
| void | setAgendaRecoveryPosition(AbsoluteHorizontalPositionElementType ahpt) | 
| void | setGeoOriginLatitude(double newLatitude)Sets the latitude portion of the GeoOrigin element | 
| void | setGeoOriginLongitude(double newLongitude)Sets the longitude portion of the GeoOrigin element | 
| void | setGeoOriginRadius(double newRadius)Sets the radius portion of the GeoOrigin element | 
| void | setMissionFilename(String name)Sets the name of a newly created, or existing mission file | 
| void | setMissionJaxb(AVCL missionJaxb) | 
| void | setMissionOffsetDelta(String northing,
                     String easting)Set the mission area offset from a central geographical (Lat/Long) point | 
| void | setMunitionAimPosition(MunitionAimPointElementType obj) | 
| void | setMunitionLaunchPosition(MunitionLaunchPointElementType obj) | 
| static void | setSampledResultDescription(SampledResultsElementType result,
                           String description)Sets the description of a sampled result element | 
| static void | setSampledResultTime(SampledResultsElementType result,
                    double time)Sets the timestamp of a sampled result element | 
| static void | setTimeStamp(Object element,
            double newValue)TimeStamp marshaling method | 
| void | setValid(boolean valid) | 
| void | setVehicleIDParameter(int id)Sets the vehicle ID attribute | 
| void | setVehicleNameParameter(String newName)Sets the vehicle name attribute | 
| void | setVehicleType(int vehicleType) | 
| void | setVehicleType(String vehicleType)Sets the vehicle type attribute | 
public static final int NOVALUE
public static final int XYPOSITION
public static final int RELATIVEXYPOSITION
public static final int LATLONGPOSITION
public static final int DEPTHCONTROL
public static final int ALTITUDECONTROL
public static final int DEFAULTZCONTROL
public static final int MEANSEALEVELCONTROL
ABOVEGROUNDLEVELCONTROL, 
Constant Field Valuespublic static final int ABOVEGROUNDLEVELCONTROL
MEANSEALEVELCONTROL, 
Constant Field Valuespublic static final int ABSOLUTE_TIMING
DURATION_TIMING, 
Constant Field Valuespublic static final int DURATION_TIMING
ABSOLUTE_TIMING, 
Constant Field Valuespublic static final int NUMBER_GOAL_TYPES
public static final int ATTACK
public static final int DECONTAMINATE
public static final int DEMOLISH
public static final int ILLUMINATE
public static final int JAM
public static final int MARK
public static final int MONITORTRANSMISSIONS
public static final int PATROL
public static final int RENDEZVOUS
public static final int REPOSITION
public static final int SAMPLEENVIRONMENT
public static final int SEARCH
public static final String[] GOAL_NAMES
public static final int DEPTH
public static final int ALTITUDE_ABV_BTM
public static final int ALTITUDE_MSL
public static final int ALTITUDE_AGL
public static final int DEPTH_BLK
public static final int DEPTH_ALTITUDE_ABV_BTM_BLK
public static final int ALTITUDE_ABV_BTM_BLK
public static final int ALTITUDE_AGL_BLK
public static final int ALTITUDE_MSL_BLK
public static final int ALTITUDE_AGL_MSL_BLK
public static final int POINT
public static final int CIRCLE
public static final int RECTANGLE
public static final int POLYGON
public static final int LIMITING_LINE
public static final int INGRESS_ROUTE
public static final int EGRESS_ROUTE
public static final int TARGETSCAN
public static final int EDGESCAN
public static final int FORWARDSCAN
public static final int MANUALSCAN
public static final int TRACKSCAN
public static final int GPSSTART
public static final int GPSINPROGRESS
public static final int GPSCOMPLETE
public static final int GPSFAIL
public static final int RELATIVEBEARING
public static final int TRUEBEARING
public static final int MAGNETICBEARING
public static final int ALLPROPELLERS
public static final int STBDPROPELLER
public static final int PORTPROPELLER
public static final int CENTERPROPELLER
public static final int KNOTS
public static final int METERSPERSECOND
public static final int LATERALTHRUSTERS
public static final int BOWLATERALTHRUSTER
public static final int STERNLATERALTHRUSTER
public static final int VERTICALTHRUSTERS
public static final int BOWVERTICALTHRUSTER
public static final int STERNVERTICALTHRUSTER
public static final int ALLPLANES
public static final int BOWPLANES
public static final int STERNPLANES
public static final int ALLTRACKS
public static final int LEFTTRACK
public static final int RIGHTTRACK
public static final int MSL
public static final int AGL
public static final int RIGHT
public static final int STARBOARD
public static final int LEFT
public static final int PORT
public static final String DIRECTTO
public static final String TRACKTO
public static final int HERTZ
public static final int KILOHERTZ
public static final int MEGAHERTZ
public static final int GIGAHERTZ
public static final int NUCLEAR
public static final int BIOLOGICAL
public static final int CHEMICAL
public static final int EXPLOSIVE
public static final int TOXIN
public static final int COMPOSITEWAYPOINT_COMMAND_UUV
public static final int COMPOSITEWAYPOINT_COMMAND_UGV
public static final int COMPOSITEWAYPOINT_COMMAND_USV
public static final int COMPOSITEWAYPOINT_COMMAND_UAV
public static final int RECOVER_COMMAND
public static final int FOLLOWBEACON_COMMAND
public static final int GPSFIX_COMMAND
public static final int HELP_COMMAND
public static final int HOVER_COMMAND
public static final int MAKEALTITUDE_COMMAND
public static final int MAKEALTITUDEAGL_COMMAND
public static final int MAKEALTITUDEMSL_COMMAND
public static final int MAKECLIMBRATE_COMMAND
public static final int MAKEDEPTH_COMMAND
public static final int MAKEHEADING_COMMAND
public static final int MAKEKNOTS_COMMAND
public static final int MAKESPEED_COMMAND
public static final int MAKETURNRATE_COMMAND
public static final int META_COMMAND
public static final int MISSIONSCRIPT_COMMAND
public static final int MISSIONSCRIPTINLINE_COMMAND
public static final int MOVELATERAL_COMMAND
public static final int MOVEROTATE_COMMAND
public static final int POSITION_COMMAND_UUV
public static final int POSITION_COMMAND_UGV
public static final int POSITION_COMMAND_USV
public static final int POSITION_COMMAND_UAV
public static final int QUIT_COMMAND
public static final int REALTIME_COMMAND
public static final int SETTIME_COMMAND
public static final int SENDMESSAGE_COMMAND
public static final int SETAILERON_COMMAND
public static final int SETELEVATOR_COMMAND
public static final int SETPLANES_COMMAND
public static final int SETPOWER_COMMAND
public static final int SETPROPELLER_COMMAND
public static final int SETRUDDER_COMMAND
public static final int SETSONAR_COMMAND
public static final int SETTHRUSTER_COMMAND
public static final int SETTRACKSPEED_COMMAND
public static final int SETSTANDOFF_COMMAND
public static final int TAKESTATION_COMMAND
public static final int THRUSTERS_COMMAND
public static final int SETTIMESTEP_COMMAND
public static final int TRACE_COMMAND
public static final int WAIT_COMMAND
public static final int WAITUNTILTIME_COMMAND
public static final int WAYPOINT_COMMAND_UUV
public static final int WAYPOINT_COMMAND_UGV
public static final int WAYPOINT_COMMAND_USV
public static final int WAYPOINT_COMMAND_UAV
public static final int LOITER_COMMAND_UUV
public static final int LOITER_COMMAND_UGV
public static final int LOITER_COMMAND_USV
public static final int LOITER_COMMAND_UAV
public static final int AGENDA_GOAL
public static final int AGENDA_AVOIDAREAELEMENT
public static final int AGENDA_ROUTEELEMENT
public static final int AGENDA_LAUNCH_POSITION
public static final int AGENDA_RECOVERY_POSITION
public static final int MUNITION_LAUNCH_POSITION
public static final int MUNITION_AIM_POSITION
public static final String[] AVCL_COMMAND_NAMES
public static final int PARALLELTRACK
public static final int EXPANDINGSQUARE
public static final int SECTORPATTERN
public static final int WAYPOINTLIST
public static final int UUV
public static final int UGV
public static final int USV
public static final int UAV
public static final int MUNITION
public static final int AGENDA
public static final Color INITIAL_GOAL
public static final Color CURRENT_GOAL
public static final Color PRIOR_GOAL
public static final Color GOAL_ON_SUCCESS
public static final Color GOAL_ON_FAILURE
protected AvclHeadType head
protected AvclBodyType body
protected MissionPreparationElementType missionPreparation
protected MissionResultsElementType missionResults
protected List<SampledResultsElementType> resultsList
protected EventLogElementType telemetryEventList
protected UuvScriptCommandsType uuvCommandScript
protected UgvScriptCommandsType ugvCommandScript
protected UsvScriptCommandsType usvCommandScript
protected UavScriptCommandsType uavCommandScript
protected AgendaMissionElementType agendaMission
protected AgendaGoalListType agendaGoalList
protected AgendaConstraintListType agendaConstraintList
protected GuidedMunitionMissionElementType munitionMission
protected EventLogElementType eventLog
protected GeoOriginElementType geoOrigin
protected List<JAXBElement<?>> commandElementList
public AvclMission(Object obj)
obj - either an Integer, String, File or InputStream object used to
 determine how to load a given missionThrowablepublic AvclMission(int vehicle)
vehicle - Throwablepublic static AvclMission instance()
public XMLValidationTool getXMLValidationTool()
public JAXBContext getJAXBContext()
JAXBContext for the current AVCL mission, which is JAXB binding framework for unmarshal, marshal and validate operationsJAXBContextpublic ObjectFactory getObjectFactory()
ObjectFactorypublic JAXBIntrospector getJAXBIntrospector()
JAXBIntrospectorpublic List<SampledResultsElementType> getTelemetryList()
public List<?> getEventLog()
public final void setMissionFilename(String name)
name - the name to setpublic File getMissionFile()
public boolean isAgendaMission()
public boolean isTelemetryReplayMission()
public boolean isValidXMLDocument()
public boolean isMunitionMission()
public boolean isEditable()
public boolean isEditableAgenda()
public boolean checkMetaElements(AVCL result)
result - the AVCL to parse for meta element informationpublic int getVehicleType()
public void setVehicleType(int vehicleType)
public void marshal()
public void marshal(String outFile)
outFile - filename and path to which output is to be directedpublic void marshal(File outFile)
outFile - filename and path to which output is to be directedpublic void marshal(OutputStream stream)
stream - OutputStream to which output is to be directedpublic String marshalToString()
public void marshalNoHeader(Object fragment, String outFile)
fragment - AVCL document fragment that is to be marshaledoutFile - filename and path to which output is to be directedpublic void marshalNoHeader(Object fragment, File outFile)
fragment - AVCL document fragment that is to be marshaledoutFile - filename and path to which output is to be directedpublic void marshalNoHeader(Object fragment, OutputStream stream)
fragment - AVCL document fragment that is to be marshaledstream - OutputStream to which output is to be directedpublic void marshalNoHeader(Object fragment, PrintStream writer)
fragment - AVCL document fragment that is to be marshaledwriter - PrintStream to which output is to be directedpublic void marshalNoHeader(Object fragment, PrintWriter writer)
fragment - AVCL document fragment that is to be marshaledwriter - PrintWriter to which output is to be directedpublic JAXBElement<?> getCommandTypeElement(Object cmd)
cmd - the vehicle-specific command, either in object form or element formpublic ConfigurationElementType getConfiguration()
public UnitsOfMeasureElementType getUnitsOfMeasure()
public String getUnitsOfMeasureAngle(Object uom)
uom - (does nothing)public String getUnitsOfMeasureDistance(Object uom)
uom - (does nothing)public String getUnitsOfMeasureTime(Object uom)
uom - (does nothing)public void addAgendaGoalElement(JAXBElement<?> element)
element - element to add to the end of the element listpublic void addAgendaGoalElement(int index,
                        JAXBElement<?> element)
index - position in the Agenda Element list for the new Agenda Elementelement - element to be added at the specified location of the element listpublic void addCommandElement(JAXBElement<?> commandElement)
commandElement - command to be added (JAXBElement> type to support all possible)public void addCommandElement(int index,
                     JAXBElement<?> commandElement)
index - position in command list for new command, original and
 subsequent commands (if any) are moved to followcommandElement - command to be added (JAXBElement> type to support all possible)public void replaceCommand(int index,
                  JAXBElement<?> commandElement)
index - position in command list for replacement commandcommandElement - command to replace an existing command (JAXBElement> type to support all possible)public double getLength()
public MissionPreparationElementType getMissionPreparationElement()
public List<JAXBElement<?>> getCommandElementList()
public MunitionAimPointElementType getMunitionAimPosition()
MunitionAimPointElementTypepublic MunitionLaunchPointElementType getMunitionLaunchPosition()
MunitionLaunchPointElementTypepublic void setMunitionAimPosition(MunitionAimPointElementType obj)
obj - public void setMunitionLaunchPosition(MunitionLaunchPointElementType obj)
obj - public AgendaMissionElementType getAgendaMissionElement()
public GuidedMunitionMissionElementType getMunitionMissionElement()
public AbsoluteHorizontalPositionElementType getAgendaLaunchPosition()
public void setAgendaLaunchPosition(AbsoluteHorizontalPositionElementType ahpt)
ahpt - public AbsoluteHorizontalPositionElementType getAgendaRecoveryPosition()
public void setAgendaRecoveryPosition(AbsoluteHorizontalPositionElementType ahpt)
ahpt - public AgendaGoalListType getAgendaGoals()
public List<AgendaGoalElementType> getAgendaGoalList()
public AgendaConstraintListType getAgendaConstraintList()
AgendaConstraintListType object reference to the constraints element of the strategic-level agenda mission goalspublic List<AreaElementType> getAgendaConstraintListAvoidAreas()
public RouteElementType getAgendaConstraintsIngressRouting()
RouteElementTypepublic RouteElementType getAgendaConstraintsEgressRouting()
RouteElementTypepublic int getCommandListSize()
public JAXBElement<?> getCommandElement(int index)
index - index to the command that is to be retrievedpublic Object removeCommand(int index)
index - an index of the command that is to be removedpublic Object removeAgendaElement(int index)
index - an index of the element that is to be removedpublic JAXBElement<?> copyCommandElement(int index)
index - an index of the command that is to be copiedpublic AgendaGoalElementType getAgendaGoal(int index)
index - of goal in agendaGoalListAgendaGoalElementTypepublic AreaElementType getAgendaAvoidArea(int index)
index - of avoidance area in agendaConstraintListAreaElementTypepublic void addAgendaAvoidArea(AreaElementType obj)
public void addAgendaAvoidArea(int index,
                      AreaElementType avoidArea)
index - of new avoidance area to add to agendaConstraintListavoidArea - new AreaElementType AvoidArea element to addpublic void addAgendaAvoidAreaElement(int index,
                             JAXBElement<?> element)
index - position in the Agenda Element list for the new Agenda Elementelement - element to be added at the specified location of the element listpublic void addAgendaGoal(AgendaGoalElementType aget)
public void addAgendaGoal(int index,
                 AgendaGoalElementType aget)
index - index of goal of interestaget - AgendaGoalElementTypepublic void addAgendaRecoveryPosition(Object obj)
obj - recovery positionpublic void addAgendaLaunchPosition(Object obj)
obj - public void removeAgendaLaunchPosition()
public void removeAgendaRecoveryPosition()
public void removeAgendaGoal(int index)
index - of AgendaGoalElementType goal to remove from listpublic void removeAgendaAvoidArea(int index)
index - of AreaElementType avoidance area to remove from listpublic void removeMunitionElement(int index)
index - public void addMunitionLaunchPosition(Object obj)
obj - public void addMunitionAimPosition(Object obj)
obj - public int commandType(int index)
public String getVehicleNameParameter()
public String getVehicleTypeParameter()
public int getVehicleIDParameter()
public void setVehicleNameParameter(String newName)
newName - public void setVehicleIDParameter(int id)
id - public void createHeadElement()
public void createMetaElement(String name, String content)
name - of the meta elementcontent - of the meta elementpublic void clearMetaElements()
public List<MetaType> getMetaElementList()
public static String getMetaElementName(JAXBElement<?> meta)
meta - tag for which the name attribute is being returnedpublic static String getMetaElementContent(JAXBElement<?> meta)
meta - tag for which the content attribute is being returnedpublic static String getMetaElementDescription(JAXBElement<?> meta)
meta - tag for which the content attribute is being returnedpublic static DateTimeGroupElementType createCurrentDateTimeGroupElement(String description)
description - descriptionpublic void setVehicleType(String vehicleType)
vehicleType - vehicle typepublic void createGeoOrigin(double latitude,
                   double longitude,
                   double radius,
                   String description)
latitude - in the range of [-90, 90] with negative latitudes being in the southern hemispherelongitude - in the range of [-180, 180] with negative longitudes being in the western hemisphereradius - the radius around the origin with which the mission is concerneddescription - to be assigned to the GeoOrigin elementpublic GeoOriginElementType getGeoOrigin()
public static double getGeoOriginLatitude(GeoOriginElementType go)
go - the GeoOrigin element whose latitude is to be determinedpublic static double getGeoOriginLongitude(GeoOriginElementType go)
go - the GeoOrigin element whose longitude is to be determinedpublic static double getGeoOriginRadius(GeoOriginElementType go)
go - the GeoOrigin element whose radius is to be determinedpublic void setGeoOriginLongitude(double newLongitude)
newLongitude - the new longitude for the GeoOriginpublic void setMissionOffsetDelta(String northing, String easting)
northing - the offset along the Z (GeoLocation) axiseasting - the offset along the X (GeoLocation) axispublic void setGeoOriginLatitude(double newLatitude)
newLatitude - the new latitude for the GeoOriginpublic void setGeoOriginRadius(double newRadius)
newRadius - the new radius for the GeoOriginpublic void clearCommandList()
public void clearGeoOrigin()
public void addSampledResult(SampledResultsElementType newResult)
newResult - sampled result element to be addedpublic static SampledResultsElementType createSampledResultElement(double time, String description)
time - SampledResult element timestampdescription - descriptionpublic static double getSampledResultTime(SampledResultsElementType result)
result - the sampled result element object to be timestampedpublic static String getSampledResultDescription(SampledResultsElementType result)
result - the sampled result element object to be timestampedpublic static void setSampledResultTime(SampledResultsElementType result, double time)
result - the sampled result element object to be timestampedtime - value for the timestamppublic static void setSampledResultDescription(SampledResultsElementType result, String description)
result - the sampled result element object to be timestampeddescription - value for the description attributepublic static int commandType(Object command)
command - AVCL object being identified, either as JAXBElement or as an directly typed objectpublic static boolean isPartialControlCommand(JAXBElement<?> commandElement)
commandElement - public static boolean isTerminatingCommand(JAXBElement<?> commandElement)
commandElement - AVCL command to be testedpublic static boolean isPlottable(int cmdType)
cmdType - an enumeration of a command typepublic static String getDescription(Object element)
element - the JAXBElement to parsepublic static void setTimeStamp(Object element, double newValue)
element - the JAXBElement node to set a timeStamp tonewValue - the value of the timeStamp formatted to one decimal placepublic static double getTimeStamp(Object element)
element - the JAXBElement element containing a timeStamp valuepublic void generateUgvConfigurationElement()
public void generateUsvConfigurationElement()
public void generateUavConfigurationElement()
public void generateMunitionConfigurationElement()
public void generateAgendaConfigurationElement()
public static Object createVehicleCharacteristicsElement(int vehicleType)
vehicleType - public void generateEventLog()
public void clearEventLog()
public void logEvent(Object event)
event - public static int getVehicleNumCapabilities(Object charEl)
charEl - public static Object getVehicleCapability(Object charEl, int index)
charEl - index - public static Object removeVehicleCapability(Object charEl, int index)
charEl - index - public static void addVehicleCapability(Object charEl, String capability)
charEl - capability - public AVCL getMissionJaxb()
public void setMissionJaxb(AVCL missionJaxb)
missionJaxb - the missionJaxb to setpublic boolean isValid()
public void setValid(boolean valid)
valid - missionJaxb validity