|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.ground.GroundNode
public class GroundNode
GroundNode is essentially a RouteNode designed for use in the ground-based simulator. Despite implementing java.io.Serializable, this class cannot be serialized.
| Field Summary | |
|---|---|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID. |
private GroundFix |
fix
|
private SimEventActionOnAircraft |
routeNodeAction
SimEvent action to be executed by aircraft at this RouteNode. |
(package private) static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
GroundNode(GroundFix aFix)
Constructs a GroundNode that encapsulates the given GroundFix. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
|
void |
executeAction(Aircraft aircraft)
Tries to execute the action contained by this node on the aircraft provided. |
GroundFix |
getFix()
|
java.lang.String |
getName()
Returns the name of the fix associated with this node. |
java.lang.String |
getNodeInfo()
Returns a string with the name of a node and any actions or restrictions in brackets |
int |
hashCode()
|
boolean |
hasRouteNodeAction()
Returns true if this RouteNode has a route node action, false if not. |
private java.lang.Object |
readResolve()
|
void |
setRouteNodeAction(SimEventActionOnAircraft newRouteNodeAction)
Sets the routeNodeAction associated with this RouteNode. |
(package private) GroundNode |
split(Manager<GroundFix> manager)
|
private void |
writeObject(java.io.ObjectOutputStream out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
private SimEventActionOnAircraft routeNodeAction
private final GroundFix fix
| Constructor Detail |
|---|
public GroundNode(GroundFix aFix)
aFix - the GroundFix this node represents| Method Detail |
|---|
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOException
private java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic GroundFix getFix()
public java.lang.String getNodeInfo()
public void setRouteNodeAction(SimEventActionOnAircraft newRouteNodeAction)
newRouteNodeAction - Action to be executed at this RouteNode.public java.lang.String getName()
getName in interface ManagedObject
public void executeAction(Aircraft aircraft)
throws ExecutionException
aircraft, - what to instruct.
faa.tg.simevent.action.ExecutionExeception
ExecutionExceptionpublic boolean hasRouteNodeAction()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.ObjectGroundNode split(Manager<GroundFix> manager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||