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 30 31 /** 32 * <p>Java class for anonymous complex type. 33 * 34 * <p>The following schema fragment specifies the expected content contained within this class. 35 * 36 * <pre> 37 * <complexType> 38 * <complexContent> 39 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 40 * <sequence> 41 * <element name="notifyingNode" type="{urn:uddi-org:repl_v3}operatorNodeID_type"/> 42 * <element name="changesAvailable" type="{urn:uddi-org:repl_v3}highWaterMarkVector_type"/> 43 * </sequence> 44 * </restriction> 45 * </complexContent> 46 * </complexType> 47 * </pre> 48 * 49 * 50 */ 51 @XmlAccessorType(XmlAccessType.FIELD) 52 @XmlType(name = "", propOrder = { 53 "notifyingNode", 54 "changesAvailable" 55 }) 56 @XmlRootElement(name = "notify_changeRecordsAvailable") 57 public class NotifyChangeRecordsAvailable implements Serializable{ 58 public NotifyChangeRecordsAvailable(){} 59 /** 60 * 61 * @param node notifying node 62 * @param changesAvailable latest record available 63 */ 64 public NotifyChangeRecordsAvailable(String node, HighWaterMarkVectorType changesAvailable){ 65 this.notifyingNode = node; 66 this.changesAvailable = changesAvailable; 67 } 68 @XmlTransient 69 private static final long serialVersionUID = -8280288001706059769L; 70 @XmlElement(required = true) 71 protected String notifyingNode; 72 @XmlElement(required = true) 73 protected HighWaterMarkVectorType changesAvailable; 74 75 /** 76 * Gets the value of the notifyingNode property. 77 * 78 * @return 79 * possible object is 80 * {@link String } 81 * 82 */ 83 public String getNotifyingNode() { 84 return notifyingNode; 85 } 86 87 /** 88 * Sets the value of the notifyingNode property. 89 * 90 * @param value 91 * allowed object is 92 * {@link String } 93 * 94 */ 95 public void setNotifyingNode(String value) { 96 this.notifyingNode = value; 97 } 98 99 /** 100 * Gets the value of the changesAvailable property. 101 * 102 * @return 103 * possible object is 104 * {@link HighWaterMarkVectorType } 105 * 106 */ 107 public HighWaterMarkVectorType getChangesAvailable() { 108 return changesAvailable; 109 } 110 111 /** 112 * Sets the value of the changesAvailable property. 113 * 114 * @param value 115 * allowed object is 116 * {@link HighWaterMarkVectorType } 117 * 118 */ 119 public void setChangesAvailable(HighWaterMarkVectorType value) { 120 this.changesAvailable = value; 121 } 122 123 }