01: /*
02: * Copyright 2005-2007 the original author or authors.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package net.sf.dozer.util.mapping.vo.map;
17:
18: import java.util.HashMap;
19: import java.util.Map;
20:
21: import net.sf.dozer.util.mapping.vo.BaseTestObject;
22:
23: /**
24: * @author garsombke.franz
25: * @author sullins.ben
26: * @author tierney.matt
27: *
28: */
29: public class MapTestObjectPrime extends BaseTestObject {
30:
31: private PropertyToMap propertyToMapReverse;
32: private Map propertyToMapMap = new HashMap();
33: private Map nullPropertyToMapMap = null;
34: private CustomMapIF propertyToCustomMapMap = new CustomMap();
35: private PropertyToMap propertyToCustomMapWithInterface;
36:
37: public Map getPropertyToMapMap() {
38: return propertyToMapMap;
39: }
40:
41: public void setPropertyToMapMap(Map propertyToMapMap) {
42: this .propertyToMapMap = propertyToMapMap;
43: }
44:
45: public PropertyToMap getPropertyToMapReverse() {
46: return propertyToMapReverse;
47: }
48:
49: public void setPropertyToMapReverse(PropertyToMap propertyToMap) {
50: this .propertyToMapReverse = propertyToMap;
51: }
52:
53: public Map getNullPropertyToMapMap() {
54: return nullPropertyToMapMap;
55: }
56:
57: public void setNullPropertyToMapMap(Map nullPropertyToMapMap) {
58: this .nullPropertyToMapMap = nullPropertyToMapMap;
59: }
60:
61: public CustomMapIF getPropertyToCustomMapMap() {
62: return propertyToCustomMapMap;
63: }
64:
65: public void setPropertyToCustomMapMap(
66: CustomMapIF propertyToCustomMapMap) {
67: this .propertyToCustomMapMap = propertyToCustomMapMap;
68: }
69:
70: public PropertyToMap getPropertyToCustomMapWithInterface() {
71: return propertyToCustomMapWithInterface;
72: }
73:
74: public void setPropertyToCustomMapWithInterface(
75: PropertyToMap propertyToCustomMapWithInterface) {
76: this.propertyToCustomMapWithInterface = propertyToCustomMapWithInterface;
77: }
78:
79: }
|