/** @generated */
 protected boolean canReorientTarget() {
   if (!(oldEnd instanceof NamedElement && newEnd instanceof NamedElement)) {
     return false;
   }
   return UMLBaseItemSemanticEditPolicy.getLinkConstraints()
       .canExistTimeObservationEvent_4024(getOldSource(), getNewTarget());
 }
 /** @generated */
 protected boolean canReorientSource() {
   if (!(oldEnd instanceof Element && newEnd instanceof Constraint)) {
     return false;
   }
   return UMLBaseItemSemanticEditPolicy.getLinkConstraints()
       .canExistConstraintConstrainedElement_4014(getNewSource(), getOldTarget());
 }