View Javadoc

1   /*
2    * Copyright 2010 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may	obtain a copy of the License at
7    *
8    * 	http://www.osedu.org/licenses/ECL-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.student.contract.model;
17  
18  import java.util.List;
19  
20  /**
21   *
22   * @author nwright
23   */
24  public class Service {
25  
26      private String key;
27  
28      public String getKey() {
29          return key;
30      }
31  
32      public void setKey(String key) {
33          this.key = key;
34      }
35      private String name;
36  
37      public String getName() {
38          return name;
39      }
40  
41      public void setName(String name) {
42          this.name = name;
43      }
44      private String implProject;
45  
46      public String getImplProject() {
47          return implProject;
48      }
49  
50      public void setImplProject(String implProject) {
51          this.implProject = implProject;
52      }
53      private String status;
54  
55      public String getStatus() {
56          return status;
57      }
58  
59      public void setStatus(String status) {
60          this.status = status;
61      }
62      private String comments;
63  
64      public String getComments() {
65          return comments;
66      }
67  
68      public void setComments(String comments) {
69          this.comments = comments;
70      }
71      private String version;
72  
73      public String getVersion() {
74          return version;
75      }
76  
77      public void setVersion(String version) {
78          this.version = version;
79      }
80      private String url;
81  
82      public String getUrl() {
83          return url;
84      }
85  
86      public void setUrl(String url) {
87          this.url = url;
88      }
89      private List<String> includedServices;
90  
91      /**
92       * Comma separated list of services that are included
93       *
94       * @return
95       */
96      public List<String> getIncludedServices() {
97          return includedServices;
98      }
99  
100     /**
101      * comma separated list of services that are included
102      * @param includedServices
103      */
104     public void setIncludedServices(List<String> includedServices) {
105         this.includedServices = includedServices;
106     }
107 
108     @Override
109     public String toString() {
110         return "Service{" +
111                 "key='" + key + '\'' +
112                 ", name='" + name + '\'' +
113                 ", implProject='" + implProject + '\'' +
114                 ", status='" + status + '\'' +
115                 ", comments='" + comments + '\'' +
116                 ", version='" + version + '\'' +
117                 ", url='" + url + '\'' +
118                 ", includedServices=" + includedServices +
119                 '}';
120     }
121 }