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

public Class JaxbSqlResultSetMapping

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

@Target({TYPE}) @Retention(RUNTIME) public @interface SqlResultSetMapping { String name(); EntityResult[] entities() default {}; ConstructorResult[] classes() default{}; ColumnResult[] columns() default {}; }

Java class for sql-result-set-mapping complex type.

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

<complexType name="sql-result-set-mapping">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
        <element name="entity-result" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}entity-result" maxOccurs="unbounded" minOccurs="0"/>
        <element name="constructor-result" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}constructor-result" maxOccurs="unbounded" minOccurs="0"/>
        <element name="column-result" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}column-result" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
      <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected List<JaxbColumnResult>
protected List<JaxbConstructorResult>
protected String
protected List<JaxbEntityResult>
protected String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<JaxbColumnResult>
getColumnResult()

Gets the value of the columnResult property.

public List<JaxbConstructorResult>
getConstructorResult()

Gets the value of the constructorResult property.

public String

Returns:

possible object is String
getDescription
()

Gets the value of the description property.

public List<JaxbEntityResult>
getEntityResult()

Gets the value of the entityResult property.

public String

Returns:

possible object is String
getName
()

Gets the value of the name property.

public void
setDescription(String
allowed object is String
value
)

Sets the value of the description property.

public void
setName(String
allowed object is String
value
)

Sets the value of the name property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

columnResultback to summary
protected List<JaxbColumnResult> columnResult
Annotations
@XmlElement
name:column-result
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
constructorResultback to summary
protected List<JaxbConstructorResult> constructorResult
Annotations
@XmlElement
name:constructor-result
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
descriptionback to summary
protected String description
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
entityResultback to summary
protected List<JaxbEntityResult> entityResult
Annotations
@XmlElement
name:entity-result
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
required:true

Constructor Detail

JaxbSqlResultSetMappingback to summary
public JaxbSqlResultSetMapping()

Method Detail

getColumnResultback to summary
public List<JaxbColumnResult> getColumnResult()

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

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

   getColumnResult().add(newItem);

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

getConstructorResultback to summary
public List<JaxbConstructorResult> getConstructorResult()

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

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

   getConstructorResult().add(newItem);

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

getDescriptionback to summary
public String getDescription()

Gets the value of the description property.

Returns:String

possible object is String

getEntityResultback to summary
public List<JaxbEntityResult> getEntityResult()

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

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

   getEntityResult().add(newItem);

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

getNameback to summary
public String getName()

Gets the value of the name property.

Returns:String

possible object is String

setDescriptionback to summary
public void setDescription(String value)

Sets the value of the description property.

Parameters
value:String

allowed object is String

setNameback to summary
public void setName(String value)

Sets the value of the name property.

Parameters
value:String

allowed object is String