This project has retired. For details please refer to its Attic page.
ChangeRecord.java

ChangeRecord.java

  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. package org.uddi.repl_v3;

  18. import java.io.Serializable;

  19. import javax.xml.bind.annotation.XmlAccessType;
  20. import javax.xml.bind.annotation.XmlAccessorType;
  21. import javax.xml.bind.annotation.XmlAttribute;
  22. import javax.xml.bind.annotation.XmlElement;
  23. import javax.xml.bind.annotation.XmlRootElement;
  24. import javax.xml.bind.annotation.XmlTransient;
  25. import javax.xml.bind.annotation.XmlType;


  26. /**
  27.  * <p>Java class for anonymous complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType>
  33.  *   &lt;complexContent>
  34.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  35.  *       &lt;sequence>
  36.  *         &lt;element name="changeID" type="{urn:uddi-org:repl_v3}changeRecordID_type"/>
  37.  *         &lt;group ref="{urn:uddi-org:repl_v3}changeRecordPayload_type"/>
  38.  *       &lt;/sequence>
  39.  *       &lt;attribute name="acknowledgementRequested" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
  40.  *     &lt;/restriction>
  41.  *   &lt;/complexContent>
  42.  * &lt;/complexType>
  43.  * </pre>
  44.  *
  45.  *
  46.  */
  47. @XmlAccessorType(XmlAccessType.FIELD)
  48. @XmlType(name = "", propOrder = {
  49.     "changeID",
  50.     "changeRecordNull",
  51.     "changeRecordNewData",
  52.     "changeRecordDelete",
  53.     "changeRecordPublisherAssertion",
  54.     "changeRecordHide",
  55.     "changeRecordDeleteAssertion",
  56.     "changeRecordAcknowledgement",
  57.     "changeRecordCorrection",
  58.     "changeRecordNewDataConditional",
  59.     "changeRecordConditionFailed"
  60. })
  61. @XmlRootElement(name = "changeRecord")
  62. public class ChangeRecord implements Serializable{
  63.     @XmlTransient
  64.     private static final long serialVersionUID = 5218553502385587391L;
  65.     @XmlElement(required = true)
  66.     protected ChangeRecordIDType changeID;
  67.     protected Object changeRecordNull;
  68.     protected ChangeRecordNewData changeRecordNewData;
  69.     protected ChangeRecordDelete changeRecordDelete;
  70.     protected ChangeRecordPublisherAssertion changeRecordPublisherAssertion;
  71.     protected ChangeRecordHide changeRecordHide;
  72.     protected ChangeRecordDeleteAssertion changeRecordDeleteAssertion;
  73.     protected ChangeRecordAcknowledgement changeRecordAcknowledgement;
  74.     protected ChangeRecordCorrection changeRecordCorrection;
  75.     protected ChangeRecordNewDataConditional changeRecordNewDataConditional;
  76.     protected ChangeRecordConditionFailed changeRecordConditionFailed;
  77.     @XmlAttribute(required = true)
  78.     protected boolean acknowledgementRequested;

  79.     /**
  80.      * Gets the value of the changeID property.
  81.      *
  82.      * @return
  83.      *     possible object is
  84.      *     {@link ChangeRecordIDType }
  85.      *    
  86.      */
  87.     public ChangeRecordIDType getChangeID() {
  88.         return changeID;
  89.     }

  90.     /**
  91.      * Sets the value of the changeID property.
  92.      *
  93.      * @param value
  94.      *     allowed object is
  95.      *     {@link ChangeRecordIDType }
  96.      *    
  97.      */
  98.     public void setChangeID(ChangeRecordIDType value) {
  99.         this.changeID = value;
  100.     }

  101.     /**
  102.      * Gets the value of the changeRecordNull property.
  103.      *
  104.      * @return
  105.      *     possible object is
  106.      *     {@link Object }
  107.      *    
  108.      */
  109.     public Object getChangeRecordNull() {
  110.         return changeRecordNull;
  111.     }

  112.     /**
  113.      * Sets the value of the changeRecordNull property.
  114.      *
  115.      * @param value
  116.      *     allowed object is
  117.      *     {@link Object }
  118.      *    
  119.      */
  120.     public void setChangeRecordNull(Object value) {
  121.         this.changeRecordNull = value;
  122.     }

  123.     /**
  124.      * Gets the value of the changeRecordNewData property.
  125.      *
  126.      * @return
  127.      *     possible object is
  128.      *     {@link ChangeRecordNewData }
  129.      *    
  130.      */
  131.     public ChangeRecordNewData getChangeRecordNewData() {
  132.         return changeRecordNewData;
  133.     }

  134.     /**
  135.      * Sets the value of the changeRecordNewData property.
  136.      *
  137.      * @param value
  138.      *     allowed object is
  139.      *     {@link ChangeRecordNewData }
  140.      *    
  141.      */
  142.     public void setChangeRecordNewData(ChangeRecordNewData value) {
  143.         this.changeRecordNewData = value;
  144.     }

  145.     /**
  146.      * Gets the value of the changeRecordDelete property.
  147.      *
  148.      * @return
  149.      *     possible object is
  150.      *     {@link ChangeRecordDelete }
  151.      *    
  152.      */
  153.     public ChangeRecordDelete getChangeRecordDelete() {
  154.         return changeRecordDelete;
  155.     }

  156.     /**
  157.      * Sets the value of the changeRecordDelete property.
  158.      *
  159.      * @param value
  160.      *     allowed object is
  161.      *     {@link ChangeRecordDelete }
  162.      *    
  163.      */
  164.     public void setChangeRecordDelete(ChangeRecordDelete value) {
  165.         this.changeRecordDelete = value;
  166.     }

  167.     /**
  168.      * Gets the value of the changeRecordPublisherAssertion property.
  169.      *
  170.      * @return
  171.      *     possible object is
  172.      *     {@link ChangeRecordPublisherAssertion }
  173.      *    
  174.      */
  175.     public ChangeRecordPublisherAssertion getChangeRecordPublisherAssertion() {
  176.         return changeRecordPublisherAssertion;
  177.     }

  178.     /**
  179.      * Sets the value of the changeRecordPublisherAssertion property.
  180.      *
  181.      * @param value
  182.      *     allowed object is
  183.      *     {@link ChangeRecordPublisherAssertion }
  184.      *    
  185.      */
  186.     public void setChangeRecordPublisherAssertion(ChangeRecordPublisherAssertion value) {
  187.         this.changeRecordPublisherAssertion = value;
  188.     }

  189.     /**
  190.      * Gets the value of the changeRecordHide property.
  191.      *
  192.      * @return
  193.      *     possible object is
  194.      *     {@link ChangeRecordHide }
  195.      *    
  196.      */
  197.     public ChangeRecordHide getChangeRecordHide() {
  198.         return changeRecordHide;
  199.     }

  200.     /**
  201.      * Sets the value of the changeRecordHide property.
  202.      *
  203.      * @param value
  204.      *     allowed object is
  205.      *     {@link ChangeRecordHide }
  206.      *    
  207.      */
  208.     public void setChangeRecordHide(ChangeRecordHide value) {
  209.         this.changeRecordHide = value;
  210.     }

  211.     /**
  212.      * Gets the value of the changeRecordDeleteAssertion property.
  213.      *
  214.      * @return
  215.      *     possible object is
  216.      *     {@link ChangeRecordDeleteAssertion }
  217.      *    
  218.      */
  219.     public ChangeRecordDeleteAssertion getChangeRecordDeleteAssertion() {
  220.         return changeRecordDeleteAssertion;
  221.     }

  222.     /**
  223.      * Sets the value of the changeRecordDeleteAssertion property.
  224.      *
  225.      * @param value
  226.      *     allowed object is
  227.      *     {@link ChangeRecordDeleteAssertion }
  228.      *    
  229.      */
  230.     public void setChangeRecordDeleteAssertion(ChangeRecordDeleteAssertion value) {
  231.         this.changeRecordDeleteAssertion = value;
  232.     }

  233.     /**
  234.      * Gets the value of the changeRecordAcknowledgement property.
  235.      *
  236.      * @return
  237.      *     possible object is
  238.      *     {@link ChangeRecordAcknowledgement }
  239.      *    
  240.      */
  241.     public ChangeRecordAcknowledgement getChangeRecordAcknowledgement() {
  242.         return changeRecordAcknowledgement;
  243.     }

  244.     /**
  245.      * Sets the value of the changeRecordAcknowledgement property.
  246.      *
  247.      * @param value
  248.      *     allowed object is
  249.      *     {@link ChangeRecordAcknowledgement }
  250.      *    
  251.      */
  252.     public void setChangeRecordAcknowledgement(ChangeRecordAcknowledgement value) {
  253.         this.changeRecordAcknowledgement = value;
  254.     }

  255.     /**
  256.      * Gets the value of the changeRecordCorrection property.
  257.      *
  258.      * @return
  259.      *     possible object is
  260.      *     {@link ChangeRecordCorrection }
  261.      *    
  262.      */
  263.     public ChangeRecordCorrection getChangeRecordCorrection() {
  264.         return changeRecordCorrection;
  265.     }

  266.     /**
  267.      * Sets the value of the changeRecordCorrection property.
  268.      *
  269.      * @param value
  270.      *     allowed object is
  271.      *     {@link ChangeRecordCorrection }
  272.      *    
  273.      */
  274.     public void setChangeRecordCorrection(ChangeRecordCorrection value) {
  275.         this.changeRecordCorrection = value;
  276.     }

  277.     /**
  278.      * Gets the value of the changeRecordNewDataConditional property.
  279.      *
  280.      * @return
  281.      *     possible object is
  282.      *     {@link ChangeRecordNewDataConditional }
  283.      *    
  284.      */
  285.     public ChangeRecordNewDataConditional getChangeRecordNewDataConditional() {
  286.         return changeRecordNewDataConditional;
  287.     }

  288.     /**
  289.      * Sets the value of the changeRecordNewDataConditional property.
  290.      *
  291.      * @param value
  292.      *     allowed object is
  293.      *     {@link ChangeRecordNewDataConditional }
  294.      *    
  295.      */
  296.     public void setChangeRecordNewDataConditional(ChangeRecordNewDataConditional value) {
  297.         this.changeRecordNewDataConditional = value;
  298.     }

  299.     /**
  300.      * Gets the value of the changeRecordConditionFailed property.
  301.      *
  302.      * @return
  303.      *     possible object is
  304.      *     {@link ChangeRecordConditionFailed }
  305.      *    
  306.      */
  307.     public ChangeRecordConditionFailed getChangeRecordConditionFailed() {
  308.         return changeRecordConditionFailed;
  309.     }

  310.     /**
  311.      * Sets the value of the changeRecordConditionFailed property.
  312.      *
  313.      * @param value
  314.      *     allowed object is
  315.      *     {@link ChangeRecordConditionFailed }
  316.      *    
  317.      */
  318.     public void setChangeRecordConditionFailed(ChangeRecordConditionFailed value) {
  319.         this.changeRecordConditionFailed = value;
  320.     }

  321.     /**
  322.      * Gets the value of the acknowledgementRequested property.
  323.      *
  324.      */
  325.     public boolean isAcknowledgementRequested() {
  326.         return acknowledgementRequested;
  327.     }

  328.     /**
  329.      * Sets the value of the acknowledgementRequested property.
  330.      *
  331.      */
  332.     public void setAcknowledgementRequested(boolean value) {
  333.         this.acknowledgementRequested = value;
  334.     }

  335. }