comparison src/main/java/org/mpi/openmind/repository/bo/Relation.java @ 56:467843399e70

Fixs for lost relation, when editing clone entities in parallel
author jurzua <jjjurzua@hotmail.com>
date Mon, 28 Nov 2016 14:26:10 +0100
parents 2d669fdd0a8b
children b5a22b9ab9c6
comparison
equal deleted inserted replaced
55:b7a8db041f68 56:467843399e70
244 && OMUtils.equals(getTargetId(), other.getTargetId())) { 244 && OMUtils.equals(getTargetId(), other.getTargetId())) {
245 return true; 245 return true;
246 } 246 }
247 return false; 247 return false;
248 } 248 }
249
250 public String printSource(){
251 return "Source [sourceObjectClass=" + sourceObjectClass + ", sourceId=" + sourceId + ", sourceModif=" + sourceModif + "]";
252 }
253
254 public String printTarget(){
255 return "Target [targetObjectClass=" + targetObjectClass + ", targetId=" + targetId + ", targetModif=" + targetModif + "]";
256 }
249 257
250 @Override 258 @Override
251 public String toString() { 259 public String toString() {
252 String source = ", Src[id=" + sourceId; 260 String source = ", Src[id=" + sourceId;
253 if(getSource() != null) 261 if(getSource() != null)