This project has retired. For details please refer to its Attic page.
ChangeRecordNewData xref
View Javadoc
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 org.uddi.api_v3.BindingTemplate;
30  import org.uddi.api_v3.BusinessEntity;
31  import org.uddi.api_v3.BusinessService;
32  import org.uddi.api_v3.OperationalInfo;
33  import org.uddi.api_v3.TModel;
34  
35  
36  /**
37   * <img src="http://www.uddi.org/pubs/uddi-v3.0.2-20041019_files/image112.gif"><Br>
38   * A changeRecordNewData MUST not be empty; it must contain a valid semantic piece of new data. Change records of this type provide new or updated business or modeling information that is to be incorporated. Partial updates to a datum are not provided for; rather, the entire new contents of the datum and its operationalInfo are to be provided, and these replace any existing definition of the datum and its operationalInfo with the recipient of the change record. The hidden state (i.e. the deleted attribute) must be persisted through replication to allow for a custody transfer of hidden tModels between nodes via the replication protocol.
39  
40  The operationalInfo element MUST contain the operational information associated with the indicated new data. No validation other than schema assessment and presence requirements are performed by the consuming node. Specifically, the creation date may change; the creation date need not be earlier than the modification date; the modification date need not be earlier than the modified including children date.
41  
42  A changeRecordNewData is considered "successfully processed" once a node has received it, assigned a local USN to it, validated it, durably stored it in its change record journal, and then successfully incorporated it into the node’s data store.
43   * <p>Java class for anonymous complex type.
44   * 
45   * <p>The following schema fragment specifies the expected content contained within this class.
46   * 
47   * <pre>
48   * &lt;complexType>
49   *   &lt;complexContent>
50   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51   *       &lt;sequence>
52   *         &lt;choice>
53   *           &lt;element ref="{urn:uddi-org:api_v3}businessEntity"/>
54   *           &lt;element ref="{urn:uddi-org:api_v3}businessService"/>
55   *           &lt;element ref="{urn:uddi-org:api_v3}bindingTemplate"/>
56   *           &lt;element ref="{urn:uddi-org:api_v3}tModel"/>
57   *         &lt;/choice>
58   *         &lt;element ref="{urn:uddi-org:api_v3}operationalInfo"/>
59   *       &lt;/sequence>
60   *     &lt;/restriction>
61   *   &lt;/complexContent>
62   * &lt;/complexType>
63   * </pre>
64   * 
65   * 
66   */
67  @XmlAccessorType(XmlAccessType.FIELD)
68  @XmlType(name = "", propOrder = {
69      "businessEntity",
70      "businessService",
71      "bindingTemplate",
72      "tModel",
73      "operationalInfo"
74  })
75  @XmlRootElement(name = "changeRecordNewData")
76  public class ChangeRecordNewData implements Serializable{
77  	@XmlTransient
78  	private static final long serialVersionUID = 3254341966186893497L;
79  	@XmlElement(namespace = "urn:uddi-org:api_v3")
80      protected BusinessEntity businessEntity;
81      @XmlElement(namespace = "urn:uddi-org:api_v3")
82      protected BusinessService businessService;
83      @XmlElement(namespace = "urn:uddi-org:api_v3")
84      protected BindingTemplate bindingTemplate;
85      @XmlElement(namespace = "urn:uddi-org:api_v3")
86      protected TModel tModel;
87      @XmlElement(namespace = "urn:uddi-org:api_v3", required = true)
88      protected OperationalInfo operationalInfo;
89  
90      /**
91       * Gets the value of the businessEntity property.
92       * 
93       * @return
94       *     possible object is
95       *     {@link BusinessEntity }
96       *     
97       */
98      public BusinessEntity getBusinessEntity() {
99          return businessEntity;
100     }
101 
102     /**
103      * Sets the value of the businessEntity property.
104      * 
105      * @param value
106      *     allowed object is
107      *     {@link BusinessEntity }
108      *     
109      */
110     public void setBusinessEntity(BusinessEntity value) {
111         this.businessEntity = value;
112     }
113 
114     /**
115      * Gets the value of the businessService property.
116      * 
117      * @return
118      *     possible object is
119      *     {@link BusinessService }
120      *     
121      */
122     public BusinessService getBusinessService() {
123         return businessService;
124     }
125 
126     /**
127      * Sets the value of the businessService property.
128      * 
129      * @param value
130      *     allowed object is
131      *     {@link BusinessService }
132      *     
133      */
134     public void setBusinessService(BusinessService value) {
135         this.businessService = value;
136     }
137 
138     /**
139      * Gets the value of the bindingTemplate property.
140      * 
141      * @return
142      *     possible object is
143      *     {@link BindingTemplate }
144      *     
145      */
146     public BindingTemplate getBindingTemplate() {
147         return bindingTemplate;
148     }
149 
150     /**
151      * Sets the value of the bindingTemplate property.
152      * 
153      * @param value
154      *     allowed object is
155      *     {@link BindingTemplate }
156      *     
157      */
158     public void setBindingTemplate(BindingTemplate value) {
159         this.bindingTemplate = value;
160     }
161 
162     /**
163      * Gets the value of the tModel property.
164      * 
165      * @return
166      *     possible object is
167      *     {@link TModel }
168      *     
169      */
170     public TModel getTModel() {
171         return tModel;
172     }
173 
174     /**
175      * Sets the value of the tModel property.
176      * 
177      * @param value
178      *     allowed object is
179      *     {@link TModel }
180      *     
181      */
182     public void setTModel(TModel value) {
183         this.tModel = value;
184     }
185 
186     /**
187      * Gets the value of the operationalInfo property.
188      * 
189      * @return
190      *     possible object is
191      *     {@link OperationalInfo }
192      *     
193      */
194     public OperationalInfo getOperationalInfo() {
195         return operationalInfo;
196     }
197 
198     /**
199      * Sets the value of the operationalInfo property.
200      * 
201      * @param value
202      *     allowed object is
203      *     {@link OperationalInfo }
204      *     
205      */
206     public void setOperationalInfo(OperationalInfo value) {
207         this.operationalInfo = value;
208     }
209 
210 }