Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmFetchProfileType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmFetchProfileType
-
- All Implemented Interfaces:
java.io.Serializable
public class JaxbHbmFetchProfileType extends java.lang.Object implements java.io.Serializable
Java class for FetchProfileType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FetchProfileType"> <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" type="{http://www.hibernate.org/xsd/orm/hbm}FetchStyleEnum" default="join" /> </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
JaxbHbmFetchProfileType.JaxbHbmFetch
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<JaxbHbmFetchProfileType.JaxbHbmFetch>
fetch
protected java.lang.String
name
-
Constructor Summary
Constructors Constructor Description JaxbHbmFetchProfileType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<JaxbHbmFetchProfileType.JaxbHbmFetch>
getFetch()
Gets the value of the fetch property.java.lang.String
getName()
Gets the value of the name property.void
setName(java.lang.String value)
Sets the value of the name property.
-
-
-
Field Detail
-
fetch
protected java.util.List<JaxbHbmFetchProfileType.JaxbHbmFetch> fetch
-
name
protected java.lang.String name
-
-
Method Detail
-
getFetch
public java.util.List<JaxbHbmFetchProfileType.JaxbHbmFetch> 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 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
JaxbHbmFetchProfileType.JaxbHbmFetch
-
getName
public java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
-