Exemplo n.º 1
0
/*
 * Select any where using referential/identifying attribute set.
 * If not_empty, relate this instance to the selected instance.
 */
void ooaofooa_TE_SMT_batch_relate( Escher_iHandle_t instance )
{
  ooaofooa_TE_SMT * ooaofooa_TE_SMT_instance = (ooaofooa_TE_SMT *) instance;
  ooaofooa_ACT_SMT * ooaofooa_ACT_SMTrelated_instance1 = (ooaofooa_ACT_SMT *) Escher_instance_cache[ (intptr_t) ooaofooa_TE_SMT_instance->Statement_ID ];
  if ( ooaofooa_ACT_SMTrelated_instance1 ) {
    ooaofooa_TE_SMT_R2038_Link( ooaofooa_ACT_SMTrelated_instance1, ooaofooa_TE_SMT_instance );
  }
  {
  ooaofooa_TE_SMT * ooaofooa_TE_SMTrelated_instance1 = ooaofooa_TE_SMT_AnyWhere1( ooaofooa_TE_SMT_instance->next_Statement_ID );
  if ( ooaofooa_TE_SMTrelated_instance1 ) {
    ooaofooa_TE_SMT_R2012_Link_precedes( ooaofooa_TE_SMTrelated_instance1, ooaofooa_TE_SMT_instance );
  }
  }
  {
  ooaofooa_TE_BLK * ooaofooa_TE_BLKrelated_instance1 = ooaofooa_TE_BLK_AnyWhere1( ooaofooa_TE_SMT_instance->sub_Block_ID );
  if ( ooaofooa_TE_BLKrelated_instance1 ) {
    ooaofooa_TE_SMT_R2015_Link( ooaofooa_TE_BLKrelated_instance1, ooaofooa_TE_SMT_instance );
  }
  }
  {
  ooaofooa_TE_BLK * ooaofooa_TE_BLKrelated_instance1 = ooaofooa_TE_BLK_AnyWhere1( ooaofooa_TE_SMT_instance->parent_Block_ID );
  if ( ooaofooa_TE_BLKrelated_instance1 ) {
    ooaofooa_TE_SMT_R2078_Link_has( ooaofooa_TE_BLKrelated_instance1, ooaofooa_TE_SMT_instance );
  }
  }
}
/*
 * Select any where using referential/identifying attribute set.
 * If not_empty, relate this instance to the selected instance.
 */
void ooaofooa_TE_EVENT_PARAMETERS_batch_relate( Escher_iHandle_t instance )
{
  ooaofooa_TE_EVENT_PARAMETERS * ooaofooa_TE_EVENT_PARAMETERS_instance = (ooaofooa_TE_EVENT_PARAMETERS *) instance;
  ooaofooa_TE_SMT * ooaofooa_TE_SMTrelated_instance1 = ooaofooa_TE_SMT_AnyWhere1( ooaofooa_TE_EVENT_PARAMETERS_instance->Statement_ID );
  if ( ooaofooa_TE_SMTrelated_instance1 ) {
    ooaofooa_TE_EVENT_PARAMETERS_R2069_Link( ooaofooa_TE_SMTrelated_instance1, ooaofooa_TE_EVENT_PARAMETERS_instance );
  }
}
/*
 * Select any where using referential/identifying attribute set.
 * If not_empty, relate this instance to the selected instance.
 */
void ooaofooa_TE_DELETE_INSTANCE_batch_relate( Escher_iHandle_t instance )
{
  ooaofooa_TE_DELETE_INSTANCE * ooaofooa_TE_DELETE_INSTANCE_instance = (ooaofooa_TE_DELETE_INSTANCE *) instance;
  ooaofooa_TE_SMT * ooaofooa_TE_SMTrelated_instance1 = ooaofooa_TE_SMT_AnyWhere1( ooaofooa_TE_DELETE_INSTANCE_instance->Statement_ID );
  if ( ooaofooa_TE_SMTrelated_instance1 ) {
    ooaofooa_TE_DELETE_INSTANCE_R2069_Link( ooaofooa_TE_SMTrelated_instance1, ooaofooa_TE_DELETE_INSTANCE_instance );
  }
}
Exemplo n.º 4
0
/*
 * Select any where using referential/identifying attribute set.
 * If not_empty, relate this instance to the selected instance.
 */
void ooaofooa_TE_CONTROL_batch_relate( Escher_iHandle_t instance )
{
  ooaofooa_TE_CONTROL * ooaofooa_TE_CONTROL_instance = (ooaofooa_TE_CONTROL *) instance;
  ooaofooa_TE_SMT * ooaofooa_TE_SMTrelated_instance1 = ooaofooa_TE_SMT_AnyWhere1( ooaofooa_TE_CONTROL_instance->Statement_ID );
  if ( ooaofooa_TE_SMTrelated_instance1 ) {
    ooaofooa_TE_CONTROL_R2069_Link( ooaofooa_TE_SMTrelated_instance1, ooaofooa_TE_CONTROL_instance );
  }
}
/*
 * Select any where using referential/identifying attribute set.
 * If not_empty, relate this instance to the selected instance.
 */
