gov.nasa.arc.brahms.vm.rt
Class VMVariableCtx

java.lang.Object
  extended by gov.nasa.arc.brahms.common.rt.BrahmsObjectCtx
      extended by gov.nasa.arc.brahms.common.rt.VariableCtx
          extended by gov.nasa.arc.brahms.vm.rt.VMVariableCtx
All Implemented Interfaces:
IBrahmsObjectCtx, IRuntimeConstants, IVariableCtx, java.io.Serializable

public class VMVariableCtx
extends VariableCtx

The VMVariableCtx maintains information regarding the binding of a variable defined for a frame and bound in a frame context. The binding of a variable can be one or more values depending on the type of variable and depending on the binding of the variable in a precondition or activity.

Version:
7 January 2004
Author:
Ron van Hoof
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface gov.nasa.arc.brahms.common.rt.IRuntimeConstants
ABORTED, ACTIVE, ACTIVITY, AVAILABLE, COMPLETED, CONSEQUENCE, DETECTABLE, ENDED, ENGINE, EXTERNAL_AGENT, FROM, IMPASSED, INITIAL, INTERRUPTED, JAVA_PROPERTY, sABORTED, sACTIVE, sAVAILABLE, sCOMPLETED, sENDED, sIMPASSED, sINTERRUPTED, sUNAVAILABLE, TO, TRANSFER, UNAVAILABLE
 
Constructor Summary
VMVariableCtx(Variable var)
          Constructor, creates a new context for a variable bound in a specific frame context.
VMVariableCtx(Variable var, FrameCtx frame)
          Constructor, creates a new context for a variable bound in a specific frame context.
 
Method Summary
 
Methods inherited from class gov.nasa.arc.brahms.common.rt.VariableCtx
addBinding, addBinding, addBinding, addBinding, addBinding, addBinding, addBinding, addBinding, addBinding, addBinding, addBinding, addBinding, addBinding, addJavaBinding, clearBinding, getBinding, getBindingElement, getBindingFrame, hasBinding, isBound, removeBinding, setBindingElement, setBindingFrame, setBound
 
Methods inherited from class gov.nasa.arc.brahms.common.rt.BrahmsObjectCtx
addNote, getContextFor, getEndTime, getID, getNote, getNotes, getStartTime, removeNote, setContextFor, setEndTime, setID, setStartTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.nasa.arc.brahms.common.rt.IBrahmsObjectCtx
addNote, getContextFor, getEndTime, getID, getNote, getNotes, getStartTime, removeNote, setEndTime, setID, setStartTime
 

Constructor Detail

VMVariableCtx

public VMVariableCtx(Variable var)
              throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
Constructor, creates a new context for a variable bound in a specific frame context. Initially the variable is unbound, meaning no values are bound to the variable.

Parameters:
var - the variable for which this variable context is the context
Throws:
gov.nasa.arc.brahms.common.exceptions.BrahmsException - if an internal error occurs

VMVariableCtx

public VMVariableCtx(Variable var,
                     FrameCtx frame)
              throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
Constructor, creates a new context for a variable bound in a specific frame context. Initially the variable is unbound, meaning no values are bound to the variable.

Parameters:
var - the variable for which this variable context is the context
frame - the frame context in which the variable is bound
Throws:
gov.nasa.arc.brahms.common.exceptions.BrahmsException - if frame is null


Copyright © 1997-2012 All Rights Reserved.