]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.server.jcr/src/test/java/org/argeo/jcr/CollectionsObject.java
1cbb931a791d6f30f142fecbdd9e1c740fc57e2e
[lgpl/argeo-commons.git] / org.argeo.server.jcr / src / test / java / org / argeo / jcr / CollectionsObject.java
1 /*
2 * Copyright (C) 2007-2012 Argeo GmbH
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
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 org.argeo.jcr;
17
18 import java.util.ArrayList;
19 import java.util.HashMap;
20 import java.util.List;
21 import java.util.Map;
22
23 public class CollectionsObject {
24 private String id;
25 private String label;
26 private SimpleObject simpleObject;
27 private List<String> stringList = new ArrayList<String>();
28 private Map<String, Float> floatMap = new HashMap<String, Float>();
29 private Map<SimpleObject, String> objectMap = new HashMap<SimpleObject, String>();
30 private Map<String, Map<String, String>> mapOfMaps = new HashMap<String, Map<String, String>>();
31
32 public String getId() {
33 return id;
34 }
35
36 public void setId(String id) {
37 this.id = id;
38 }
39
40 public String getLabel() {
41 return label;
42 }
43
44 public void setLabel(String label) {
45 this.label = label;
46 }
47
48 public SimpleObject getSimpleObject() {
49 return simpleObject;
50 }
51
52 public void setSimpleObject(SimpleObject simpleObject) {
53 this.simpleObject = simpleObject;
54 }
55
56 public List<String> getStringList() {
57 return stringList;
58 }
59
60 public void setStringList(List<String> stringList) {
61 this.stringList = stringList;
62 }
63
64 public Map<String, Float> getFloatMap() {
65 return floatMap;
66 }
67
68 public void setFloatMap(Map<String, Float> floatMap) {
69 this.floatMap = floatMap;
70 }
71
72 public Map<SimpleObject, String> getObjectMap() {
73 return objectMap;
74 }
75
76 public void setObjectMap(Map<SimpleObject, String> objectMap) {
77 this.objectMap = objectMap;
78 }
79
80 public Map<String, Map<String, String>> getMapOfMaps() {
81 return mapOfMaps;
82 }
83
84 public void setMapOfMaps(Map<String, Map<String, String>> mapOfMaps) {
85 this.mapOfMaps = mapOfMaps;
86 }
87 }