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({METHOD, FIELD}) @Retention(RUNTIME) 021 * public @interface JoinColumn { 022 * String name() default ""; 023 * String referencedColumnName() default ""; 024 * boolean unique() default false; 025 * boolean nullable() default true; 026 * boolean insertable() default true; 027 * boolean updatable() default true; 028 * String columnDefinition() default ""; 029 * String table() default ""; 030 * ForeignKey foreignKey() default @ForeignKey(); 031 * } 032 * 033 * 034 * 035 * <p>Java class for join-column complex type. 036 * 037 * <p>The following schema fragment specifies the expected content contained within this class. 038 * 039 * <pre> 040 * <complexType name="join-column"> 041 * <complexContent> 042 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 043 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 044 * <attribute name="referenced-column-name" type="{http://www.w3.org/2001/XMLSchema}string" /> 045 * <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 046 * <attribute name="nullable" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 047 * <attribute name="insertable" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 048 * <attribute name="updatable" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 049 * <attribute name="column-definition" type="{http://www.w3.org/2001/XMLSchema}string" /> 050 * <attribute name="table" type="{http://www.w3.org/2001/XMLSchema}string" /> 051 * </restriction> 052 * </complexContent> 053 * </complexType> 054 * </pre> 055 * 056 * 057 */ 058@XmlAccessorType(XmlAccessType.FIELD) 059@XmlType(name = "join-column") 060public class JoinColumn { 061 062 @XmlAttribute(name = "name") 063 protected String name; 064 @XmlAttribute(name = "referenced-column-name") 065 protected String referencedColumnName; 066 @XmlAttribute(name = "unique") 067 protected Boolean unique; 068 @XmlAttribute(name = "nullable") 069 protected Boolean nullable; 070 @XmlAttribute(name = "insertable") 071 protected Boolean insertable; 072 @XmlAttribute(name = "updatable") 073 protected Boolean updatable; 074 @XmlAttribute(name = "column-definition") 075 protected String columnDefinition; 076 @XmlAttribute(name = "table") 077 protected String table; 078 079 /** 080 * Gets the value of the name property. 081 * 082 * @return 083 * possible object is 084 * {@link String } 085 * 086 */ 087 public String getName() { 088 return name; 089 } 090 091 /** 092 * Sets the value of the name property. 093 * 094 * @param value 095 * allowed object is 096 * {@link String } 097 * 098 */ 099 public void setName(String value) { 100 this.name = value; 101 } 102 103 /** 104 * Gets the value of the referencedColumnName property. 105 * 106 * @return 107 * possible object is 108 * {@link String } 109 * 110 */ 111 public String getReferencedColumnName() { 112 return referencedColumnName; 113 } 114 115 /** 116 * Sets the value of the referencedColumnName property. 117 * 118 * @param value 119 * allowed object is 120 * {@link String } 121 * 122 */ 123 public void setReferencedColumnName(String value) { 124 this.referencedColumnName = value; 125 } 126 127 /** 128 * Gets the value of the unique property. 129 * 130 * @return 131 * possible object is 132 * {@link Boolean } 133 * 134 */ 135 public Boolean isUnique() { 136 return unique; 137 } 138 139 /** 140 * Sets the value of the unique property. 141 * 142 * @param value 143 * allowed object is 144 * {@link Boolean } 145 * 146 */ 147 public void setUnique(Boolean value) { 148 this.unique = value; 149 } 150 151 /** 152 * Gets the value of the nullable property. 153 * 154 * @return 155 * possible object is 156 * {@link Boolean } 157 * 158 */ 159 public Boolean isNullable() { 160 return nullable; 161 } 162 163 /** 164 * Sets the value of the nullable property. 165 * 166 * @param value 167 * allowed object is 168 * {@link Boolean } 169 * 170 */ 171 public void setNullable(Boolean value) { 172 this.nullable = value; 173 } 174 175 /** 176 * Gets the value of the insertable property. 177 * 178 * @return 179 * possible object is 180 * {@link Boolean } 181 * 182 */ 183 public Boolean isInsertable() { 184 return insertable; 185 } 186 187 /** 188 * Sets the value of the insertable property. 189 * 190 * @param value 191 * allowed object is 192 * {@link Boolean } 193 * 194 */ 195 public void setInsertable(Boolean value) { 196 this.insertable = value; 197 } 198 199 /** 200 * Gets the value of the updatable property. 201 * 202 * @return 203 * possible object is 204 * {@link Boolean } 205 * 206 */ 207 public Boolean isUpdatable() { 208 return updatable; 209 } 210 211 /** 212 * Sets the value of the updatable property. 213 * 214 * @param value 215 * allowed object is 216 * {@link Boolean } 217 * 218 */ 219 public void setUpdatable(Boolean value) { 220 this.updatable = value; 221 } 222 223 /** 224 * Gets the value of the columnDefinition property. 225 * 226 * @return 227 * possible object is 228 * {@link String } 229 * 230 */ 231 public String getColumnDefinition() { 232 return columnDefinition; 233 } 234 235 /** 236 * Sets the value of the columnDefinition property. 237 * 238 * @param value 239 * allowed object is 240 * {@link String } 241 * 242 */ 243 public void setColumnDefinition(String value) { 244 this.columnDefinition = value; 245 } 246 247 /** 248 * Gets the value of the table property. 249 * 250 * @return 251 * possible object is 252 * {@link String } 253 * 254 */ 255 public String getTable() { 256 return table; 257 } 258 259 /** 260 * Sets the value of the table property. 261 * 262 * @param value 263 * allowed object is 264 * {@link String } 265 * 266 */ 267 public void setTable(String value) { 268 this.table = value; 269 } 270 271}