/** * All properties are copied from source to target * @param source * @param target */ public static void copyAndOverrideRangePropertiesWithParticipant(Range source, Range target){ copyAndOverrideRangeProperties(source, target); target.setParticipant(source.getParticipant()); } }
if (range.getParticipant() != null){ interactor = range.getParticipant().getInteractor();
if (object.getParticipant() != null && !(object.getParticipant().getInteractor() instanceof Complex)){ interactor = object.getParticipant().getInteractor(); participant = object.getParticipant(); else if (object.getParticipant() == null && parent != null && parent.getParticipant() != null && !(parent.getParticipant().getInteractor() instanceof Complex)){