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 | 0 | public class ServiceMethod |
26 | |
{ |
27 | |
private String service; |
28 | |
|
29 | |
public String getService () |
30 | |
{ |
31 | 0 | return service; |
32 | |
} |
33 | |
|
34 | |
public void setService (String service) |
35 | |
{ |
36 | 0 | this.service = service; |
37 | 0 | } |
38 | |
|
39 | |
|
40 | |
private String name; |
41 | |
|
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
|
47 | |
public String getName () |
48 | |
{ |
49 | 0 | return name; |
50 | |
} |
51 | |
|
52 | |
|
53 | |
|
54 | |
|
55 | |
|
56 | |
|
57 | |
public void setName (String name) |
58 | |
{ |
59 | 0 | this.name = name; |
60 | 0 | } |
61 | |
|
62 | |
private String url; |
63 | |
|
64 | |
public String getUrl () |
65 | |
{ |
66 | 0 | return url; |
67 | |
} |
68 | |
|
69 | |
public void setUrl (String url) |
70 | |
{ |
71 | 0 | this.url = url; |
72 | 0 | } |
73 | |
|
74 | |
|
75 | |
private String description; |
76 | |
|
77 | |
public String getDescription () |
78 | |
{ |
79 | 0 | return description; |
80 | |
} |
81 | |
|
82 | |
public void setDescription (String description) |
83 | |
{ |
84 | 0 | this.description = description; |
85 | 0 | } |
86 | |
|
87 | |
|
88 | |
private List<ServiceMethodParameter> parameters; |
89 | |
|
90 | |
public List<ServiceMethodParameter> getParameters () |
91 | |
{ |
92 | 0 | if (parameters == null) |
93 | |
{ |
94 | 0 | parameters = new ArrayList (); |
95 | |
} |
96 | 0 | return parameters; |
97 | |
} |
98 | |
|
99 | |
public void setParameters (List<ServiceMethodParameter> parameters) |
100 | |
{ |
101 | 0 | this.parameters = parameters; |
102 | 0 | } |
103 | |
|
104 | |
private ServiceMethodReturnValue returnValue; |
105 | |
|
106 | |
public ServiceMethodReturnValue getReturnValue () |
107 | |
{ |
108 | 0 | return returnValue; |
109 | |
} |
110 | |
|
111 | |
public void setReturnValue (ServiceMethodReturnValue returnValue) |
112 | |
{ |
113 | 0 | this.returnValue = returnValue; |
114 | 0 | } |
115 | |
|
116 | |
private List<ServiceMethodError> errors; |
117 | |
|
118 | |
public List<ServiceMethodError> getErrors () |
119 | |
{ |
120 | 0 | if (errors == null) |
121 | |
{ |
122 | 0 | errors = new ArrayList (); |
123 | |
} |
124 | 0 | return errors; |
125 | |
} |
126 | |
|
127 | |
public void setErrors (List<ServiceMethodError> errors) |
128 | |
{ |
129 | 0 | this.errors = errors; |
130 | 0 | } |
131 | |
|
132 | |
|
133 | |
} |