]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org/argeo/jcr/CollectionsObject.java
Prepare next development cycle
[lgpl/argeo-commons.git] / org / argeo / jcr / CollectionsObject.java
1 /*
2 * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
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
17 package org.argeo.jcr;
18
19 import java.util.ArrayList;
20 import java.util.HashMap;
21 import java.util.List;
22 import java.util.Map;
23
24 public class CollectionsObject {
25 private String id;
26 private String label;
27 private SimpleObject simpleObject;
28 private List<String> stringList = new ArrayList<String>();
29 private Map<String, Float> floatMap = new HashMap<String, Float>();
30 private Map<SimpleObject, String> objectMap = new HashMap<SimpleObject, String>();
31 private Map<String, Map<String, String>> mapOfMaps = new HashMap<String, Map<String, String>>();
32
33 public String getId() {
34 return id;
35 }
36
37 public void setId(String id) {
38 this.id = id;
39 }
40
41 public String getLabel() {
42 return label;
43 }
44
45 public void setLabel(String label) {
46 this.label = label;
47 }
48
49 public SimpleObject getSimpleObject() {
50 return simpleObject;
51 }
52
53 public void setSimpleObject(SimpleObject simpleObject) {
54 this.simpleObject = simpleObject;
55 }
56
57 public List<String> getStringList() {
58 return stringList;
59 }
60
61 public void setStringList(List<String> stringList) {
62 this.stringList = stringList;
63 }
64
65 public Map<String, Float> getFloatMap() {
66 return floatMap;
67 }
68
69 public void setFloatMap(Map<String, Float> floatMap) {
70 this.floatMap = floatMap;
71 }
72
73 public Map<SimpleObject, String> getObjectMap() {
74 return objectMap;
75 }
76
77 public void setObjectMap(Map<SimpleObject, String> objectMap) {
78 this.objectMap = objectMap;
79 }
80
81 public Map<String, Map<String, String>> getMapOfMaps() {
82 return mapOfMaps;
83 }
84
85 public void setMapOfMaps(Map<String, Map<String, String>> mapOfMaps) {
86 this.mapOfMaps = mapOfMaps;
87 }
88 }