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 java.util.ArrayList; 012import java.util.List; 013import javax.xml.bind.annotation.XmlAccessType; 014import javax.xml.bind.annotation.XmlAccessorType; 015import javax.xml.bind.annotation.XmlAttribute; 016import javax.xml.bind.annotation.XmlElement; 017import javax.xml.bind.annotation.XmlType; 018 019 020/** 021 * 022 * 023 * @Target({}) @Retention(RUNTIME) 024 * public @interface ConstructorResult { 025 * Class targetClass(); 026 * ColumnResult[] columns(); 027 * } 028 * 029 * 030 * 031 * <p>Java class for constructor-result complex type. 032 * 033 * <p>The following schema fragment specifies the expected content contained within this class. 034 * 035 * <pre> 036 * <complexType name="constructor-result"> 037 * <complexContent> 038 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 039 * <sequence> 040 * <element name="column" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}column-result" maxOccurs="unbounded"/> 041 * </sequence> 042 * <attribute name="target-class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 043 * </restriction> 044 * </complexContent> 045 * </complexType> 046 * </pre> 047 * 048 * 049 */ 050@XmlAccessorType(XmlAccessType.FIELD) 051@XmlType(name = "constructor-result", propOrder = { 052 "column" 053}) 054public class ConstructorResult { 055 056 @XmlElement(required = true) 057 protected List<ColumnResult> column; 058 @XmlAttribute(name = "target-class", required = true) 059 protected String targetClass; 060 061 /** 062 * Gets the value of the column property. 063 * 064 * <p> 065 * This accessor method returns a reference to the live list, 066 * not a snapshot. Therefore any modification you make to the 067 * returned list will be present inside the JAXB object. 068 * This is why there is not a <CODE>set</CODE> method for the column property. 069 * 070 * <p> 071 * For example, to add a new item, do as follows: 072 * <pre> 073 * getColumn().add(newItem); 074 * </pre> 075 * 076 * 077 * <p> 078 * Objects of the following type(s) are allowed in the list 079 * {@link ColumnResult } 080 * 081 * 082 */ 083 public List<ColumnResult> getColumn() { 084 if (column == null) { 085 column = new ArrayList<ColumnResult>(); 086 } 087 return this.column; 088 } 089 090 /** 091 * Gets the value of the targetClass property. 092 * 093 * @return 094 * possible object is 095 * {@link String } 096 * 097 */ 098 public String getTargetClass() { 099 return targetClass; 100 } 101 102 /** 103 * Sets the value of the targetClass property. 104 * 105 * @param value 106 * allowed object is 107 * {@link String } 108 * 109 */ 110 public void setTargetClass(String value) { 111 this.targetClass = value; 112 } 113 114}