org.hibernate.jpamodelgen.xml.jaxb.ConstructorResult Maven / Gradle / Ivy
Show all versions of hibernate-jpamodelgen-jakarta Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.02.06 at 10:57:49 AM UTC
//
package org.hibernate.jpamodelgen.xml.jaxb;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
*
*
* @Target({}) @Retention(RUNTIME)
* public @interface ConstructorResult {
* Class targetClass();
* ColumnResult[] columns();
* }
*
*
*
* Java class for constructor-result complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="constructor-result">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="column" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}column-result" maxOccurs="unbounded"/>
* </sequence>
* <attribute name="target-class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "constructor-result", propOrder = {
"column"
})
public class ConstructorResult {
@XmlElement(required = true)
protected List column;
@XmlAttribute(name = "target-class", required = true)
protected String targetClass;
/**
* Gets the value of the column property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the column property.
*
*
* For example, to add a new item, do as follows:
*
* getColumn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ColumnResult }
*
*
*/
public List getColumn() {
if (column == null) {
column = new ArrayList();
}
return this.column;
}
/**
* Gets the value of the targetClass property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetClass() {
return targetClass;
}
/**
* Sets the value of the targetClass property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetClass(String value) {
this.targetClass = value;
}
}