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="indexName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 020 * <attribute name="tableName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 021 * <attribute name="columns" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 022 * <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 023 * <attribute name="concurrent" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 024 * <attribute name="definition" type="{http://www.w3.org/2001/XMLSchema}string" /> 025 * <attribute name="platforms" type="{http://www.w3.org/2001/XMLSchema}string" /> 026 * </restriction> 027 * </complexContent> 028 * </complexType> 029 * </pre> 030 */ 031@XmlAccessorType(XmlAccessType.FIELD) 032@XmlType(name = "") 033@XmlRootElement(name = "createIndex") 034public class CreateIndex { 035 036 @XmlAttribute(name = "indexName", required = true) 037 protected String indexName; 038 @XmlAttribute(name = "tableName", required = true) 039 protected String tableName; 040 @XmlAttribute(name = "columns", required = true) 041 protected String columns; 042 @XmlAttribute(name = "unique") 043 protected Boolean unique; 044 @XmlAttribute(name = "concurrent") 045 protected Boolean concurrent; 046 @XmlAttribute(name = "definition") 047 protected String definition; 048 @XmlAttribute(name = "platforms") 049 protected String platforms; 050 051 /** 052 * Gets the value of the indexName property. 053 * 054 * @return possible object is 055 * {@link String } 056 */ 057 public String getIndexName() { 058 return indexName; 059 } 060 061 /** 062 * Sets the value of the indexName property. 063 * 064 * @param value allowed object is 065 * {@link String } 066 */ 067 public void setIndexName(String value) { 068 this.indexName = value; 069 } 070 071 /** 072 * Gets the value of the tableName property. 073 * 074 * @return possible object is 075 * {@link String } 076 */ 077 public String getTableName() { 078 return tableName; 079 } 080 081 /** 082 * Sets the value of the tableName property. 083 * 084 * @param value allowed object is 085 * {@link String } 086 */ 087 public void setTableName(String value) { 088 this.tableName = value; 089 } 090 091 /** 092 * Gets the value of the columns property. 093 * 094 * @return possible object is 095 * {@link String } 096 */ 097 public String getColumns() { 098 return columns; 099 } 100 101 /** 102 * Sets the value of the columns property. 103 * 104 * @param value allowed object is 105 * {@link String } 106 */ 107 public void setColumns(String value) { 108 this.columns = value; 109 } 110 111 /** 112 * Gets the value of the unique property. 113 * 114 * @return possible object is 115 * {@link Boolean } 116 */ 117 public Boolean isUnique() { 118 return unique; 119 } 120 121 /** 122 * Sets the value of the unique property. 123 * 124 * @param value allowed object is 125 * {@link Boolean } 126 */ 127 public void setUnique(Boolean value) { 128 this.unique = value; 129 } 130 131 /** 132 * Gets the value of the concurrent property. 133 * 134 * @return possible object is 135 * {@link Boolean } 136 */ 137 public Boolean isConcurrent() { 138 return concurrent; 139 } 140 141 /** 142 * Sets the value of the concurrent property. 143 * 144 * @param value allowed object is 145 * {@link Boolean } 146 */ 147 public void setConcurrent(Boolean value) { 148 this.concurrent = value; 149 } 150 151 /** 152 * Gets the value of the definition property. 153 * 154 * @return possible object is 155 * {@link String } 156 */ 157 public String getDefinition() { 158 return definition; 159 } 160 161 /** 162 * Sets the value of the definition property. 163 * 164 * @param value allowed object is 165 * {@link String } 166 */ 167 public void setDefinition(String value) { 168 this.definition = value; 169 } 170 171 /** 172 * Gets the value of the platforms property. 173 * 174 * @return possible object is 175 * {@link String } 176 */ 177 public String getPlatforms() { 178 return platforms; 179 } 180 181 /** 182 * Sets the value of the platforms property. 183 * 184 * @param value allowed object is 185 * {@link String } 186 */ 187 public void setPlatforms(String value) { 188 this.platforms = value; 189 } 190 191}