1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.mycore.frontend.classeditor.wrapper;
20
21 import java.util.List;
22 import java.util.Map;
23
24 import org.mycore.datamodel.classifications2.MCRCategory;
25 import org.mycore.datamodel.classifications2.MCRCategoryID;
26
27 public class MCRCategoryListWrapper {
28
29 private List<MCRCategory> categList;
30
31 private Map<MCRCategoryID, Boolean> linkMap = null;
32
33 public MCRCategoryListWrapper(List<MCRCategory> categList) {
34 this.categList = categList;
35 }
36
37 public MCRCategoryListWrapper(List<MCRCategory> categList, Map<MCRCategoryID, Boolean> linkMap) {
38 this.categList = categList;
39 this.linkMap = linkMap;
40 }
41
42 public List<MCRCategory> getList() {
43 return categList;
44 }
45
46 public Map<MCRCategoryID, Boolean> getLinkMap() {
47 return linkMap;
48 }
49 }