|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.nasa.arc.brahms.common.rt.BrahmsObjectCtx gov.nasa.arc.brahms.common.rt.ContainedInstanceCtx
public class ContainedInstanceCtx
The ContainedInstanceCtx is the context managing a reference to an active instance that is contained by another active instance. The contained instance context defines when an active instance got contained by another active instance (start time) and when the contained active instance was disassociated with the carrying active instance. The reference to the active instance is defined through an active instance context.
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 | |
---|---|
ContainedInstanceCtx(IActiveInstanceCtx container,
IActiveInstanceCtx ci)
Constructor, creates a new ContainedInstanceCtx |
Method Summary | |
---|---|
IActiveInstanceCtx |
getContainedInstance()
Returns the contained instance contained by the container |
IActiveInstanceCtx |
getContainer()
Returns the container containing the contained instance |
void |
setContainedInstance(IActiveInstanceCtx containedInstance)
Sets the contained instance contained by the container |
void |
setContainer(IActiveInstanceCtx container)
Sets the container containing the contained instance |
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 |
Constructor Detail |
---|
public ContainedInstanceCtx(IActiveInstanceCtx container, IActiveInstanceCtx ci) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
container
- the active instance containing the active instanceci
- the active instance contained by the container
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if container or active instance are nullMethod Detail |
---|
public void setContainer(IActiveInstanceCtx container) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
container
- the IActiveInstanceCtx being the container
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if a null container is specifiedpublic IActiveInstanceCtx getContainer() throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if no container is specifiedpublic void setContainedInstance(IActiveInstanceCtx containedInstance) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
containedInstance
- the IActiveInstanceCtx being the contained instance
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if a null contained instance is specifiedpublic IActiveInstanceCtx getContainedInstance() throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if no contained instance is specified
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |