1 package org.andromda.cartridges.spring.metafacades;
2
3 import java.util.ArrayList;
4 import java.util.Collection;
5
6
7
8
9
10
11 public class SpringCriteriaSearchLogicImpl
12 extends SpringCriteriaSearchLogic
13 {
14 private static final long serialVersionUID = 34L;
15
16
17
18
19
20
21 public SpringCriteriaSearchLogicImpl(Object metaObject, String context)
22 {
23 super(metaObject, context);
24 }
25
26
27
28
29
30
31 protected Collection<SpringCriteriaAttributeLogic> handleGetAttributes(boolean follow)
32 {
33 Collection<SpringCriteriaAttributeLogic> arguments = new ArrayList<SpringCriteriaAttributeLogic>();
34 for (Object parameter : super.getAttributes(follow))
35 {
36 arguments.add((SpringCriteriaAttributeLogic)((SpringCriteriaAttributeLogic)parameter).getType());
37 }
38 return arguments;
39 }
40
41 }