001    /**
002     * Copyright 2004-2013 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.opensource.org/licenses/ecl2.php
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package org.kuali.student.contract.model;
017    
018    import java.util.List;
019    
020    /**
021     *
022     * @author nwright
023     */
024    public class Service {
025    
026        private String key;
027    
028        public String getKey() {
029            return key;
030        }
031    
032        public void setKey(String key) {
033            this.key = key;
034        }
035        private String name;
036    
037        public String getName() {
038            return name;
039        }
040    
041        public void setName(String name) {
042            this.name = name;
043        }
044        private String implProject;
045    
046        public String getImplProject() {
047            return implProject;
048        }
049    
050        public void setImplProject(String implProject) {
051            this.implProject = implProject;
052        }
053        private String status;
054    
055        public String getStatus() {
056            return status;
057        }
058    
059        public void setStatus(String status) {
060            this.status = status;
061        }
062        private String comments;
063    
064        public String getComments() {
065            return comments;
066        }
067    
068        public void setComments(String comments) {
069            this.comments = comments;
070        }
071        private String version;
072    
073        public String getVersion() {
074            return version;
075        }
076    
077        public void setVersion(String version) {
078            this.version = version;
079        }
080        private String url;
081    
082        public String getUrl() {
083            return url;
084        }
085    
086        public void setUrl(String url) {
087            this.url = url;
088        }
089        private List<String> includedServices;
090    
091        /**
092         * Comma separated list of services that are included
093         *
094         * @return
095         */
096        public List<String> getIncludedServices() {
097            return includedServices;
098        }
099    
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    }