View Javadoc
1   /**
2    * Copyright 2004-2014 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.opensource.org/licenses/ecl2.php
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  /**
19   * Represent a parameter in a service operation call.
20   * @author nwright
21   */
22  public class ServiceMethodParameter {
23  
24      private String name;
25  
26      /**
27       * Get the value of name
28       *
29       * @return the value of name
30       */
31      public String getName() {
32          return name;
33      }
34  
35      /**
36       * Set the value of name
37       *
38       * @param name new value of name
39       */
40      public void setName(String name) {
41          this.name = name;
42      }
43      protected String type;
44  
45      public String getType() {
46          return type;
47      }
48  
49      public void setType(String type) {
50          this.type = type;
51      }
52      private String description;
53  
54      public String getDescription() {
55          return description;
56      }
57  
58      public void setDescription(String description) {
59          this.description = description;
60      }
61      private String url;
62  
63      public String getUrl() {
64          return url;
65      }
66  
67      public void setUrl(String url) {
68          this.url = url;
69      }
70  
71      @Override
72      public String toString() {
73          return "ServiceMethodParameter{" +
74                  "name='" + name + '\'' +
75                  ", type='" + type + '\'' +
76                  ", description='" + description + '\'' +
77                  ", url='" + url + '\'' +
78                  '}';
79      }
80  }