public Object copyTo(Object target, CopyBuilder copyBuilder) { final TCorrelationSet copy = ((target == null)?((TCorrelationSet) createCopy()):((TCorrelationSet) target)); super.copyTo(copy, copyBuilder); { List<QName> sourceProperties; sourceProperties = this.getProperties(); List<QName> copyProperties = ((List<QName> ) copyBuilder.copy(sourceProperties)); copy.properties = null; List<QName> uniquePropertiesl = copy.getProperties(); uniquePropertiesl.addAll(copyProperties); } { String sourceName; sourceName = this.getName(); String copyName = ((String) copyBuilder.copy(sourceName)); copy.setName(copyName); } return copy; }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TCorrelationSet copy = ((target == null)?((TCorrelationSet) createCopy()):((TCorrelationSet) target)); super.copyTo(copy, copyBuilder); { List<QName> sourceProperties; sourceProperties = this.getProperties(); List<QName> copyProperties = ((List<QName> ) copyBuilder.copy(sourceProperties)); copy.properties = null; List<QName> uniquePropertiesl = copy.getProperties(); uniquePropertiesl.addAll(copyProperties); } { String sourceName; sourceName = this.getName(); String copyName = ((String) copyBuilder.copy(sourceName)); copy.setName(copyName); } return copy; }