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:
858 bytes
|
Line | |
---|
1 | package eu.clarin.cmdi.vlo.normalization.pojo; |
---|
2 | |
---|
3 | import javax.xml.bind.annotation.XmlAccessType; |
---|
4 | import javax.xml.bind.annotation.XmlAccessorType; |
---|
5 | import javax.xml.bind.annotation.XmlAttribute; |
---|
6 | import javax.xml.bind.annotation.XmlElement; |
---|
7 | import javax.xml.bind.annotation.XmlRootElement; |
---|
8 | |
---|
9 | |
---|
10 | /** |
---|
11 | * @author dostojic |
---|
12 | * |
---|
13 | */ |
---|
14 | |
---|
15 | |
---|
16 | @XmlAccessorType(XmlAccessType.FIELD) |
---|
17 | @XmlRootElement(name = "cross-mapping") |
---|
18 | public class CrossMapping { |
---|
19 | |
---|
20 | @XmlAttribute |
---|
21 | private String facet; |
---|
22 | |
---|
23 | @XmlAttribute |
---|
24 | private String value; |
---|
25 | |
---|
26 | public String getFacet() { |
---|
27 | return facet; |
---|
28 | } |
---|
29 | |
---|
30 | public void setFacet(String facet) { |
---|
31 | this.facet = facet; |
---|
32 | } |
---|
33 | |
---|
34 | public String getValue() { |
---|
35 | return value; |
---|
36 | } |
---|
37 | |
---|
38 | public void setValue(String value) { |
---|
39 | this.value = value; |
---|
40 | } |
---|
41 | |
---|
42 | @Override |
---|
43 | public String toString() { |
---|
44 | return facet + ":" + value; |
---|
45 | } |
---|
46 | |
---|
47 | |
---|
48 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.