Class JaxbFetchProfile

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

public class JaxbFetchProfile extends Object implements Serializable

Java class for fetch-profile complex type.

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


 <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>
 
See Also:
  • Field Details

  • Constructor Details

    • JaxbFetchProfile

      public JaxbFetchProfile()
  • Method Details

    • getFetch

      public List<JaxbFetchProfile.JaxbFetch> getFetch()
      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 set method 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 JaxbFetchProfile.JaxbFetch

      Returns:
      The value of the fetch property.
    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

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