1 /*
2 * Copyright 2001-2008 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
18
19 package org.uddi.repl_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.XmlElement;
26 import javax.xml.bind.annotation.XmlRootElement;
27 import javax.xml.bind.annotation.XmlTransient;
28 import javax.xml.bind.annotation.XmlType;
29 import javax.xml.datatype.XMLGregorianCalendar;
30
31
32 /**
33 * A changeRecordDelete element indicates that an item defined in the UDDI registry is to no longer be used and expunged from the data stores in each of the nodes. The item to be deleted is indicated in the change record by the key of an appropriate entity type; this must contain the unique key of some businessEntity, businessService, bindingTemplate, or tModel that is presently defined. The changeRecordDelete element for deleting tModels corresponds to the administrative deletion of a tModel described in Section 6.1.3 Updates and Deletions of this specification. The changeRecordDelete for a tModel does not correspond to any API described in this specification and should only appear in the replication stream as the result of an administrative function to permanently remove a tModel.
34
35 Permanent deletions of tModel information within the node may be made administratively. In this event, a UDDI Node may insert a delete operation into the replication stream. The publisher identifier for this operation is the account associated with the UDDI Node. Note that a permanent deletion of tModel information from the registry must have the prior approval of the other nodes participating within the registry.
36
37 The changeRecordDelete MUST contain a modified timestamp to allow multi-node registries to calculate consistent modifiedIncludingChildren timestamps as described in Section 3.8 operationalInfo Structure.
38 * <p>Java class for anonymous complex type.
39 *
40 * <p>The following schema fragment specifies the expected content contained within this class.
41 *
42 * <pre>
43 * <complexType>
44 * <complexContent>
45 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
46 * <sequence>
47 * <group ref="{urn:uddi-org:repl_v3}genericKey_type"/>
48 * <element name="modified" type="{urn:uddi-org:api_v3}timeInstant"/>
49 * </sequence>
50 * </restriction>
51 * </complexContent>
52 * </complexType>
53 * </pre>
54 *
55 *
56 */
57 @XmlAccessorType(XmlAccessType.FIELD)
58 @XmlType(name = "", propOrder = {
59 "businessKey",
60 "tModelKey",
61 "serviceKey",
62 "bindingKey",
63 "modified"
64 })
65 @XmlRootElement(name = "changeRecordDelete")
66 public class ChangeRecordDelete implements Serializable{
67 @XmlTransient
68 private static final long serialVersionUID = -7081596275330679517L;
69 @XmlElement(namespace = "urn:uddi-org:repl_v3")
70 protected String businessKey;
71 @XmlElement(namespace = "urn:uddi-org:repl_v3")
72 protected String tModelKey;
73 @XmlElement(namespace = "urn:uddi-org:repl_v3")
74 protected String serviceKey;
75 @XmlElement(namespace = "urn:uddi-org:repl_v3")
76 protected String bindingKey;
77 @XmlElement(required = true)
78 protected XMLGregorianCalendar modified;
79
80 /**
81 * Gets the value of the businessKey property.
82 *
83 * @return
84 * possible object is
85 * {@link String }
86 *
87 */
88 public String getBusinessKey() {
89 return businessKey;
90 }
91
92 /**
93 * Sets the value of the businessKey property.
94 *
95 * @param value
96 * allowed object is
97 * {@link String }
98 *
99 */
100 public void setBusinessKey(String value) {
101 this.businessKey = value;
102 }
103
104 /**
105 * Gets the value of the tModelKey property.
106 *
107 * @return
108 * possible object is
109 * {@link String }
110 *
111 */
112 public String getTModelKey() {
113 return tModelKey;
114 }
115
116 /**
117 * Sets the value of the tModelKey property.
118 *
119 * @param value
120 * allowed object is
121 * {@link String }
122 *
123 */
124 public void setTModelKey(String value) {
125 this.tModelKey = value;
126 }
127
128 /**
129 * Gets the value of the serviceKey property.
130 *
131 * @return
132 * possible object is
133 * {@link String }
134 *
135 */
136 public String getServiceKey() {
137 return serviceKey;
138 }
139
140 /**
141 * Sets the value of the serviceKey property.
142 *
143 * @param value
144 * allowed object is
145 * {@link String }
146 *
147 */
148 public void setServiceKey(String value) {
149 this.serviceKey = value;
150 }
151
152 /**
153 * Gets the value of the bindingKey property.
154 *
155 * @return
156 * possible object is
157 * {@link String }
158 *
159 */
160 public String getBindingKey() {
161 return bindingKey;
162 }
163
164 /**
165 * Sets the value of the bindingKey property.
166 *
167 * @param value
168 * allowed object is
169 * {@link String }
170 *
171 */
172 public void setBindingKey(String value) {
173 this.bindingKey = value;
174 }
175
176 /**
177 * Gets the value of the modified property.
178 *
179 * @return
180 * possible object is
181 * {@link XMLGregorianCalendar }
182 *
183 */
184 public XMLGregorianCalendar getModified() {
185 return modified;
186 }
187
188 /**
189 * Sets the value of the modified property.
190 *
191 * @param value
192 * allowed object is
193 * {@link XMLGregorianCalendar }
194 *
195 */
196 public void setModified(XMLGregorianCalendar value) {
197 this.modified = value;
198 }
199
200 }