Class JaxbEmbeddableAttributes
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.spi.JaxbEmbeddableAttributes
-
- All Implemented Interfaces:
java.io.Serializable
,AttributesContainer
public class JaxbEmbeddableAttributes extends java.lang.Object implements java.io.Serializable, AttributesContainer
Java class for embeddable-attributes complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="embeddable-attributes"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="basic" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}basic" maxOccurs="unbounded" minOccurs="0"/> <element name="many-to-one" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}many-to-one" maxOccurs="unbounded" minOccurs="0"/> <element name="one-to-many" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}one-to-many" maxOccurs="unbounded" minOccurs="0"/> <element name="one-to-one" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}one-to-one" maxOccurs="unbounded" minOccurs="0"/> <element name="many-to-many" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}many-to-many" maxOccurs="unbounded" minOccurs="0"/> <element name="element-collection" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}element-collection" maxOccurs="unbounded" minOccurs="0"/> <element name="embedded" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}embedded" maxOccurs="unbounded" minOccurs="0"/> <element name="transient" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}transient" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<JaxbTransient>
_transient
protected java.util.List<JaxbBasic>
basic
protected java.util.List<JaxbElementCollection>
elementCollection
protected java.util.List<JaxbEmbedded>
embedded
protected java.util.List<JaxbManyToMany>
manyToMany
protected java.util.List<JaxbManyToOne>
manyToOne
protected java.util.List<JaxbOneToMany>
oneToMany
protected java.util.List<JaxbOneToOne>
oneToOne
-
Constructor Summary
Constructors Constructor Description JaxbEmbeddableAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<JaxbBasic>
getBasic()
Gets the value of the basic property.java.util.List<JaxbElementCollection>
getElementCollection()
Gets the value of the elementCollection property.java.util.List<JaxbEmbedded>
getEmbedded()
Gets the value of the embedded property.java.util.List<JaxbManyToMany>
getManyToMany()
Gets the value of the manyToMany property.java.util.List<JaxbManyToOne>
getManyToOne()
Gets the value of the manyToOne property.java.util.List<JaxbOneToMany>
getOneToMany()
Gets the value of the oneToMany property.java.util.List<JaxbOneToOne>
getOneToOne()
Gets the value of the oneToOne property.java.util.List<JaxbTransient>
getTransient()
Gets the value of the transient property.
-
-
-
Field Detail
-
basic
protected java.util.List<JaxbBasic> basic
-
manyToOne
protected java.util.List<JaxbManyToOne> manyToOne
-
oneToMany
protected java.util.List<JaxbOneToMany> oneToMany
-
oneToOne
protected java.util.List<JaxbOneToOne> oneToOne
-
manyToMany
protected java.util.List<JaxbManyToMany> manyToMany
-
elementCollection
protected java.util.List<JaxbElementCollection> elementCollection
-
embedded
protected java.util.List<JaxbEmbedded> embedded
-
_transient
protected java.util.List<JaxbTransient> _transient
-
-
Method Detail
-
getBasic
public java.util.List<JaxbBasic> getBasic()
Gets the value of the basic 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 basic property.For example, to add a new item, do as follows:
getBasic().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbBasic
- Specified by:
getBasic
in interfaceAttributesContainer
-
getManyToOne
public java.util.List<JaxbManyToOne> getManyToOne()
Gets the value of the manyToOne 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 manyToOne property.For example, to add a new item, do as follows:
getManyToOne().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbManyToOne
- Specified by:
getManyToOne
in interfaceAttributesContainer
-
getOneToMany
public java.util.List<JaxbOneToMany> getOneToMany()
Gets the value of the oneToMany 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 oneToMany property.For example, to add a new item, do as follows:
getOneToMany().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbOneToMany
- Specified by:
getOneToMany
in interfaceAttributesContainer
-
getOneToOne
public java.util.List<JaxbOneToOne> getOneToOne()
Gets the value of the oneToOne 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 oneToOne property.For example, to add a new item, do as follows:
getOneToOne().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbOneToOne
- Specified by:
getOneToOne
in interfaceAttributesContainer
-
getManyToMany
public java.util.List<JaxbManyToMany> getManyToMany()
Gets the value of the manyToMany 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 manyToMany property.For example, to add a new item, do as follows:
getManyToMany().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbManyToMany
- Specified by:
getManyToMany
in interfaceAttributesContainer
-
getElementCollection
public java.util.List<JaxbElementCollection> getElementCollection()
Gets the value of the elementCollection 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 elementCollection property.For example, to add a new item, do as follows:
getElementCollection().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbElementCollection
- Specified by:
getElementCollection
in interfaceAttributesContainer
-
getEmbedded
public java.util.List<JaxbEmbedded> getEmbedded()
Gets the value of the embedded 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 embedded property.For example, to add a new item, do as follows:
getEmbedded().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbEmbedded
- Specified by:
getEmbedded
in interfaceAttributesContainer
-
getTransient
public java.util.List<JaxbTransient> getTransient()
Gets the value of the transient 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 transient property.For example, to add a new item, do as follows:
getTransient().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbTransient
- Specified by:
getTransient
in interfaceAttributesContainer
-
-