Class JaxbFetchProfileImpl

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

public class JaxbFetchProfileImpl 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

    • fetch

      The 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 element, the entity-name of the containing class mapping is assumed...
    • name

      protected String name
  • Constructor Details

    • JaxbFetchProfileImpl

      public JaxbFetchProfileImpl()
  • Method Details

    • getFetch

      The 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 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 JAXB 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 JaxbFetchProfileImpl.JaxbFetchImpl

      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