001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 003// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2018.12.10 at 03:02:30 PM PST 006// 007 008 009package org.microbean.jpa.jaxb; 010 011import javax.xml.bind.annotation.XmlAccessType; 012import javax.xml.bind.annotation.XmlAccessorType; 013import javax.xml.bind.annotation.XmlAttribute; 014import javax.xml.bind.annotation.XmlType; 015 016 017/** 018 * 019 * 020 * @Target({}) @Retention(RUNTIME) 021 * public @interface Index { 022 * String name() default ""; 023 * String columnList(); 024 * boolean unique() default false; 025 * } 026 * 027 * 028 * 029 * <p>Java class for index complex type. 030 * 031 * <p>The following schema fragment specifies the expected content contained within this class. 032 * 033 * <pre> 034 * <complexType name="index"> 035 * <complexContent> 036 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 037 * <sequence> 038 * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 039 * </sequence> 040 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 041 * <attribute name="column-list" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 042 * <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 043 * </restriction> 044 * </complexContent> 045 * </complexType> 046 * </pre> 047 * 048 * 049 */ 050@XmlAccessorType(XmlAccessType.FIELD) 051@XmlType(name = "index", propOrder = { 052 "description" 053}) 054public class Index { 055 056 protected String description; 057 @XmlAttribute(name = "name") 058 protected String name; 059 @XmlAttribute(name = "column-list", required = true) 060 protected String columnList; 061 @XmlAttribute(name = "unique") 062 protected Boolean unique; 063 064 /** 065 * Gets the value of the description property. 066 * 067 * @return 068 * possible object is 069 * {@link String } 070 * 071 */ 072 public String getDescription() { 073 return description; 074 } 075 076 /** 077 * Sets the value of the description property. 078 * 079 * @param value 080 * allowed object is 081 * {@link String } 082 * 083 */ 084 public void setDescription(String value) { 085 this.description = value; 086 } 087 088 /** 089 * Gets the value of the name property. 090 * 091 * @return 092 * possible object is 093 * {@link String } 094 * 095 */ 096 public String getName() { 097 return name; 098 } 099 100 /** 101 * Sets the value of the name property. 102 * 103 * @param value 104 * allowed object is 105 * {@link String } 106 * 107 */ 108 public void setName(String value) { 109 this.name = value; 110 } 111 112 /** 113 * Gets the value of the columnList property. 114 * 115 * @return 116 * possible object is 117 * {@link String } 118 * 119 */ 120 public String getColumnList() { 121 return columnList; 122 } 123 124 /** 125 * Sets the value of the columnList property. 126 * 127 * @param value 128 * allowed object is 129 * {@link String } 130 * 131 */ 132 public void setColumnList(String value) { 133 this.columnList = value; 134 } 135 136 /** 137 * Gets the value of the unique property. 138 * 139 * @return 140 * possible object is 141 * {@link Boolean } 142 * 143 */ 144 public Boolean isUnique() { 145 return unique; 146 } 147 148 /** 149 * Sets the value of the unique property. 150 * 151 * @param value 152 * allowed object is 153 * {@link Boolean } 154 * 155 */ 156 public void setUnique(Boolean value) { 157 this.unique = value; 158 } 159 160}