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

public Class JaxbNamedStoredProcedureQuery

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:named-stored-procedure-query
namespace:http://www.hibernate.org/xsd/orm/mapping
propOrder:description, parameter, resultClass, resultSetMapping, hint
Imports
java.io.Serializable, java.util.ArrayList, .List, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlType

@Target({TYPE}) @Retention(RUNTIME) public @interface NamedStoredProcedureQuery { String name(); String procedureName(); StoredProcedureParameter[] parameters() default {}; Class[] resultClasses() default {}; String[] resultSetMappings() default{}; QueryHint[] hints() default {}; }

Java class for named-stored-procedure-query complex type.

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

<complexType name="named-stored-procedure-query">
  <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="parameter" type="{http://www.hibernate.org/xsd/orm/mapping}stored-procedure-parameter" maxOccurs="unbounded" minOccurs="0"/>
        <element name="result-class" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
        <element name="result-set-mapping" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
        <element name="hint" type="{http://www.hibernate.org/xsd/orm/mapping}query-hint" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
      <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="procedure-name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected String
protected List<JaxbQueryHint>
protected String
protected List<JaxbStoredProcedureParameter>
protected String
protected List<String>
protected List<String>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getDescription
()

Gets the value of the description property.

public List<JaxbQueryHint>

Returns:

The value of the hint property.
getHint
()

Gets the value of the hint property.

public String

Returns:

possible object is String
getName
()

Gets the value of the name property.

public List<JaxbStoredProcedureParameter>

Returns:

The value of the parameter property.
getParameter
()

Gets the value of the parameter property.

public String

Returns:

possible object is String
getProcedureName
()

Gets the value of the procedureName property.

public List<String>

Returns:

The value of the resultClass property.
getResultClass
()

Gets the value of the resultClass property.

public List<String>

Returns:

The value of the resultSetMapping property.
getResultSetMapping
()

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

public void
setProcedureName(String
allowed object is String
value
)

Sets the value of the procedureName property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

descriptionback to summary
protected String description
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
hintback to summary
protected List<JaxbQueryHint> hint
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
required:true
parameterback to summary
protected List<JaxbStoredProcedureParameter> parameter
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
procedureNameback to summary
protected String procedureName
Annotations
@XmlAttribute
name:procedure-name
required:true
resultClassback to summary
protected List<String> resultClass
Annotations
@XmlElement
name:result-class
namespace:http://www.hibernate.org/xsd/orm/mapping
resultSetMappingback to summary
protected List<String> resultSetMapping
Annotations
@XmlElement
name:result-set-mapping
namespace:http://www.hibernate.org/xsd/orm/mapping

Constructor Detail

JaxbNamedStoredProcedureQueryback to summary
public JaxbNamedStoredProcedureQuery()

Method Detail

getDescriptionback to summary
public String getDescription()

Gets the value of the description property.

Returns:String

possible object is String

getHintback to summary
public List<JaxbQueryHint> getHint()

Gets the value of the hint 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 Jakarta XML Binding object. This is why there is not a set method for the hint property.

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

   getHint().add(newItem);

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

Returns:List<JaxbQueryHint>

The value of the hint property.

getNameback to summary
public String getName()

Gets the value of the name property.

Returns:String

possible object is String

getParameterback to summary
public List<JaxbStoredProcedureParameter> getParameter()

Gets the value of the parameter 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 Jakarta XML Binding object. This is why there is not a set method for the parameter property.

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

   getParameter().add(newItem);

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

Returns:List<JaxbStoredProcedureParameter>

The value of the parameter property.

getProcedureNameback to summary
public String getProcedureName()

Gets the value of the procedureName property.

Returns:String

possible object is String

getResultClassback to summary
public List<String> getResultClass()

Gets the value of the resultClass 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 Jakarta XML Binding object. This is why there is not a set method for the resultClass property.

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

   getResultClass().add(newItem);

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

Returns:List<String>

The value of the resultClass property.

getResultSetMappingback to summary
public List<String> getResultSetMapping()

Gets the value of the resultSetMapping 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 Jakarta XML Binding object. This is why there is not a set method for the resultSetMapping property.

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

   getResultSetMapping().add(newItem);

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

Returns:List<String>

The value of the resultSetMapping property.

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

setProcedureNameback to summary
public void setProcedureName(String value)

Sets the value of the procedureName property.

Parameters
value:String

allowed object is String