Class JaxbNamedStoredProcedureQueryImpl

java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbNamedStoredProcedureQueryImpl
All Implemented Interfaces:
Serializable, JaxbQueryHintContainer

public class JaxbNamedStoredProcedureQueryImpl extends Object implements Serializable, JaxbQueryHintContainer
@Repeatable(NamedStoredProcedureQueries.class) @Target({TYPE}) @Retention(RUNTIME) public @interface NamedStoredProcedureQuery { String name(); String procedureName(); StoredProcedureParameter[] parameters() default {}; Class[] resultClasses() default {}; String[] resultSetMappings() default{}; QueryHint[] hints() default {}; } <p>Java class for named-stored-procedure-query complex type</p>. <p>The following schema fragment specifies the expected content contained within this class.</p> <pre>{@code <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> }</pre>
See Also:
  • Field Details

  • Constructor Details

    • JaxbNamedStoredProcedureQueryImpl

      public JaxbNamedStoredProcedureQueryImpl()
  • Method Details

    • getDescription

      public String getDescription()
      Gets the value of the description property.
      Specified by:
      getDescription in interface JaxbQueryHintContainer
      Returns:
      possible object is String
    • setDescription

      public void setDescription(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
    • getProcedureParameters

      public List<JaxbStoredProcedureParameterImpl> getProcedureParameters()
      Gets the value of the procedureParameters 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 procedureParameters property.

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

      getProcedureParameters().add(newItem);
      

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

      Returns:
      The value of the procedureParameters property.
    • getResultClasses

      public List<String> getResultClasses()
      Gets the value of the resultClasses 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 resultClasses property.

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

      getResultClasses().add(newItem);
      

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

      Returns:
      The value of the resultClasses property.
    • getResultSetMappings

      public List<String> getResultSetMappings()
      Gets the value of the resultSetMappings 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 resultSetMappings property.

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

      getResultSetMappings().add(newItem);
      

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

      Returns:
      The value of the resultSetMappings property.
    • getHints

      public List<JaxbQueryHintImpl> getHints()
      Gets the value of the hints 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 hints property.

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

      getHints().add(newItem);
      

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

      Specified by:
      getHints in interface JaxbQueryHintContainer
      Returns:
      The value of the hints property.
    • getName

      public String getName()
      Gets the value of the name property.
      Specified by:
      getName in interface JaxbQueryHintContainer
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getProcedureName

      public String getProcedureName()
      Gets the value of the procedureName property.
      Returns:
      possible object is String
    • setProcedureName

      public void setProcedureName(String value)
      Sets the value of the procedureName property.
      Parameters:
      value - allowed object is String