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.List; |
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
@author |
23 |
|
|
|
|
| 0% |
Uncovered Elements: 64 (64) |
Complexity: 28 |
Complexity Density: 0.88 |
|
24 |
|
public class OrchestrationObject |
25 |
|
{ |
26 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
27 |
|
public enum Source |
28 |
|
{ |
29 |
|
MESSAGE_STRUCTURE, ORCH_OBJS; |
30 |
|
} |
31 |
|
|
32 |
|
private List<OrchestrationObjectField> fields; |
33 |
|
private String name; |
34 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
35 |
0
|
public void setName (String name)... |
36 |
|
{ |
37 |
0
|
this.name = name; |
38 |
|
} |
39 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
40 |
0
|
public String getName ()... |
41 |
|
{ |
42 |
0
|
return name; |
43 |
|
} |
44 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
45 |
0
|
public void setFields (List<OrchestrationObjectField> fields)... |
46 |
|
{ |
47 |
0
|
this.fields = fields; |
48 |
|
} |
49 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
50 |
0
|
public List<OrchestrationObjectField> getFields ()... |
51 |
|
{ |
52 |
0
|
return fields; |
53 |
|
} |
54 |
|
|
55 |
|
private boolean hasOwnCreateUpdate; |
56 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
57 |
0
|
public boolean hasOwnCreateUpdate ()... |
58 |
|
{ |
59 |
0
|
return hasOwnCreateUpdate; |
60 |
|
} |
61 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
62 |
0
|
public void setHasOwnCreateUpdate (boolean hasOwnCreateUpdate)... |
63 |
|
{ |
64 |
0
|
this.hasOwnCreateUpdate = hasOwnCreateUpdate; |
65 |
|
} |
66 |
|
|
67 |
|
private OrchestrationObjectField inlineField; |
68 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
69 |
0
|
public OrchestrationObjectField getInlineField ()... |
70 |
|
{ |
71 |
0
|
return inlineField; |
72 |
|
} |
73 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
74 |
0
|
public void setInlineField (OrchestrationObjectField inlineField)... |
75 |
|
{ |
76 |
0
|
this.inlineField = inlineField; |
77 |
|
} |
78 |
|
|
79 |
|
|
80 |
|
private String orchestrationPackagePath; |
81 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
82 |
0
|
public String getOrchestrationPackagePath ()... |
83 |
|
{ |
84 |
0
|
return orchestrationPackagePath; |
85 |
|
} |
86 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
87 |
0
|
public void setOrchestrationPackagePath (String packagePath)... |
88 |
|
{ |
89 |
0
|
this.orchestrationPackagePath = packagePath; |
90 |
|
} |
91 |
|
|
92 |
|
|
93 |
|
private String infoPackagePath; |
94 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
95 |
0
|
public String getInfoPackagePath ()... |
96 |
|
{ |
97 |
0
|
return infoPackagePath; |
98 |
|
} |
99 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
100 |
0
|
public void setInfoPackagePath (String infoPackagePath)... |
101 |
|
{ |
102 |
0
|
this.infoPackagePath = infoPackagePath; |
103 |
|
} |
104 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
105 |
0
|
public String getJavaClassInfoName ()... |
106 |
|
{ |
107 |
0
|
return name.substring (0, 1).toUpperCase () + name.substring (1); |
108 |
|
} |
109 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
110 |
0
|
public String getFullyQualifiedJavaClassInfoName ()... |
111 |
|
{ |
112 |
0
|
return this.infoPackagePath + "." + this.getJavaClassInfoName (); |
113 |
|
} |
114 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
115 |
0
|
public String getJavaClassHelperName ()... |
116 |
|
{ |
117 |
0
|
if (inlineField == null) |
118 |
|
{ |
119 |
0
|
return getJavaClassInfoName () + "Helper"; |
120 |
|
} |
121 |
0
|
return inlineField.getParent ().getJavaClassInfoName () |
122 |
|
+ getJavaClassInfoName () + "Helper"; |
123 |
|
} |
124 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
125 |
0
|
public String getFullyQualifiedJavaClassHelperName ()... |
126 |
|
{ |
127 |
0
|
return orchestrationPackagePath + "." + getJavaClassHelperName (); |
128 |
|
} |
129 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
130 |
0
|
public String getJavaClassConstantsName ()... |
131 |
|
{ |
132 |
0
|
if (inlineField == null) |
133 |
|
{ |
134 |
0
|
return getJavaClassInfoName () + "Constants"; |
135 |
|
} |
136 |
0
|
return inlineField.getParent ().getJavaClassInfoName () |
137 |
|
+ getJavaClassInfoName () + "Constants"; |
138 |
|
} |
139 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
140 |
0
|
public String getFullyQualifiedJavaClassConstantsName ()... |
141 |
|
{ |
142 |
0
|
return orchestrationPackagePath + "." + getJavaClassConstantsName (); |
143 |
|
} |
144 |
|
|
145 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
146 |
0
|
public String getJavaClassMetadataName ()... |
147 |
|
{ |
148 |
0
|
if (inlineField == null) |
149 |
|
{ |
150 |
0
|
return getJavaClassInfoName () + "Metadata"; |
151 |
|
} |
152 |
0
|
return inlineField.getParent ().getJavaClassInfoName () |
153 |
|
+ getJavaClassInfoName () + "Metadata"; |
154 |
|
} |
155 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
156 |
0
|
public String getFullyQualifiedJavaClassMetadataName ()... |
157 |
|
{ |
158 |
0
|
return orchestrationPackagePath + "." + getJavaClassMetadataName (); |
159 |
|
} |
160 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
161 |
0
|
public String getJavaClassAssemblerName ()... |
162 |
|
{ |
163 |
0
|
if (inlineField == null) |
164 |
|
{ |
165 |
0
|
return getJavaClassInfoName () + "Assembler"; |
166 |
|
} |
167 |
0
|
return inlineField.getParent ().getJavaClassInfoName () |
168 |
|
+ getJavaClassInfoName () + "Assembler"; |
169 |
|
} |
170 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
171 |
0
|
public String getFullyQualifiedJavaClassAssemblerName ()... |
172 |
|
{ |
173 |
0
|
return orchestrationPackagePath + ".assembler." + getJavaClassAssemblerName (); |
174 |
|
} |
175 |
|
|
176 |
|
|
177 |
|
private Source source; |
178 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
179 |
0
|
public Source getSource ()... |
180 |
|
{ |
181 |
0
|
return source; |
182 |
|
} |
183 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
184 |
0
|
public void setSource (Source source)... |
185 |
|
{ |
186 |
0
|
this.source = source; |
187 |
|
} |
188 |
|
|
189 |
|
} |