Package org.hibernate.boot.jaxb.mapping
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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JaxbFetchProfile.JaxbFetch
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<JaxbFetchProfile.JaxbFetch>
fetch
protected String
name
-
Constructor Summary
Constructors Constructor Description JaxbFetchProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JaxbFetchProfile.JaxbFetch>
getFetch()
Gets the value of the fetch property.String
getName()
Gets the value of the name property.void
setName(String value)
Sets the value of the name property.
-
-
-
Field Detail
-
fetch
protected List<JaxbFetchProfile.JaxbFetch> fetch
-
name
protected String name
-
-
Method Detail
-
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
-
-