001    /*
002     * Sonar, open source software quality management tool.
003     * Copyright (C) 2009 SonarSource SA
004     * mailto:contact AT sonarsource DOT com
005     *
006     * Sonar is free software; you can redistribute it and/or
007     * modify it under the terms of the GNU Lesser General Public
008     * License as published by the Free Software Foundation; either
009     * version 3 of the License, or (at your option) any later version.
010     *
011     * Sonar is distributed in the hope that it will be useful,
012     * but WITHOUT ANY WARRANTY; without even the implied warranty of
013     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
014     * Lesser General Public License for more details.
015     *
016     * You should have received a copy of the GNU Lesser General Public
017     * License along with Sonar; if not, write to the Free Software
018     * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
019     */
020    package org.sonar.wsclient.services;
021    
022    import java.util.List;
023    
024    /**
025     * Experimental
026     */
027    public class DependencyTree extends Model {
028      private String depId;
029      private String resourceId;
030      private String resourceName;
031      private String usage;
032      private String resourceScope;
033      private String resourceQualifier;
034      private String resourceVersion;
035      private int weight;
036      private List<DependencyTree> to;
037    
038      public String getDepId() {
039        return depId;
040      }
041    
042      public DependencyTree setDepId(String depId) {
043        this.depId = depId;
044        return this;
045      }
046    
047      public String getResourceId() {
048        return resourceId;
049      }
050    
051      public DependencyTree setResourceId(String resourceId) {
052        this.resourceId = resourceId;
053        return this;
054      }
055    
056      public String getResourceName() {
057        return resourceName;
058      }
059    
060      public DependencyTree setResourceName(String resourceName) {
061        this.resourceName = resourceName;
062        return this;
063      }
064    
065      public String getUsage() {
066        return usage;
067      }
068    
069      public DependencyTree setUsage(String usage) {
070        this.usage = usage;
071        return this;
072      }
073    
074      public String getResourceScope() {
075        return resourceScope;
076      }
077    
078      public DependencyTree setResourceScope(String resourceScope) {
079        this.resourceScope = resourceScope;
080        return this;
081      }
082    
083      public String getResourceQualifier() {
084        return resourceQualifier;
085      }
086    
087      public DependencyTree setResourceQualifier(String resourceQualifier) {
088        this.resourceQualifier = resourceQualifier;
089        return this;
090      }
091    
092      public String getResourceVersion() {
093        return resourceVersion;
094      }
095    
096      public DependencyTree setResourceVersion(String resourceVersion) {
097        this.resourceVersion = resourceVersion;
098        return this;
099      }
100    
101      public int getWeight() {
102        return weight;
103      }
104    
105      public DependencyTree setWeight(int weight) {
106        this.weight = weight;
107        return this;
108      }
109    
110      public List<DependencyTree> getTo() {
111        return to;
112      }
113    
114      public DependencyTree setTo(List<DependencyTree> to) {
115        this.to = to;
116        return this;
117      }
118    }