gAskAncestorMessage-class      package:MVCClass      R Documentation

_C_l_a_s_s "_g_A_s_k_A_n_c_e_s_t_o_r_M_e_s_s_a_g_e": _A _c_l_a_s_s _t_o _r_e_p_r_e_s_e_n_t _a _q_u_e_s_t_i_o_n _a_s_k_i_n_g _f_o_r
_d_a_t_a _f_r_o_m _a_n _a_n_c_e_s_t_o_r _m_o_d_e_l

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 
     'new("gAskAncestorMessage", ...)'.

_S_l_o_t_s:

     '_t_y_p_e': which model type to look for as an ancestor (this is a
          character string naming the class)

     '_m_D_a_t_a': the data that is being requested 

     '_f_r_o_m': the MVC that asked the question 

_E_x_t_e_n_d_s:

     Class '"gMessage"', directly.

_M_e_t_h_o_d_s:

     _f_r_o_m<- Sets the 'from' slot 

     _f_r_o_m Returns the 'from' slot 

     _m_D_a_t_a<- Sets the 'mData' slot 

     _m_D_a_t_a Returns the 'mData' slot 

     _t_y_p_e<- Sets the 'type' slot 

     _t_y_p_e Returns the 'type' slot 

_N_o_t_e:

     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.

_A_u_t_h_o_r(_s):

     Elizabeth Whalen

_S_e_e _A_l_s_o:

     'gMessage-class'

_E_x_a_m_p_l_e_s:

