|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IStatementCtx
The IStatementCtx is the interface for statement context that define a context for a Statement defining the source of the statement, the element that created the statement. The source of a statement can be a concept due to the definition of initial statements, a consequence, a detectable, a transfer definition, an activity (actually the engine core that generates statements based on the activities executed), or just the engine core (reflection statements).
| Method Summary | |
|---|---|
IBrahmsObjectCtx |
getSource()
Returns the source of the statement, no source is specified for reflection statements generated by the engine (source type == ENGINE). |
int |
getSourceType()
Returns the type of the source of this statement |
void |
setSource(IBrahmsObjectCtx source)
Sets the source of the statement, no source is specified for reflection statements generated by the engine (source type == ENGINE). |
void |
setSourceType(int type)
Sets the type of the source of this statement |
| Methods inherited from interface gov.nasa.arc.brahms.common.rt.IBrahmsObjectCtx |
|---|
addNote, getContextFor, getEndTime, getID, getNote, getNotes, getStartTime, removeNote, setEndTime, setID, setStartTime |
| Method Detail |
|---|
void setSourceType(int type)
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
type - the source type
gov.nasa.arc.brahms.common.exceptions.BrahmsException - if an invalid source type is specifiedIRuntimeConstants.INITIAL,
IRuntimeConstants.CONSEQUENCE,
IRuntimeConstants.DETECTABLE,
IRuntimeConstants.TRANSFER,
IRuntimeConstants.ACTIVITY,
IRuntimeConstants.ENGINE
int getSourceType()
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
gov.nasa.arc.brahms.common.exceptions.BrahmsException - if no source type is specifiedIRuntimeConstants.INITIAL,
IRuntimeConstants.CONSEQUENCE,
IRuntimeConstants.DETECTABLE,
IRuntimeConstants.TRANSFER,
IRuntimeConstants.ACTIVITY,
IRuntimeConstants.ENGINE
void setSource(IBrahmsObjectCtx source)
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
source - the IBrahmsObjectCtx causing the creation of the statement
gov.nasa.arc.brahms.common.exceptions.BrahmsException - if a null source is specified
IBrahmsObjectCtx getSource()
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
gov.nasa.arc.brahms.common.exceptions.BrahmsException - if no source is specifiedsetSource(gov.nasa.arc.brahms.common.rt.IBrahmsObjectCtx)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||