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 EntityResult { 025 * Class entityClass(); 026 * FieldResult[] fields() default {}; 027 * String discriminatorColumn() default ""; 028 * } 029 * 030 * 031 * 032 * <p>Java class for entity-result complex type. 033 * 034 * <p>The following schema fragment specifies the expected content contained within this class. 035 * 036 * <pre> 037 * <complexType name="entity-result"> 038 * <complexContent> 039 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 040 * <sequence> 041 * <element name="field-result" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}field-result" maxOccurs="unbounded" minOccurs="0"/> 042 * </sequence> 043 * <attribute name="entity-class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 044 * <attribute name="discriminator-column" type="{http://www.w3.org/2001/XMLSchema}string" /> 045 * </restriction> 046 * </complexContent> 047 * </complexType> 048 * </pre> 049 * 050 * 051 */ 052@XmlAccessorType(XmlAccessType.FIELD) 053@XmlType(name = "entity-result", propOrder = { 054 "fieldResult" 055}) 056public class EntityResult { 057 058 @XmlElement(name = "field-result") 059 protected List<FieldResult> fieldResult; 060 @XmlAttribute(name = "entity-class", required = true) 061 protected String entityClass; 062 @XmlAttribute(name = "discriminator-column") 063 protected String discriminatorColumn; 064 065 /** 066 * Gets the value of the fieldResult property. 067 * 068 * <p> 069 * This accessor method returns a reference to the live list, 070 * not a snapshot. Therefore any modification you make to the 071 * returned list will be present inside the JAXB object. 072 * This is why there is not a <CODE>set</CODE> method for the fieldResult property. 073 * 074 * <p> 075 * For example, to add a new item, do as follows: 076 * <pre> 077 * getFieldResult().add(newItem); 078 * </pre> 079 * 080 * 081 * <p> 082 * Objects of the following type(s) are allowed in the list 083 * {@link FieldResult } 084 * 085 * 086 */ 087 public List<FieldResult> getFieldResult() { 088 if (fieldResult == null) { 089 fieldResult = new ArrayList<FieldResult>(); 090 } 091 return this.fieldResult; 092 } 093 094 /** 095 * Gets the value of the entityClass property. 096 * 097 * @return 098 * possible object is 099 * {@link String } 100 * 101 */ 102 public String getEntityClass() { 103 return entityClass; 104 } 105 106 /** 107 * Sets the value of the entityClass property. 108 * 109 * @param value 110 * allowed object is 111 * {@link String } 112 * 113 */ 114 public void setEntityClass(String value) { 115 this.entityClass = value; 116 } 117 118 /** 119 * Gets the value of the discriminatorColumn property. 120 * 121 * @return 122 * possible object is 123 * {@link String } 124 * 125 */ 126 public String getDiscriminatorColumn() { 127 return discriminatorColumn; 128 } 129 130 /** 131 * Sets the value of the discriminatorColumn property. 132 * 133 * @param value 134 * allowed object is 135 * {@link String } 136 * 137 */ 138 public void setDiscriminatorColumn(String value) { 139 this.discriminatorColumn = value; 140 } 141 142}