anchor.diff:  <% if entity.extends.nil? %>
     protected final boolean isCreated()
     {
  -    return _created;
  +    return _$created;
     }
   
     @java.lang.Override
  
positive.code: 
    protected void performLink()
    {
      <%= entity.extends.nil? ? "if( !_linking ) throw new IllegalStateException( \"performLink invoked from outside link\" )" : "super.performLink()" %>;
  <% linkable_attributes.each do |attribute|
  %>      link<%= attribute.imit.name %>();
  <% end %>
  
negative.code:   public final void link()
    {
      checkValidity();
      _$linking = true;
      try
      {
        performLink();
        _$linked = true;
      }
      finally
      {
        _$linking = false;
      }
      if( !_$created )
      {
        _broker.entityAdded( this );
        _$created = true;
      }
    }
  
    private void delink()
    {
      checkValidity();
      _$delinking = true;
      try
      {
        performDelink();
        _$linked = false;
      }
      finally
      {
        _$delinking = false;
      }
    }
  
    @java.lang.Override
    public final boolean isLinked()
    {
      return _$linked;
    }
  <% end %>
  
  