Last change
on this file since 6810 was
6810,
checked in by davor.ostojic@oeaw.ac.at, 9 years ago
|
|
-
Property svn:mime-type set to
text/plain
|
File size:
883 bytes
|
Line | |
---|
1 | package eu.clarin.cmdi.vlo.normalization.pojo; |
---|
2 | |
---|
3 | import java.util.List; |
---|
4 | |
---|
5 | import javax.xml.bind.annotation.XmlAccessType; |
---|
6 | import javax.xml.bind.annotation.XmlAccessorType; |
---|
7 | import javax.xml.bind.annotation.XmlElement; |
---|
8 | import javax.xml.bind.annotation.XmlRootElement; |
---|
9 | |
---|
10 | /** |
---|
11 | * @author dostojic |
---|
12 | * |
---|
13 | */ |
---|
14 | |
---|
15 | @XmlAccessorType(XmlAccessType.FIELD) |
---|
16 | @XmlRootElement(name = "cross-mappings") |
---|
17 | public class CrossMappings{ |
---|
18 | |
---|
19 | @XmlElement(name = "cross-mapping") |
---|
20 | private List<CrossMapping> crossMappings; |
---|
21 | |
---|
22 | public List<CrossMapping> getCrossMappings() { |
---|
23 | return crossMappings; |
---|
24 | } |
---|
25 | |
---|
26 | public void setCrossMappings(List<CrossMapping> crossMappings) { |
---|
27 | this.crossMappings = crossMappings; |
---|
28 | } |
---|
29 | |
---|
30 | |
---|
31 | @Override |
---|
32 | public String toString() { |
---|
33 | String s = ""; |
---|
34 | for(CrossMapping cm: crossMappings) |
---|
35 | s += " ," + cm.toString(); |
---|
36 | return s.replaceFirst(",", "").trim(); |
---|
37 | } |
---|
38 | |
---|
39 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.