From c4bfe32904367d963cd352a2b7c18ded34dfb4e9 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Tue, 29 May 2012 15:59:50 +0200 Subject: [PATCH] Fix dtos on Oracle --- .../java/org/sonar/core/filter/CriterionDto.java | 16 ++++++++++++++++ .../org/sonar/core/filter/FilterColumnDto.java | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/sonar-core/src/main/java/org/sonar/core/filter/CriterionDto.java b/sonar-core/src/main/java/org/sonar/core/filter/CriterionDto.java index 4f8261a0365..d3ff4a1e7f6 100644 --- a/sonar-core/src/main/java/org/sonar/core/filter/CriterionDto.java +++ b/sonar-core/src/main/java/org/sonar/core/filter/CriterionDto.java @@ -23,6 +23,7 @@ package org.sonar.core.filter; * @since 3.1 */ public final class CriterionDto { + private Long id; private Long filterId; private String family; private String key; @@ -31,6 +32,13 @@ public final class CriterionDto { private Float value; private Boolean variation; + /** + * @return the id + */ + public Long getId() { + return id; + } + /** * @return the family */ @@ -80,6 +88,14 @@ public final class CriterionDto { return variation; } + /** + * @param family the id to set + */ + public CriterionDto setId(Long id) { + this.id = id; + return this; + } + /** * @param family the family to set */ diff --git a/sonar-core/src/main/java/org/sonar/core/filter/FilterColumnDto.java b/sonar-core/src/main/java/org/sonar/core/filter/FilterColumnDto.java index 66b7b3d0f5b..d69d617cc92 100644 --- a/sonar-core/src/main/java/org/sonar/core/filter/FilterColumnDto.java +++ b/sonar-core/src/main/java/org/sonar/core/filter/FilterColumnDto.java @@ -23,6 +23,7 @@ package org.sonar.core.filter; * @since 3.1 */ public final class FilterColumnDto { + private Long id; private Long filterId; private String family; private String key; @@ -30,6 +31,13 @@ public final class FilterColumnDto { private String sortDirection; private Boolean variation; + /** + * @return the id + */ + public Long getId() { + return id; + } + /** * @return the family */ @@ -80,6 +88,14 @@ public final class FilterColumnDto { return this; } + /** + * @param family the id to set + */ + public FilterColumnDto setId(Long id) { + this.id = id; + return this; + } + /** * @param filterId the filterId to set */ -- 2.39.5