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="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 020 * <attribute name="columnNames" type="{http://www.w3.org/2001/XMLSchema}string" /> 021 * <attribute name="refColumnNames" type="{http://www.w3.org/2001/XMLSchema}string" /> 022 * <attribute name="refTableName" type="{http://www.w3.org/2001/XMLSchema}string" /> 023 * <attribute name="indexName" type="{http://www.w3.org/2001/XMLSchema}string" /> 024 * <attribute name="tableName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 025 * <attribute name="onDelete" type="{http://www.w3.org/2001/XMLSchema}string" /> 026 * <attribute name="onUpdate" type="{http://www.w3.org/2001/XMLSchema}string" /> 027 * </restriction> 028 * </complexContent> 029 * </complexType> 030 * </pre> 031 */ 032@XmlAccessorType(XmlAccessType.FIELD) 033@XmlType(name = "") 034@XmlRootElement(name = "alterForeignKey") 035public class AlterForeignKey { 036 037 @XmlAttribute(name = "name", required = true) 038 protected String name; 039 @XmlAttribute(name = "columnNames") 040 protected String columnNames; 041 @XmlAttribute(name = "refColumnNames") 042 protected String refColumnNames; 043 @XmlAttribute(name = "refTableName") 044 protected String refTableName; 045 @XmlAttribute(name = "indexName") 046 protected String indexName; 047 @XmlAttribute(name = "tableName", required = true) 048 protected String tableName; 049 @XmlAttribute(name = "onDelete") 050 protected String onDelete; 051 @XmlAttribute(name = "onUpdate") 052 protected String onUpdate; 053 054 /** 055 * Gets the value of the name property. 056 * 057 * @return possible object is 058 * {@link String } 059 */ 060 public String getName() { 061 return name; 062 } 063 064 /** 065 * Sets the value of the name property. 066 * 067 * @param value allowed object is 068 * {@link String } 069 */ 070 public void setName(String value) { 071 this.name = value; 072 } 073 074 /** 075 * Gets the value of the columnNames property. 076 * 077 * @return possible object is 078 * {@link String } 079 */ 080 public String getColumnNames() { 081 return columnNames; 082 } 083 084 /** 085 * Sets the value of the columnNames property. 086 * 087 * @param value allowed object is 088 * {@link String } 089 */ 090 public void setColumnNames(String value) { 091 this.columnNames = value; 092 } 093 094 /** 095 * Gets the value of the refColumnNames property. 096 * 097 * @return possible object is 098 * {@link String } 099 */ 100 public String getRefColumnNames() { 101 return refColumnNames; 102 } 103 104 /** 105 * Sets the value of the refColumnNames property. 106 * 107 * @param value allowed object is 108 * {@link String } 109 */ 110 public void setRefColumnNames(String value) { 111 this.refColumnNames = value; 112 } 113 114 /** 115 * Gets the value of the refTableName property. 116 * 117 * @return possible object is 118 * {@link String } 119 */ 120 public String getRefTableName() { 121 return refTableName; 122 } 123 124 /** 125 * Sets the value of the refTableName property. 126 * 127 * @param value allowed object is 128 * {@link String } 129 */ 130 public void setRefTableName(String value) { 131 this.refTableName = value; 132 } 133 134 /** 135 * Gets the value of the indexName property. 136 * 137 * @return possible object is 138 * {@link String } 139 */ 140 public String getIndexName() { 141 return indexName; 142 } 143 144 /** 145 * Sets the value of the indexName property. 146 * 147 * @param value allowed object is 148 * {@link String } 149 */ 150 public void setIndexName(String value) { 151 this.indexName = value; 152 } 153 154 /** 155 * Gets the value of the tableName property. 156 * 157 * @return possible object is 158 * {@link String } 159 */ 160 public String getTableName() { 161 return tableName; 162 } 163 164 /** 165 * Sets the value of the tableName property. 166 * 167 * @param value allowed object is 168 * {@link String } 169 */ 170 public void setTableName(String value) { 171 this.tableName = value; 172 } 173 174 /** 175 * Gets the value of the onDelete property. 176 * 177 * @return possible object is 178 * {@link String } 179 */ 180 public String getOnDelete() { 181 return onDelete; 182 } 183 184 /** 185 * Sets the value of the onDelete property. 186 * 187 * @param value allowed object is 188 * {@link String } 189 */ 190 public void setOnDelete(String value) { 191 this.onDelete = value; 192 } 193 194 /** 195 * Gets the value of the onUpdate property. 196 * 197 * @return possible object is 198 * {@link String } 199 */ 200 public String getOnUpdate() { 201 return onUpdate; 202 } 203 204 /** 205 * Sets the value of the onUpdate property. 206 * 207 * @param value allowed object is 208 * {@link String } 209 */ 210 public void setOnUpdate(String value) { 211 this.onUpdate = value; 212 } 213 214}