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 changeRecordHide element corresponds to the behavior of hiding a tModel described in the delete_tModel in the Publish API section of this Specification. A tModel listed in a changeRecordHide should be marked as hidden, so that it is not returned in response to a find_tModel API call. 34 35 The changeRecordHide MUST contain a modified timestamp to allow multi-node registries to calculate consistent modifiedIncludingChildren timestamps as described in Section 3.8 operationalInfo Structure. 36 * <p>Java class for anonymous complex type. 37 * 38 * <p>The following schema fragment specifies the expected content contained within this class. 39 * 40 * <pre> 41 * <complexType> 42 * <complexContent> 43 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 44 * <sequence> 45 * <element ref="{urn:uddi-org:api_v3}tModelKey"/> 46 * <element name="modified" type="{urn:uddi-org:api_v3}timeInstant"/> 47 * </sequence> 48 * </restriction> 49 * </complexContent> 50 * </complexType> 51 * </pre> 52 * 53 * 54 */ 55 @XmlAccessorType(XmlAccessType.FIELD) 56 @XmlType(name = "", propOrder = { 57 "tModelKey", 58 "modified" 59 }) 60 @XmlRootElement(name = "changeRecordHide") 61 public class ChangeRecordHide implements Serializable{ 62 @XmlTransient 63 private static final long serialVersionUID = 161128451954472777L; 64 @XmlElement(namespace = "urn:uddi-org:repl_v3", required = true) 65 protected String tModelKey; 66 @XmlElement(required = true) 67 protected XMLGregorianCalendar modified; 68 69 /** 70 * Gets the value of the tModelKey property. 71 * 72 * @return 73 * possible object is 74 * {@link String } 75 * 76 */ 77 public String getTModelKey() { 78 return tModelKey; 79 } 80 81 /** 82 * Sets the value of the tModelKey property. 83 * 84 * @param value 85 * allowed object is 86 * {@link String } 87 * 88 */ 89 public void setTModelKey(String value) { 90 this.tModelKey = value; 91 } 92 93 /** 94 * Gets the value of the modified property. 95 * 96 * @return 97 * possible object is 98 * {@link XMLGregorianCalendar } 99 * 100 */ 101 public XMLGregorianCalendar getModified() { 102 return modified; 103 } 104 105 /** 106 * Sets the value of the modified property. 107 * 108 * @param value 109 * allowed object is 110 * {@link XMLGregorianCalendar } 111 * 112 */ 113 public void setModified(XMLGregorianCalendar value) { 114 this.modified = value; 115 } 116 117 }