|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDeleteCtx
The IDeleteCtx is the interface for delete contexts defining the context for an executed delete operation. It defines the delete operation that was executed, what frame executed the operation and defines what element(s) was/were marked for deletion.
| Method Summary | |
|---|---|
void |
addDeletedElement(java.lang.Object elm)
Adds the specified element (agent, object, conceptual object, or monitored Java object) as an element marked for deletion. |
java.util.List<java.lang.Object> |
getDeletedElements()
Returns a list of all the elements deleted by this delete operation. |
IFrameCtx |
getParent()
Returns the parent frame context in which this delete operation was executed. |
IVariableCtx |
getUsedVariable()
Returns the variable used by this delete operation. |
boolean |
hasDeletedElements()
Indicates whether the context has any deleted elements in its list. |
void |
removeDeletedElement(java.lang.Object elm)
Removes the specified element (agent, object, conceptual object, or monitored Java object) as an element marked for deletion. |
void |
setParent(IFrameCtx parent)
Sets the parent frame context in which this delete operation was executed. |
void |
setUsedVariable(IVariableCtx var)
Sets the specified variable as a variable used by this delete operation. |
| 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 setParent(IFrameCtx parent)
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
parent - the IFrameCtx
gov.nasa.arc.brahms.common.exceptions.BrahmsException - if a null parent is specified
IFrameCtx getParent()
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
gov.nasa.arc.brahms.common.exceptions.BrahmsException - if no parent is specified
void addDeletedElement(java.lang.Object elm)
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
elm - the element to be added
gov.nasa.arc.brahms.common.exceptions.BrahmsException - if elm is null
void removeDeletedElement(java.lang.Object elm)
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
elm - the element to be removed
gov.nasa.arc.brahms.common.exceptions.BrahmsException - if elm is null, no elements
are present, or the element is not found
java.util.List<java.lang.Object> getDeletedElements()
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
boolean hasDeletedElements()
void setUsedVariable(IVariableCtx var)
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
var - the variable (IVariableCtx)
gov.nasa.arc.brahms.common.exceptions.BrahmsException - if var is null
IVariableCtx getUsedVariable()
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
gov.nasa.arc.brahms.common.exceptions.BrahmsException - if no variable was used
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||