|
@@ -80,6 +80,33 @@ |
80 |
80 |
|
pVO.setID( TypeConverter.to_Long( pValue ) ); |
81 |
81 |
|
} |
82 |
82 |
|
}, // |
|
83 |
+ |
new SimpleVoAttribute<StoryView>( aChanges, false, _Text.RO().with( DisplayWidthInitial.of( 40 ), // |
|
84 |
+ |
DisplayHeightInitial.of( 4 ) ) ) |
|
85 |
+ |
{ |
|
86 |
+ |
@Override |
|
87 |
+ |
public String getDerivedFromAttributePath() |
|
88 |
+ |
{ |
|
89 |
+ |
return "Changes"; |
|
90 |
+ |
} |
|
91 |
+ |
|
|
92 |
+ |
@Override |
|
93 |
+ |
public boolean isQueryViewAttribute() |
|
94 |
+ |
{ |
|
95 |
+ |
return false; |
|
96 |
+ |
} |
|
97 |
+ |
|
|
98 |
+ |
@Override |
|
99 |
+ |
protected Object LLgetAttributeValue( StoryView pVO ) |
|
100 |
+ |
{ |
|
101 |
+ |
return pVO.getChanges(); |
|
102 |
+ |
} |
|
103 |
+ |
|
|
104 |
+ |
@Override |
|
105 |
+ |
public void setAttributeValue( StoryView pVO, Object pValue ) |
|
106 |
+ |
{ |
|
107 |
+ |
pVO.setChanges( TypeConverter.to_String( pValue ) ); |
|
108 |
+ |
} |
|
109 |
+ |
}, // |
83 |
110 |
|
new SimpleVoAttribute<StoryView>( aCreatorFullName, false, _String.RO().with( MaxLength.of( 60 ), // |
84 |
111 |
|
DisplayLength.of( 40 ) ) ) |
85 |
112 |
|
{ |
|
@@ -92,7 +119,7 @@ |
92 |
119 |
|
@Override |
93 |
120 |
|
public boolean isQueryViewAttribute() |
94 |
121 |
|
{ |
95 |
|
- |
return true; |
|
122 |
+ |
return false; |
96 |
123 |
|
} |
97 |
124 |
|
|
98 |
125 |
|
@Override |
|
@@ -193,60 +220,6 @@ |
193 |
220 |
|
pVO.setIsDone( TypeConverter.to_Boolean( pValue ) ); |
194 |
221 |
|
} |
195 |
222 |
|
}, // |
196 |
|
- |
new SimpleVoAttribute<StoryView>( aLastChanged, false, _String.RO().with( MaxLength.of( 16 ), // |
197 |
|
- |
DisplayLength.of( 16 ) ) ) |
198 |
|
- |
{ |
199 |
|
- |
@Override |
200 |
|
- |
public String getDerivedFromAttributePath() |
201 |
|
- |
{ |
202 |
|
- |
return "LastChanged"; |
203 |
|
- |
} |
204 |
|
- |
|
205 |
|
- |
@Override |
206 |
|
- |
public boolean isQueryViewAttribute() |
207 |
|
- |
{ |
208 |
|
- |
return true; |
209 |
|
- |
} |
210 |
|
- |
|
211 |
|
- |
@Override |
212 |
|
- |
protected Object LLgetAttributeValue( StoryView pVO ) |
213 |
|
- |
{ |
214 |
|
- |
return pVO.getLastChanged(); |
215 |
|
- |
} |
216 |
|
- |
|
217 |
|
- |
@Override |
218 |
|
- |
public void setAttributeValue( StoryView pVO, Object pValue ) |
219 |
|
- |
{ |
220 |
|
- |
pVO.setLastChanged( TypeConverter.to_String( pValue ) ); |
221 |
|
- |
} |
222 |
|
- |
}, // |
223 |
|
- |
new SimpleVoAttribute<StoryView>( aLastChangedBy, false, _String.RO().with( MaxLength.of( 60 ), // |
224 |
|
- |
DisplayLength.of( 40 ) ) ) |
225 |
|
- |
{ |
226 |
|
- |
@Override |
227 |
|
- |
public String getDerivedFromAttributePath() |
228 |
|
- |
{ |
229 |
|
- |
return "LastUpdate.ByWhom.FullName"; |
230 |
|
- |
} |
231 |
|
- |
|
232 |
|
- |
@Override |
233 |
|
- |
public boolean isQueryViewAttribute() |
234 |
|
- |
{ |
235 |
|
- |
return true; |
236 |
|
- |
} |
237 |
|
- |
|
238 |
|
- |
@Override |
239 |
|
- |
protected Object LLgetAttributeValue( StoryView pVO ) |
240 |
|
- |
{ |
241 |
|
- |
return pVO.getLastChangedBy(); |
242 |
|
- |
} |
243 |
|
- |
|
244 |
|
- |
@Override |
245 |
|
- |
public void setAttributeValue( StoryView pVO, Object pValue ) |
246 |
|
- |
{ |
247 |
|
- |
pVO.setLastChangedBy( TypeConverter.to_String( pValue ) ); |
248 |
|
- |
} |
249 |
|
- |
}, // |
250 |
223 |
|
new SimpleVoAttribute<StoryView>( aName, true, _String.with( MaxLength.of( 40 ), // |
251 |
224 |
|
DisplayLength.of( 20 ) ) ) |
252 |
225 |
|
{ |
|
@@ -300,41 +273,35 @@ |
300 |
273 |
|
pVO.setPriority( TypeConverter.to_Float( pValue ) ); |
301 |
274 |
|
} |
302 |
275 |
|
}, // |
303 |
|
- |
new SimpleVoAttribute<StoryView>( aPriorityToDisplay, false, _String.RO().with( MaxLength.of( 16 ), // |
304 |
|
- |
DisplayLength.of( 16 ) ) ) |
|
276 |
+ |
new SimpleVoAttribute<StoryView>( aPriorityLastChangedBy, false, _String.RO().with( MaxLength.of( 40 ), // |
|
277 |
+ |
DisplayLength.of( 20 ) ) ) |
305 |
278 |
|
{ |
306 |
279 |
|
@Override |
307 |
280 |
|
public String getDerivedFromAttributePath() |
308 |
281 |
|
{ |
309 |
|
- |
return null; |
|
282 |
+ |
return "PriorityLastChangedBy"; |
310 |
283 |
|
} |
311 |
284 |
|
|
312 |
285 |
|
@Override |
313 |
286 |
|
public boolean isQueryViewAttribute() |
314 |
287 |
|
{ |
315 |
|
- |
return false; |
|
288 |
+ |
return true; |
316 |
289 |
|
} |
317 |
290 |
|
|
318 |
291 |
|
@Override |
319 |
292 |
|
protected Object LLgetAttributeValue( StoryView pVO ) |
320 |
293 |
|
{ |
321 |
|
- |
return pVO.getPriorityToDisplay(); |
322 |
|
- |
} |
323 |
|
- |
|
324 |
|
- |
@Override |
325 |
|
- |
public boolean isSetable() |
326 |
|
- |
{ |
327 |
|
- |
return false; |
|
294 |
+ |
return pVO.getPriorityLastChangedBy(); |
328 |
295 |
|
} |
329 |
296 |
|
|
330 |
297 |
|
@Override |
331 |
298 |
|
public void setAttributeValue( StoryView pVO, Object pValue ) |
332 |
299 |
|
{ |
333 |
|
- |
throw new UnsupportedOperationException( "'PriorityToDisplay' is a Read Only attribute" ); |
|
300 |
+ |
pVO.setPriorityLastChangedBy( TypeConverter.to_String( pValue ) ); |
334 |
301 |
|
} |
335 |
302 |
|
}, // |
336 |
|
- |
new SimpleVoAttribute<StoryView>( aWhatChangedThreeLines, false, _String.RO().with( MaxLength.of( 30 ), // |
337 |
|
- |
DisplayLength.of( 20 ) ) ) |
|
303 |
+ |
new SimpleVoAttribute<StoryView>( aPriorityToDisplay, false, _String.RO().with( MaxLength.of( 16 ), // |
|
304 |
+ |
DisplayLength.of( 16 ) ) ) |
338 |
305 |
|
{ |
339 |
306 |
|
@Override |
340 |
307 |
|
public String getDerivedFromAttributePath() |
|
@@ -351,7 +318,7 @@ |
351 |
318 |
|
@Override |
352 |
319 |
|
protected Object LLgetAttributeValue( StoryView pVO ) |
353 |
320 |
|
{ |
354 |
|
- |
return pVO.getWhatChangedThreeLines(); |
|
321 |
+ |
return pVO.getPriorityToDisplay(); |
355 |
322 |
|
} |
356 |
323 |
|
|
357 |
324 |
|
@Override |
|
@@ -363,34 +330,33 @@ |
363 |
330 |
|
@Override |
364 |
331 |
|
public void setAttributeValue( StoryView pVO, Object pValue ) |
365 |
332 |
|
{ |
366 |
|
- |
throw new UnsupportedOperationException( "'WhatChangedThreeLines' is a Read Only attribute" ); |
|
333 |
+ |
throw new UnsupportedOperationException( "'PriorityToDisplay' is a Read Only attribute" ); |
367 |
334 |
|
} |
368 |
335 |
|
}, // |
369 |
|
- |
new SimpleVoAttribute<StoryView>( aWhatLastChanged, false, _Text.RO().with( DisplayWidthInitial.of( 40 ), // |
370 |
|
- |
DisplayHeightInitial.of( 4 ) ) ) |
|
336 |
+ |
new SimpleVoAttribute<StoryView>( aShowDone, false, _Boolean ) |
371 |
337 |
|
{ |
372 |
338 |
|
@Override |
373 |
339 |
|
public String getDerivedFromAttributePath() |
374 |
340 |
|
{ |
375 |
|
- |
return "LastUpdate.WhatChanged"; |
|
341 |
+ |
return null; |
376 |
342 |
|
} |
377 |
343 |
|
|
378 |
344 |
|
@Override |
379 |
345 |
|
public boolean isQueryViewAttribute() |
380 |
346 |
|
{ |
381 |
|
- |
return true; |
|
347 |
+ |
return false; |
382 |
348 |
|
} |
383 |
349 |
|
|
384 |
350 |
|
@Override |
385 |
351 |
|
protected Object LLgetAttributeValue( StoryView pVO ) |
386 |
352 |
|
{ |
387 |
|
- |
return pVO.getWhatLastChanged(); |
|
353 |
+ |
return pVO.getShowDone(); |
388 |
354 |
|
} |
389 |
355 |
|
|
390 |
356 |
|
@Override |
391 |
357 |
|
public void setAttributeValue( StoryView pVO, Object pValue ) |
392 |
358 |
|
{ |
393 |
|
- |
pVO.setWhatLastChanged( TypeConverter.to_String( pValue ) ); |
|
359 |
+ |
pVO.setShowDone( TypeConverter.to_Boolean( pValue ) ); |
394 |
360 |
|
} |
395 |
361 |
|
}, // |
396 |
362 |
|
}; |