anchor.diff:      switch ( (<%= repository.imit.qualified_graph_enum_name %>) descriptor.getGraph() )
       {
   <% repository.imit.graphs.each do |graph| -%>
  +<% entity = graph.instance_root? ? repository.entity_by_name(graph.instance_root) : nil -%>
         case <%= Reality::Naming.uppercase_constantize(graph.name) %>:
  -        fireEvent( new <%= graph.subscribe_completed_message.ee.qualified_name %>(<% if graph.instance_root? -%> getRepository().getByID( <%= repository.entity_by_name(graph.instance_root).imit.qualified_name %>.class, (<%= repository.entity_by_name(graph.instance_root).primary_key.imit.java_type %>)  descriptor.getID() ) <% end %>) );
  +        fireEvent( new <%= graph.subscribe_completed_message.ee.qualified_name %>(<% if graph.instance_root? -%> getRepository().<%= Reality::Naming.camelize(entity.data_module.name) %>().<%= Reality::Naming.camelize(entity.dao.name) %>().getBy<%= entity.primary_key.name %>( (<%= entity.primary_key.imit.java_type %>)  descriptor.getID() ) <% end %>) );
           break;
   <% end -%>
       }
  
positive.code:     switch ( (<%= repository.imit.qualified_graph_enum_name %>) descriptor.getGraph() )
      {
  <% repository.imit.graphs.select{|g|!g.filter_parameter.nil? && !g.filter_parameter.immutable? }.each do |graph| -%>
        case <%= Reality::Naming.uppercase_constantize(graph.name) %>:
          fireEvent( new <%= graph.update_completed_message.ee.qualified_name %>(<% if graph.instance_root? -%> getRepository().getByID( <%= repository.entity_by_name(graph.instance_root).imit.qualified_name %>.class, (<%= repository.entity_by_name(graph.instance_root).primary_key.imit.java_type %>)  descriptor.getID() ) <% end %>) );
          break;
  <% end -%>
      }
  
negative.code:     switch ( (<%= repository.imit.qualified_graph_enum_name %>) descriptor.getGraph() )
      {
  <% repository.imit.graphs.select{|g|!g.filter_parameter.nil? && !g.filter_parameter.immutable? }.each do |graph| -%>
  <% entity = graph.instance_root? ? repository.entity_by_name(graph.instance_root) : nil -%>
        case <%= Reality::Naming.uppercase_constantize(graph.name) %>:
          fireEvent( new <%= graph.update_failed_message.ee.qualified_name %>(<% if graph.instance_root? -%> getRepository().<%= Reality::Naming.camelize(entity.data_module.name) %>().<%= Reality::Naming.camelize(entity.dao.name) %>().getBy<%= entity.primary_key.name %>( (<%= entity.primary_key.imit.java_type %>)  descriptor.getID() ),<% end %> throwable ) );
          break;
  <% end -%>
      }
  