Boeing Simulation 3.1 API Specification

mission
Class BasicMission

java.lang.Object
  |
  +--mission.BasicMission
All Implemented Interfaces:
Mission, Serializable

public class BasicMission
extends Object
implements Mission, Serializable

A basic implementation of the Mission interface.

Version:
$Revision: 1.4 $
Author:
Dave Jurgens
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
private  List targets
          The list of objects.
private  List units
          The list of objects.
 
Constructor Summary
BasicMission(List targets, List units)
           
 
Method Summary
 List getTargets()
          Return the List of all the targets.
 List getUnits()
          Return the List of all units currently involved in this mission.
protected  String printList(List list)
          Return a String of the items in the list, separated by commas.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

targets

private final List targets
The list of objects.


units

private final List units
The list of objects.

Constructor Detail

BasicMission

public BasicMission(List targets,
                    List units)
Method Detail

getTargets

public List getTargets()
Description copied from interface: Mission
Return the List of all the targets. Targets are inferred to be execute in fifo order, with the first target being the first in the list and so on.

Specified by:
getTargets in interface Mission

getUnits

public List getUnits()
Description copied from interface: Mission
Return the List of all units currently involved in this mission. It is inferred that all units are to interact with all targets, though the behavior upon contact will differ due to the unit's nature.

Specified by:
getUnits in interface Mission

toString

public String toString()
Overrides:
toString in class Object

printList

protected String printList(List list)
Return a String of the items in the list, separated by commas.


Boeing Simulation 3.1 API Specification

To submit a bug or feature email the author of that class. Funding for this research was provided by Boeing and DARPA.