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

public Class JaxbCustomLoader

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:custom-loader
namespace:http://www.hibernate.org/xsd/orm/mapping
Imports
java.io.Serializable, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlType

The loader element allows specification of a named query to be used for fetching an entity or collection

Java class for custom-loader complex type.

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

<complexType name="custom-loader">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <attribute name="query-ref" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getQueryRef
()

Gets the value of the queryRef property.

public void
setQueryRef(String
allowed object is String
value
)

Sets the value of the queryRef property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

queryRefback to summary
protected String queryRef
Annotations
@XmlAttribute
name:query-ref
required:true

Constructor Detail

JaxbCustomLoaderback to summary
public JaxbCustomLoader()

Method Detail

getQueryRefback to summary
public String getQueryRef()

Gets the value of the queryRef property.

Returns:String

possible object is String

setQueryRefback to summary
public void setQueryRef(String value)

Sets the value of the queryRef property.

Parameters
value:String

allowed object is String