public void relateAcrossR9600To(Query_c target, boolean notifyChanges) { if (target == null) return; if (target == IsSupertypeQuery) return; // already related if (IsSupertypeQuery != target) { Object oldKey = getInstanceKey(); if (IsSupertypeQuery != null) { IsSupertypeQuery.clearBackPointerR9600To(this); if (Boolean.valueOf(System.getenv("PTC_MCC_ENABLED")) == true) { // $NON-NLS-1$ Ooaofooa.log.println( ILogger.CONSISTENCY, "DescriptionQuery_c.relateAcrossR9600To(Query_c target)", "Relate performed across R9600 from Description Query to Query without unrelate of prior instance."); } } IsSupertypeQuery = target; m_id = target.getId(); updateInstanceKey(oldKey, getInstanceKey()); target.setBackPointerR9600To(this); target.addRef(); if (notifyChanges) { RelationshipChangeModelDelta change = new RelationshipChangeModelDelta( Modeleventnotification_c.DELTA_ELEMENT_RELATED, this, target, "9600", ""); Ooaofooa.getDefaultInstance().fireModelElementRelationChanged(change); } } }