void ooaofooa_TE_GENERATE_CREATOR_EVENT_batch_relate( Escher_iHandle_t instance )
{
  ooaofooa_TE_GENERATE_CREATOR_EVENT * ooaofooa_TE_GENERATE_CREATOR_EVENT_instance = (ooaofooa_TE_GENERATE_CREATOR_EVENT *) instance;
  ooaofooa_TE_SMT * ooaofooa_TE_SMTrelated_instance1 = ooaofooa_TE_SMT_AnyWhere1( ooaofooa_TE_GENERATE_CREATOR_EVENT_instance->Statement_ID );
  if ( ooaofooa_TE_SMTrelated_instance1 ) {
    ooaofooa_TE_GENERATE_CREATOR_EVENT_R2069_Link( ooaofooa_TE_SMTrelated_instance1, ooaofooa_TE_GENERATE_CREATOR_EVENT_instance );
  }
}
/*
 * Select any where using referential/identifying attribute set.
 * If not_empty, relate this instance to the selected instance.
 */
void ooaofooa_TE_SELECT_RELATED_batch_relate( Escher_iHandle_t instance )
{
  ooaofooa_TE_SELECT_RELATED * ooaofooa_TE_SELECT_RELATED_instance = (ooaofooa_TE_SELECT_RELATED *) instance;
  ooaofooa_TE_CLASS * ooaofooa_TE_CLASSrelated_instance1 = (ooaofooa_TE_CLASS *) Escher_instance_cache[ (intptr_t) ooaofooa_TE_SELECT_RELATED_instance->te_classGeneratedName ];
  if ( ooaofooa_TE_CLASSrelated_instance1 ) {
    ooaofooa_TE_SELECT_RELATED_R2077_Link( ooaofooa_TE_CLASSrelated_instance1, ooaofooa_TE_SELECT_RELATED_instance );
  }
  {
  ooaofooa_TE_VAR * ooaofooa_TE_VARrelated_instance1 = ooaofooa_TE_VAR_AnyWhere1( ooaofooa_TE_SELECT_RELATED_instance->result_Var_ID );
  if ( ooaofooa_TE_VARrelated_instance1 ) {
    ooaofooa_TE_SELECT_RELATED_R2093_Link_gets_result_of( ooaofooa_TE_VARrelated_instance1, ooaofooa_TE_SELECT_RELATED_instance );
  }
  }
  {
  ooaofooa_TE_VAR * ooaofooa_TE_VARrelated_instance1 = ooaofooa_TE_VAR_AnyWhere1( ooaofooa_TE_SELECT_RELATED_instance->starting_Var_ID );
  if ( ooaofooa_TE_VARrelated_instance1 ) {
    ooaofooa_TE_SELECT_RELATED_R2094_Link_holds_start_of( ooaofooa_TE_VARrelated_instance1, ooaofooa_TE_SELECT_RELATED_instance );
  }
  }
  {
  ooaofooa_TE_VAL * ooaofooa_TE_VALrelated_instance1 = ooaofooa_TE_VAL_AnyWhere1( ooaofooa_TE_SELECT_RELATED_instance->starting_Value_ID );
  if ( ooaofooa_TE_VALrelated_instance1 ) {
    ooaofooa_TE_SELECT_RELATED_R2070_Link_starts( ooaofooa_TE_VALrelated_instance1, ooaofooa_TE_SELECT_RELATED_instance );
  }
  }
  {
  ooaofooa_TE_VAL * ooaofooa_TE_VALrelated_instance1 = ooaofooa_TE_VAL_AnyWhere1( ooaofooa_TE_SELECT_RELATED_instance->where_clause_Value_ID );
  if ( ooaofooa_TE_VALrelated_instance1 ) {
    ooaofooa_TE_SELECT_RELATED_R2074_Link_filters( ooaofooa_TE_VALrelated_instance1, ooaofooa_TE_SELECT_RELATED_instance );
  }
  }
  {
  ooaofooa_TE_SMT * ooaofooa_TE_SMTrelated_instance1 = ooaofooa_TE_SMT_AnyWhere1( ooaofooa_TE_SELECT_RELATED_instance->Statement_ID );
  if ( ooaofooa_TE_SMTrelated_instance1 ) {
    ooaofooa_TE_SELECT_RELATED_R2069_Link( ooaofooa_TE_SMTrelated_instance1, ooaofooa_TE_SELECT_RELATED_instance );
  }
  }
  {
  ooaofooa_TE_LNK * ooaofooa_TE_LNKrelated_instance1 = (ooaofooa_TE_LNK *) Escher_instance_cache[ (intptr_t) ooaofooa_TE_SELECT_RELATED_instance->link_ID ];
  if ( ooaofooa_TE_LNKrelated_instance1 ) {
    ooaofooa_TE_SELECT_RELATED_R2073_Link( ooaofooa_TE_LNKrelated_instance1, ooaofooa_TE_SELECT_RELATED_instance );
  }
  }
}