private Builder(Experiment other) { this(other.getID()); instance.creationTime = copyDate(other.creationTime); instance.modificationTime = copyDate(other.modificationTime); instance.description = other.description; instance.hypothesisIsCorrect = other.hypothesisIsCorrect; instance.results = other.results; instance.rule = other.rule; instance.ruleJson = other.ruleJson; instance.samplingPercent = other.samplingPercent; instance.startTime = copyDate(other.startTime); instance.endTime = copyDate(other.endTime); instance.state = other.state; instance.label = other.label; instance.applicationName = other.applicationName; instance.isPersonalizationEnabled = other.isPersonalizationEnabled; instance.modelName = other.modelName; instance.modelVersion = other.modelVersion; instance.isRapidExperiment = other.isRapidExperiment; instance.userCap = other.userCap; instance.creatorID = other.creatorID; instance.tags = other.tags; instance.buckets = other.buckets; instance.sourceURL=other.sourceURL; instance.experimentType=other.experimentType; }
private Builder(Experiment other) { this(other.getID()); instance.creationTime = copyDate(other.creationTime); instance.modificationTime = copyDate(other.modificationTime); instance.description = other.description; instance.hypothesisIsCorrect = other.hypothesisIsCorrect; instance.results = other.results; instance.rule = other.rule; instance.ruleJson = other.ruleJson; instance.samplingPercent = other.samplingPercent; instance.startTime = copyDate(other.startTime); instance.endTime = copyDate(other.endTime); instance.state = other.state; instance.label = other.label; instance.applicationName = other.applicationName; instance.isPersonalizationEnabled = other.isPersonalizationEnabled; instance.modelName = other.modelName; instance.modelVersion = other.modelVersion; instance.isRapidExperiment = other.isRapidExperiment; instance.userCap = other.userCap; instance.creatorID = other.creatorID; instance.tags = other.tags; instance.buckets = other.buckets; instance.sourceURL=other.sourceURL; instance.experimentType=other.experimentType; }