gov.nasa.arc.brahms.common.rt
Class AssignmentCtx
java.lang.Object
gov.nasa.arc.brahms.common.rt.BrahmsObjectCtx
gov.nasa.arc.brahms.common.rt.AssignmentCtx
- All Implemented Interfaces:
- IAssignmentCtx, IBrahmsObjectCtx, IRuntimeConstants, java.io.Serializable
- Direct Known Subclasses:
- VMAssignmentCtx
public class AssignmentCtx
- extends BrahmsObjectCtx
- implements IAssignmentCtx
The AssignmentCtx is the context for an executed assignment operation. It
defines the assignment operation that was executed, what frame
executed the operation.
- Version:
- $Revision: 1.1 $ $Date: 2009/11/23 18:43:07 $ $Author: rnado $
- Author:
- Bob Nado
- See Also:
- Serialized Form
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 |
AssignmentCtx(Assignment assignment)
Constructor, creates a new assignment context for the specified
assignment operation. |
Method Summary |
IFrameCtx |
getParent()
Returns the parent frame context in which this assignment operation
was executed. |
void |
setParent(IFrameCtx parent)
Sets the parent frame context in which this assignment operation was
executed. |
java.lang.String |
toString()
Returns the string representation of the assignment context,
returning the id and the assignment itself. |
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, 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 |
AssignmentCtx
public AssignmentCtx(Assignment assignment)
- Constructor, creates a new assignment context for the specified
assignment operation.
- Parameters:
assignment
- the executed Assignment operation for which this context is the context
setParent
public void setParent(IFrameCtx parent)
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
- Sets the parent frame context in which this assignment operation was
executed.
- Specified by:
setParent
in interface IAssignmentCtx
- Parameters:
parent
- the IFrameCtx
- Throws:
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if a null parent is specified
getParent
public IFrameCtx getParent()
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
- Returns the parent frame context in which this assignment operation
was executed.
- Specified by:
getParent
in interface IAssignmentCtx
- Returns:
- IFrameCtx the parent frame
- Throws:
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if no parent is specified
toString
public java.lang.String toString()
- Returns the string representation of the assignment context,
returning the id and the assignment itself.
- Overrides:
toString
in class java.lang.Object
- Returns:
- String the string representation of the assignment context
Copyright © 1997-2012 All Rights Reserved.