blob: a51672e86abb72b82fa16d1c697bc42880f95d65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
package com.cmcc.simulator.xml;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;
public class V {
String v;
int value;
public V() {
super();
}
public V(String i, int value) {
super();
this.v = i;
this.value = value;
}
@XmlAttribute(name = "i")
public String getV() {
return v;
}
public void setV(String v) {
this.v = v;
}
public int getValue() {
return value;
}
@XmlValue
public void setValue(int value) {
this.value = value;
}
}
|