Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping.spi

public Class JaxbEntityResult

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:entity-result
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
propOrder:fieldResult
Imports
java.io.Serializable, java.util.ArrayList, .List, javax.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlType

@Target({}) @Retention(RUNTIME) public @interface EntityResult { Class entityClass(); FieldResult[] fields() default {}; String discriminatorColumn() default ""; }

Java class for entity-result complex type.

The following schema fragment specifies the expected content contained within this class.

<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>

Field Summary

Modifier and TypeField and Description
protected String
protected String
protected List<JaxbFieldResult>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getDiscriminatorColumn
()

Gets the value of the discriminatorColumn property.

public String

Returns:

possible object is String
getEntityClass
()

Gets the value of the entityClass property.

public List<JaxbFieldResult>
getFieldResult()

Gets the value of the fieldResult property.

public void
setDiscriminatorColumn(String
allowed object is String
value
)

Sets the value of the discriminatorColumn property.

public void
setEntityClass(String
allowed object is String
value
)

Sets the value of the entityClass property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

discriminatorColumnback to summary
protected String discriminatorColumn
Annotations
@XmlAttribute
name:discriminator-column
entityClassback to summary
protected String entityClass
Annotations
@XmlAttribute
name:entity-class
required:true
fieldResultback to summary
protected List<JaxbFieldResult> fieldResult
Annotations
@XmlElement
name:field-result
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm

Constructor Detail

JaxbEntityResultback to summary
public JaxbEntityResult()

Method Detail

getDiscriminatorColumnback to summary
public String getDiscriminatorColumn()

Gets the value of the discriminatorColumn property.

Returns:String

possible object is String

getEntityClassback to summary
public String getEntityClass()

Gets the value of the entityClass property.

Returns:String

possible object is String

getFieldResultback to summary
public List<JaxbFieldResult> getFieldResult()

Gets the value of the fieldResult 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 fieldResult property.

For example, to add a new item, do as follows:

   getFieldResult().add(newItem);

Objects of the following type(s) are allowed in the list JaxbFieldResult

setDiscriminatorColumnback to summary
public void setDiscriminatorColumn(String value)

Sets the value of the discriminatorColumn property.

Parameters
value:String

allowed object is String

setEntityClassback to summary
public void setEntityClass(String value)

Sets the value of the entityClass property.

Parameters
value:String

allowed object is String