001package io.ebeaninternal.dbmigration.migration; 002 003import javax.xml.bind.annotation.XmlAccessType; 004import javax.xml.bind.annotation.XmlAccessorType; 005import javax.xml.bind.annotation.XmlAttribute; 006import javax.xml.bind.annotation.XmlRootElement; 007import javax.xml.bind.annotation.XmlType; 008 009 010/** 011 * <p>Java class for anonymous complex type. 012 * 013 * <p>The following schema fragment specifies the expected content contained within this class. 014 * 015 * <pre> 016 * <complexType> 017 * <complexContent> 018 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 019 * <attribute name="oldName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 020 * <attribute name="newName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 021 * </restriction> 022 * </complexContent> 023 * </complexType> 024 * </pre> 025 */ 026@XmlAccessorType(XmlAccessType.FIELD) 027@XmlType(name = "") 028@XmlRootElement(name = "renameTable") 029public class RenameTable { 030 031 @XmlAttribute(name = "oldName", required = true) 032 protected String oldName; 033 @XmlAttribute(name = "newName", required = true) 034 protected String newName; 035 036 /** 037 * Gets the value of the oldName property. 038 * 039 * @return possible object is 040 * {@link String } 041 */ 042 public String getOldName() { 043 return oldName; 044 } 045 046 /** 047 * Sets the value of the oldName property. 048 * 049 * @param value allowed object is 050 * {@link String } 051 */ 052 public void setOldName(String value) { 053 this.oldName = value; 054 } 055 056 /** 057 * Gets the value of the newName property. 058 * 059 * @return possible object is 060 * {@link String } 061 */ 062 public String getNewName() { 063 return newName; 064 } 065 066 /** 067 * Sets the value of the newName property. 068 * 069 * @param value allowed object is 070 * {@link String } 071 */ 072 public void setNewName(String value) { 073 this.newName = value; 074 } 075 076}