public class ConstructorResult extends Object
@Target({}) @Retention(RUNTIME) public @interface ConstructorResult { Class targetClass(); ColumnResult[] columns(); }
<p>Java class for constructor-result complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <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> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected List<ColumnResult> |
column |
protected String |
targetClass |
| Constructor and Description |
|---|
ConstructorResult() |
| Modifier and Type | Method and Description |
|---|---|
List<ColumnResult> |
getColumn()
Gets the value of the column property.
|
String |
getTargetClass()
Gets the value of the targetClass property.
|
void |
setTargetClass(String value)
Sets the value of the targetClass property.
|
protected List<ColumnResult> column
protected String targetClass
public List<ColumnResult> getColumn()
Gets the value of the column property.
<p> 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 <CODE>set</CODE> method for the column property.
<p> For example, to add a new item, do as follows: <pre> getColumn().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
ColumnResult
public String getTargetClass()
Gets the value of the targetClass property.
StringCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.