Class JaxbSqlSelectImpl

java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbSqlSelectImpl
All Implemented Interfaces:
Serializable

public class JaxbSqlSelectImpl extends Object implements Serializable
@org.hibernate.annotations.SQLSelect <p>Java class for sql-select complex type</p>. <p>The following schema fragment specifies the expected content contained within this class.</p> <pre>{@code <complexType name="sql-select"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="sql" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="result-set-mapping" type="{http://www.hibernate.org/xsd/orm/mapping}sql-result-set-mapping"/> <element name="synchronize" type="{http://www.hibernate.org/xsd/orm/mapping}synchronized-table" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> }</pre>
See Also:
  • Field Details

  • Constructor Details

    • JaxbSqlSelectImpl

      public JaxbSqlSelectImpl()
  • Method Details

    • getSql

      public String getSql()
      Gets the value of the sql property.
      Returns:
      possible object is String
    • setSql

      public void setSql(String value)
      Sets the value of the sql property.
      Parameters:
      value - allowed object is String
    • getResultSetMapping

      public JaxbSqlResultSetMappingImpl getResultSetMapping()
      Gets the value of the resultSetMapping property.
      Returns:
      possible object is JaxbSqlResultSetMappingImpl
    • setResultSetMapping

      public void setResultSetMapping(JaxbSqlResultSetMappingImpl value)
      Sets the value of the resultSetMapping property.
      Parameters:
      value - allowed object is JaxbSqlResultSetMappingImpl
    • getSynchronize

      public List<JaxbSynchronizedTableImpl> getSynchronize()
      Gets the value of the synchronize 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 synchronize property.

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

      getSynchronize().add(newItem);
      

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

      Returns:
      The value of the synchronize property.