public class EntityResult extends Object
@Target({}) @Retention(RUNTIME) public @interface EntityResult { Class entityClass(); FieldResult[] fields() default {}; String discriminatorColumn() default ""; }
<p>Java class for entity-result complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="entity-result"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="field-result" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}field-result" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="entity-class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="discriminator-column" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected String |
discriminatorColumn |
protected String |
entityClass |
protected List<FieldResult> |
fieldResult |
| Constructor and Description |
|---|
EntityResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDiscriminatorColumn()
Gets the value of the discriminatorColumn property.
|
String |
getEntityClass()
Gets the value of the entityClass property.
|
List<FieldResult> |
getFieldResult()
Gets the value of the fieldResult property.
|
void |
setDiscriminatorColumn(String value)
Sets the value of the discriminatorColumn property.
|
void |
setEntityClass(String value)
Sets the value of the entityClass property.
|
protected List<FieldResult> fieldResult
protected String entityClass
protected String discriminatorColumn
public List<FieldResult> getFieldResult()
Gets the value of the fieldResult 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 fieldResult property.
<p> For example, to add a new item, do as follows: <pre> getFieldResult().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
FieldResult
public String getEntityClass()
Gets the value of the entityClass property.
Stringpublic void setEntityClass(String value)
Sets the value of the entityClass property.
value - allowed object is
Stringpublic String getDiscriminatorColumn()
Gets the value of the discriminatorColumn property.
StringCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.