aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-07-26 14:43:29 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-07-28 17:31:14 +0200
commitfa27bf616fad3cb743994ea8407feabd96a22ae9 (patch)
treec270d62ddaf679973004712bd64ff9d1d67fd312 /sonar-db
parentc61be4f486e6c9fabc5cc5fd03dba40b79e056f1 (diff)
downloadsonarqube-fa27bf616fad3cb743994ea8407feabd96a22ae9.tar.gz
sonarqube-fa27bf616fad3cb743994ea8407feabd96a22ae9.zip
SONAR-7925 Create WS to list project links
Diffstat (limited to 'sonar-db')
-rw-r--r--sonar-db/src/main/java/org/sonar/db/component/ComponentLinkDto.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/component/ComponentLinkDto.java b/sonar-db/src/main/java/org/sonar/db/component/ComponentLinkDto.java
index a6681b67932..fa7b93ce5bc 100644
--- a/sonar-db/src/main/java/org/sonar/db/component/ComponentLinkDto.java
+++ b/sonar-db/src/main/java/org/sonar/db/component/ComponentLinkDto.java
@@ -73,6 +73,10 @@ public class ComponentLinkDto {
return id;
}
+ public String getIdAsString() {
+ return String.valueOf(id);
+ }
+
public ComponentLinkDto setId(Long id) {
this.id = id;
return this;