Class JaxbFetchProfileImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbFetchProfileImpl
- All Implemented Interfaces:
Serializable
<p>Java class for fetch-profile complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="fetch-profile">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="fetch" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="association" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="entity" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="style">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="join"/>
<enumeration value="select"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
}</pre>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class<p>Java class for anonymous complex type</p>. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<JaxbFetchProfileImpl.JaxbFetchImpl> The <fetch> element defines a single path to which the fetch refers, as well as the style of fetch to apply.protected String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
fetch
The <fetch> element defines a single path to which the fetch refers, as well as the style of fetch to apply. The 'root' of the path is different depending upon the context in which the containing <fetch-profile/> occurs; within a <class/> element, the entity-name of the containing class mapping is assumed... -
name
-
-
Constructor Details
-
JaxbFetchProfileImpl
public JaxbFetchProfileImpl()
-
-
Method Details
-
getFetch
The <fetch> element defines a single path to which the fetch refers, as well as the style of fetch to apply. The 'root' of the path is different depending upon the context in which the containing <fetch-profile/> occurs; within a <class/> element, the entity-name of the containing class mapping is assumed... Gets the value of the fetch 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
setmethod for the fetch property.For example, to add a new item, do as follows:
getFetch().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbFetchProfileImpl.JaxbFetchImpl- Returns:
- The value of the fetch property.
-
getName
-
setName
-