01: /*
02: * Created on 06-Dec-2004
03: *
04: */
05: package org.hibernate.mapping;
06:
07: /**
08: * @author max
09: *
10: */
11: public interface ValueVisitor {
12:
13: /**
14: * @param bag
15: */
16: Object accept(Bag bag);
17:
18: /**
19: * @param bag
20: */
21: Object accept(IdentifierBag bag);
22:
23: /**
24: * @param list
25: */
26: Object accept(List list);
27:
28: Object accept(PrimitiveArray primitiveArray);
29:
30: Object accept(Array list);
31:
32: /**
33: * @param map
34: */
35: Object accept(Map map);
36:
37: /**
38: * @param many
39: */
40: Object accept(OneToMany many);
41:
42: /**
43: * @param set
44: */
45: Object accept(Set set);
46:
47: /**
48: * @param any
49: */
50: Object accept(Any any);
51:
52: /**
53: * @param value
54: */
55: Object accept(SimpleValue value);
56:
57: Object accept(DependantValue value);
58:
59: Object accept(Component component);
60:
61: Object accept(ManyToOne mto);
62:
63: Object accept(OneToOne oto);
64:
65: }
|