1 /*
2 * Copyright 2001-2009 The Apache Software Foundation.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17 package org.apache.juddi.api_v3;
18
19 import javax.xml.bind.annotation.XmlAccessType;
20 import javax.xml.bind.annotation.XmlAccessorType;
21 import javax.xml.bind.annotation.XmlElement;
22 import javax.xml.bind.annotation.XmlSchemaType;
23 import javax.xml.bind.annotation.XmlType;
24 import javax.xml.datatype.XMLGregorianCalendar;
25
26
27 /**
28 * <p>Java class for clientSubscriptionInfo complex type.
29 *
30 * <p>The following schema fragment specifies the expected content contained within this class.
31 *
32 * <pre>
33 * <complexType name="clientSubscriptionInfo">
34 * <complexContent>
35 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36 * <sequence>
37 * <element name="subscriptionKey" type="{http://www.w3.org/2001/XMLSchema}string"/>
38 * <element name="fromClerk" type="{urn:juddi-apache-org:api_v3}clerk"/>
39 * <element name="toClerk" type="{urn:juddi-apache-org:api_v3}clerk"/>
40 * <element name="lastModified" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
41 * <element name="lastNotified" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
42 * </sequence>
43 * </restriction>
44 * </complexContent>
45 * </complexType>
46 * </pre>
47 *
48 *
49 */
50 @XmlAccessorType(XmlAccessType.FIELD)
51 @XmlType(name = "clientSubscriptionInfo", propOrder = {
52 "subscriptionKey",
53 "fromClerk",
54 "toClerk",
55 "lastModified",
56 "lastNotified"
57 })
58 public class ClientSubscriptionInfo {
59
60 @XmlElement(required = true)
61 protected String subscriptionKey;
62 @XmlElement(required = true)
63 protected Clerk fromClerk;
64 @XmlElement(required = true)
65 protected Clerk toClerk;
66 @XmlSchemaType(name = "dateTime")
67 protected XMLGregorianCalendar lastModified;
68 @XmlSchemaType(name = "dateTime")
69 protected XMLGregorianCalendar lastNotified;
70
71 /**
72 * Gets the value of the subscriptionKey property.
73 *
74 * @return
75 * possible object is
76 * {@link String }
77 *
78 */
79 public String getSubscriptionKey() {
80 return subscriptionKey;
81 }
82
83 /**
84 * Sets the value of the subscriptionKey property.
85 *
86 * @param value
87 * allowed object is
88 * {@link String }
89 *
90 */
91 public void setSubscriptionKey(String value) {
92 this.subscriptionKey = value;
93 }
94
95 /**
96 * Gets the value of the fromClerk property.
97 *
98 * @return
99 * possible object is
100 * {@link Clerk }
101 *
102 */
103 public Clerk getFromClerk() {
104 return fromClerk;
105 }
106
107 /**
108 * Sets the value of the fromClerk property.
109 *
110 * @param value
111 * allowed object is
112 * {@link Clerk }
113 *
114 */
115 public void setFromClerk(Clerk value) {
116 this.fromClerk = value;
117 }
118
119 /**
120 * Gets the value of the toClerk property.
121 *
122 * @return
123 * possible object is
124 * {@link Clerk }
125 *
126 */
127 public Clerk getToClerk() {
128 return toClerk;
129 }
130
131 /**
132 * Sets the value of the toClerk property.
133 *
134 * @param value
135 * allowed object is
136 * {@link Clerk }
137 *
138 */
139 public void setToClerk(Clerk value) {
140 this.toClerk = value;
141 }
142
143 /**
144 * Gets the value of the lastModified property.
145 *
146 * @return
147 * possible object is
148 * {@link XMLGregorianCalendar }
149 *
150 */
151 public XMLGregorianCalendar getLastModified() {
152 return lastModified;
153 }
154
155 /**
156 * Sets the value of the lastModified property.
157 *
158 * @param value
159 * allowed object is
160 * {@link XMLGregorianCalendar }
161 *
162 */
163 public void setLastModified(XMLGregorianCalendar value) {
164 this.lastModified = value;
165 }
166
167 /**
168 * Gets the value of the lastNotified property.
169 *
170 * @return
171 * possible object is
172 * {@link XMLGregorianCalendar }
173 *
174 */
175 public XMLGregorianCalendar getLastNotified() {
176 return lastNotified;
177 }
178
179 /**
180 * Sets the value of the lastNotified property.
181 *
182 * @param value
183 * allowed object is
184 * {@link XMLGregorianCalendar }
185 *
186 */
187 public void setLastNotified(XMLGregorianCalendar value) {
188 this.lastNotified = value;
189 }
190
191 }