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.XmlSchemaType; 015import javax.xml.bind.annotation.XmlType; 016 017 018/** 019 * 020 * 021 * @Target({METHOD, FIELD}) @Retention(RUNTIME) 022 * public @interface Version {} 023 * 024 * 025 * 026 * <p>Java class for version complex type. 027 * 028 * <p>The following schema fragment specifies the expected content contained within this class. 029 * 030 * <pre> 031 * <complexType name="version"> 032 * <complexContent> 033 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 034 * <sequence> 035 * <element name="column" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}column" minOccurs="0"/> 036 * <element name="temporal" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}temporal" minOccurs="0"/> 037 * </sequence> 038 * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 039 * <attribute name="access" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}access-type" /> 040 * </restriction> 041 * </complexContent> 042 * </complexType> 043 * </pre> 044 * 045 * 046 */ 047@XmlAccessorType(XmlAccessType.FIELD) 048@XmlType(name = "version", propOrder = { 049 "column", 050 "temporal" 051}) 052public class Version { 053 054 protected Column column; 055 @XmlSchemaType(name = "token") 056 protected TemporalType temporal; 057 @XmlAttribute(name = "name", required = true) 058 protected String name; 059 @XmlAttribute(name = "access") 060 protected AccessType access; 061 062 /** 063 * Gets the value of the column property. 064 * 065 * @return 066 * possible object is 067 * {@link Column } 068 * 069 */ 070 public Column getColumn() { 071 return column; 072 } 073 074 /** 075 * Sets the value of the column property. 076 * 077 * @param value 078 * allowed object is 079 * {@link Column } 080 * 081 */ 082 public void setColumn(Column value) { 083 this.column = value; 084 } 085 086 /** 087 * Gets the value of the temporal property. 088 * 089 * @return 090 * possible object is 091 * {@link TemporalType } 092 * 093 */ 094 public TemporalType getTemporal() { 095 return temporal; 096 } 097 098 /** 099 * Sets the value of the temporal property. 100 * 101 * @param value 102 * allowed object is 103 * {@link TemporalType } 104 * 105 */ 106 public void setTemporal(TemporalType value) { 107 this.temporal = value; 108 } 109 110 /** 111 * Gets the value of the name property. 112 * 113 * @return 114 * possible object is 115 * {@link String } 116 * 117 */ 118 public String getName() { 119 return name; 120 } 121 122 /** 123 * Sets the value of the name property. 124 * 125 * @param value 126 * allowed object is 127 * {@link String } 128 * 129 */ 130 public void setName(String value) { 131 this.name = value; 132 } 133 134 /** 135 * Gets the value of the access property. 136 * 137 * @return 138 * possible object is 139 * {@link AccessType } 140 * 141 */ 142 public AccessType getAccess() { 143 return access; 144 } 145 146 /** 147 * Sets the value of the access property. 148 * 149 * @param value 150 * allowed object is 151 * {@link AccessType } 152 * 153 */ 154 public void setAccess(AccessType value) { 155 this.access = value; 156 } 157 158}