Exemple #1
0
 @Override
 public void relationshipDoReplaceProperty(
     long relationshipId, Property replacedProperty, SafeProperty newProperty) {
   if (!newProperty.isNoProperty()) {
     DiffSets<SafeProperty> diffSets = relationshipPropertyDiffSets(relationshipId);
     if (!replacedProperty.isNoProperty()) {
       diffSets.remove((SafeProperty) replacedProperty);
     }
     diffSets.add(newProperty);
     legacyState.relationshipSetProperty(
         relationshipId, newProperty.asPropertyDataJustForIntegration());
     hasChanges = true;
   }
 }