1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.contract.model;
17
18 import java.util.ArrayList;
19 import java.util.List;
20
21
22
23
24
25 public class ServiceMethod {
26
27 private String service;
28
29 public String getService() {
30 return service;
31 }
32
33 public void setService(String service) {
34 this.service = service;
35 }
36 private String name;
37
38
39
40
41
42
43 public String getName() {
44 return name;
45 }
46
47
48
49
50
51
52 public void setName(String name) {
53 this.name = name;
54 }
55 private String url;
56
57 public String getUrl() {
58 return url;
59 }
60
61 public void setUrl(String url) {
62 this.url = url;
63 }
64 private String description;
65
66 public String getDescription() {
67 return description;
68 }
69
70 public void setDescription(String description) {
71 this.description = description;
72 }
73 private List<ServiceMethodParameter> parameters;
74
75 public List<ServiceMethodParameter> getParameters() {
76 if (parameters == null) {
77 parameters = new ArrayList();
78 }
79 return parameters;
80 }
81
82 public void setParameters(List<ServiceMethodParameter> parameters) {
83 this.parameters = parameters;
84 }
85 private ServiceMethodReturnValue returnValue;
86
87 public ServiceMethodReturnValue getReturnValue() {
88 return returnValue;
89 }
90
91 public void setReturnValue(ServiceMethodReturnValue returnValue) {
92 this.returnValue = returnValue;
93 }
94 private List<ServiceMethodError> errors;
95
96 public List<ServiceMethodError> getErrors() {
97 if (errors == null) {
98 errors = new ArrayList();
99 }
100 return errors;
101 }
102
103 public void setErrors(List<ServiceMethodError> errors) {
104 this.errors = errors;
105 }
106 }