This project has retired. For details please refer to its
Attic page.
Email xref
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.uddi.api_v3;
20
21 import java.io.Serializable;
22
23 import javax.xml.bind.annotation.XmlAccessType;
24 import javax.xml.bind.annotation.XmlAccessorType;
25 import javax.xml.bind.annotation.XmlAttribute;
26 import javax.xml.bind.annotation.XmlTransient;
27 import javax.xml.bind.annotation.XmlType;
28 import javax.xml.bind.annotation.XmlValue;
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48 @XmlAccessorType(XmlAccessType.FIELD)
49 @XmlType(name = "email", propOrder = {
50 "value"
51 })
52 public class Email implements Serializable{
53 public Email(){}
54 public Email(String val, String type){
55 value=val;
56 useType=type;
57 }
58 @XmlTransient
59 private static final long serialVersionUID = -1865977988663098552L;
60 @XmlValue
61 protected String value;
62 @XmlAttribute
63 protected String useType;
64
65
66
67
68
69
70
71
72
73 public String getValue() {
74 return value;
75 }
76
77
78
79
80
81
82
83
84
85 public void setValue(String value) {
86 this.value = value;
87 }
88
89
90
91
92
93
94
95
96
97 public String getUseType() {
98 if (useType == null) {
99 return "";
100 } else {
101 return useType;
102 }
103 }
104
105
106
107
108
109
110
111
112
113 public void setUseType(String value) {
114 this.useType = value;
115 }
116
117 }