Description Objects from the Class Slots Extends Methods Note Author(s) See Also
gAskAncestorMessage is a class to ask for model data from an ancestor model (MVC). For example, if a user wants to create a child model, but needs data from both its parent and its grandparent model. Then when the parent model creates the new child model it would ask its parent (the grandparent of the new child model) for data using this class.
A specific example is if the original model contains microarray expression data and a child model of this model is the GO graph. Then if the user wants to look at the expression data of only genes annotated at a particular node, a child model can be created from the GO graph, but this new child model also needs data from the original model (its grandparent). Thus, when the GO graph creates a child model it needs to ask its parent for the expression data.
Objects can be created by calls of the form
new("gAskAncestorMessage", ...)
.
type
:which model type to look for as an ancestor (this is a character string naming the class)
mData
:the data that is being requested
from
:the MVC that asked the question
Class "gMessage"
, directly.
Sets the from
slot
Returns the from
slot
Sets the mData
slot
Returns the mData
slot
Sets the type
slot
Returns the type
slot
Even though this class is used to ask for information from an ancestor, each model (MVC) has only parent. This is important when considering how data sets are linked.
Elizabeth Whalen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.