gov.nasa.arc.brahms.common.rt
Interface IBeliefCtx

All Superinterfaces:
IBrahmsObjectCtx, IStatementCtx
All Known Implementing Classes:
BeliefCtx, VMBeliefCtx

public interface IBeliefCtx
extends IStatementCtx

The IBeliefCtx is the interface for belief contexts that maintain information about a belief created for an active instance. The belief context defines when the belief is created and what created the belief.

Version:
8 November 1999
Author:
Ron van Hoof

Method Summary
 IActiveInstanceCtx getOwner()
          Returns the owner of the belief
 void setOwner(IActiveInstanceCtx owner)
          Sets the owner of the belief
 
Methods inherited from interface gov.nasa.arc.brahms.common.rt.IStatementCtx
getSource, getSourceType, setSource, setSourceType
 
Methods inherited from interface gov.nasa.arc.brahms.common.rt.IBrahmsObjectCtx
addNote, getContextFor, getEndTime, getID, getNote, getNotes, getStartTime, removeNote, setEndTime, setID, setStartTime
 

Method Detail

setOwner

void setOwner(IActiveInstanceCtx owner)
              throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
Sets the owner of the belief

Parameters:
owner - the active instance having the belief
Throws:
gov.nasa.arc.brahms.common.exceptions.BrahmsException - if an error occurs in setting the owner

getOwner

IActiveInstanceCtx getOwner()
                            throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
Returns the owner of the belief

Returns:
IActiveInstanceCtx the active instance having the belief
Throws:
gov.nasa.arc.brahms.common.exceptions.BrahmsException - if no owner is specified


Copyright © 1997-2012 All Rights Reserved.