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'

