Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping

public Class JaxbEmbeddableAttributes

extends Object
implements Serializable, AttributesContainer
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.jaxb.mapping.AttributesContainer, java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:embeddable-attributes
namespace:http://www.hibernate.org/xsd/orm/mapping
propOrder:basicAttributes, manyToOneAttributes, oneToManyAttributes, oneToOneAttributes, manyToManyAttributes, elementCollectionAttributes, embeddedAttributes, transients, discriminatedAssociations, pluralDiscriminatedAssociations
Imports
java.io.Serializable, java.util.ArrayList, .List, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlElement, .XmlType

Describes the features available for mapping attributes of embeddables

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://www.hibernate.org/xsd/orm/mapping}basic" maxOccurs="unbounded" minOccurs="0"/>
        <element name="many-to-one" type="{http://www.hibernate.org/xsd/orm/mapping}many-to-one" maxOccurs="unbounded" minOccurs="0"/>
        <element name="one-to-many" type="{http://www.hibernate.org/xsd/orm/mapping}one-to-many" maxOccurs="unbounded" minOccurs="0"/>
        <element name="one-to-one" type="{http://www.hibernate.org/xsd/orm/mapping}one-to-one" maxOccurs="unbounded" minOccurs="0"/>
        <element name="many-to-many" type="{http://www.hibernate.org/xsd/orm/mapping}many-to-many" maxOccurs="unbounded" minOccurs="0"/>
        <element name="element-collection" type="{http://www.hibernate.org/xsd/orm/mapping}element-collection" maxOccurs="unbounded" minOccurs="0"/>
        <element name="embedded" type="{http://www.hibernate.org/xsd/orm/mapping}embedded" maxOccurs="unbounded" minOccurs="0"/>
        <element name="transient" type="{http://www.hibernate.org/xsd/orm/mapping}transient" maxOccurs="unbounded" minOccurs="0"/>
        <element name="any" type="{http://www.hibernate.org/xsd/orm/mapping}hbm-any-mapping" maxOccurs="unbounded" minOccurs="0"/>
        <element name="many-to-any" type="{http://www.hibernate.org/xsd/orm/mapping}hbm-many-to-any" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected List<JaxbBasic>
protected List<JaxbHbmAnyMapping>
protected List<JaxbElementCollection>
protected List<JaxbEmbedded>
protected List<JaxbManyToMany>
protected List<JaxbManyToOne>
protected List<JaxbOneToMany>
protected List<JaxbOneToOne>
protected List<JaxbHbmManyToAny>
protected List<JaxbTransient>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<JaxbBasic>

Returns:

The value of the basicAttributes property.
getBasicAttributes
()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getBasicAttributes.

Gets the value of the basicAttributes property.
public List<JaxbHbmAnyMapping>

Returns:

The value of the discriminatedAssociations property.
getDiscriminatedAssociations
()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getDiscriminatedAssociations.

Gets the value of the discriminatedAssociations property.
public List<JaxbElementCollection>

Returns:

The value of the elementCollectionAttributes property.
getElementCollectionAttributes
()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getElementCollectionAttributes.

Gets the value of the elementCollectionAttributes property.
public List<JaxbEmbedded>

Returns:

The value of the embeddedAttributes property.
getEmbeddedAttributes
()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getEmbeddedAttributes.

Gets the value of the embeddedAttributes property.
public List<JaxbManyToMany>

Returns:

The value of the manyToManyAttributes property.
getManyToManyAttributes
()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getManyToManyAttributes.

Gets the value of the manyToManyAttributes property.
public List<JaxbManyToOne>

Returns:

The value of the manyToOneAttributes property.
getManyToOneAttributes
()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getManyToOneAttributes.

Gets the value of the manyToOneAttributes property.
public List<JaxbOneToMany>

Returns:

The value of the oneToManyAttributes property.
getOneToManyAttributes
()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getOneToManyAttributes.

Gets the value of the oneToManyAttributes property.
public List<JaxbOneToOne>

Returns:

The value of the oneToOneAttributes property.
getOneToOneAttributes
()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getOneToOneAttributes.

Gets the value of the oneToOneAttributes property.
public List<JaxbHbmManyToAny>

Returns:

The value of the pluralDiscriminatedAssociations property.
getPluralDiscriminatedAssociations
()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getPluralDiscriminatedAssociations.

Gets the value of the pluralDiscriminatedAssociations property.
public List<JaxbTransient>

Returns:

The value of the transients property.
getTransients
()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getTransients.

Gets the value of the transients property.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

basicAttributesback to summary
protected List<JaxbBasic> basicAttributes
Annotations
@XmlElement
name:basic
namespace:http://www.hibernate.org/xsd/orm/mapping
discriminatedAssociationsback to summary
protected List<JaxbHbmAnyMapping> discriminatedAssociations
Annotations
@XmlElement
name:any
namespace:http://www.hibernate.org/xsd/orm/mapping
elementCollectionAttributesback to summary
protected List<JaxbElementCollection> elementCollectionAttributes
Annotations
@XmlElement
name:element-collection
namespace:http://www.hibernate.org/xsd/orm/mapping
embeddedAttributesback to summary
protected List<JaxbEmbedded> embeddedAttributes
Annotations
@XmlElement
name:embedded
namespace:http://www.hibernate.org/xsd/orm/mapping
manyToManyAttributesback to summary
protected List<JaxbManyToMany> manyToManyAttributes
Annotations
@XmlElement
name:many-to-many
namespace:http://www.hibernate.org/xsd/orm/mapping
manyToOneAttributesback to summary
protected List<JaxbManyToOne> manyToOneAttributes
Annotations
@XmlElement
name:many-to-one
namespace:http://www.hibernate.org/xsd/orm/mapping
oneToManyAttributesback to summary
protected List<JaxbOneToMany> oneToManyAttributes
Annotations
@XmlElement
name:one-to-many
namespace:http://www.hibernate.org/xsd/orm/mapping
oneToOneAttributesback to summary
protected List<JaxbOneToOne> oneToOneAttributes
Annotations
@XmlElement
name:one-to-one
namespace:http://www.hibernate.org/xsd/orm/mapping
pluralDiscriminatedAssociationsback to summary
protected List<JaxbHbmManyToAny> pluralDiscriminatedAssociations
Annotations
@XmlElement
name:many-to-any
namespace:http://www.hibernate.org/xsd/orm/mapping
transientsback to summary
protected List<JaxbTransient> transients
Annotations
@XmlElement
name:transient
namespace:http://www.hibernate.org/xsd/orm/mapping

Constructor Detail

JaxbEmbeddableAttributesback to summary
public JaxbEmbeddableAttributes()

Method Detail

getBasicAttributesback to summary
public List<JaxbBasic> getBasicAttributes()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getBasicAttributes.

Gets the value of the basicAttributes 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 basicAttributes property.

For example, to add a new item, do as follows:

   getBasicAttributes().add(newItem);

Objects of the following type(s) are allowed in the list JaxbBasic

Returns:List<JaxbBasic>

The value of the basicAttributes property.

getDiscriminatedAssociationsback to summary
public List<JaxbHbmAnyMapping> getDiscriminatedAssociations()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getDiscriminatedAssociations.

Gets the value of the discriminatedAssociations 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 discriminatedAssociations property.

For example, to add a new item, do as follows:

   getDiscriminatedAssociations().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmAnyMapping

Returns:List<JaxbHbmAnyMapping>

The value of the discriminatedAssociations property.

getElementCollectionAttributesback to summary
public List<JaxbElementCollection> getElementCollectionAttributes()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getElementCollectionAttributes.

Gets the value of the elementCollectionAttributes 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 elementCollectionAttributes property.

For example, to add a new item, do as follows:

   getElementCollectionAttributes().add(newItem);

Objects of the following type(s) are allowed in the list JaxbElementCollection

Returns:List<JaxbElementCollection>

The value of the elementCollectionAttributes property.

getEmbeddedAttributesback to summary
public List<JaxbEmbedded> getEmbeddedAttributes()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getEmbeddedAttributes.

Gets the value of the embeddedAttributes 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 embeddedAttributes property.

For example, to add a new item, do as follows:

   getEmbeddedAttributes().add(newItem);

Objects of the following type(s) are allowed in the list JaxbEmbedded

Returns:List<JaxbEmbedded>

The value of the embeddedAttributes property.

getManyToManyAttributesback to summary
public List<JaxbManyToMany> getManyToManyAttributes()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getManyToManyAttributes.

Gets the value of the manyToManyAttributes 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 manyToManyAttributes property.

For example, to add a new item, do as follows:

   getManyToManyAttributes().add(newItem);

Objects of the following type(s) are allowed in the list JaxbManyToMany

Returns:List<JaxbManyToMany>

The value of the manyToManyAttributes property.

getManyToOneAttributesback to summary
public List<JaxbManyToOne> getManyToOneAttributes()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getManyToOneAttributes.

Gets the value of the manyToOneAttributes 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 manyToOneAttributes property.

For example, to add a new item, do as follows:

   getManyToOneAttributes().add(newItem);

Objects of the following type(s) are allowed in the list JaxbManyToOne

Returns:List<JaxbManyToOne>

The value of the manyToOneAttributes property.

getOneToManyAttributesback to summary
public List<JaxbOneToMany> getOneToManyAttributes()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getOneToManyAttributes.

Gets the value of the oneToManyAttributes 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 oneToManyAttributes property.

For example, to add a new item, do as follows:

   getOneToManyAttributes().add(newItem);

Objects of the following type(s) are allowed in the list JaxbOneToMany

Returns:List<JaxbOneToMany>

The value of the oneToManyAttributes property.

getOneToOneAttributesback to summary
public List<JaxbOneToOne> getOneToOneAttributes()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getOneToOneAttributes.

Gets the value of the oneToOneAttributes 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 oneToOneAttributes property.

For example, to add a new item, do as follows:

   getOneToOneAttributes().add(newItem);

Objects of the following type(s) are allowed in the list JaxbOneToOne

Returns:List<JaxbOneToOne>

The value of the oneToOneAttributes property.

getPluralDiscriminatedAssociationsback to summary
public List<JaxbHbmManyToAny> getPluralDiscriminatedAssociations()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getPluralDiscriminatedAssociations.

Gets the value of the pluralDiscriminatedAssociations 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 pluralDiscriminatedAssociations property.

For example, to add a new item, do as follows:

   getPluralDiscriminatedAssociations().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmManyToAny

Returns:List<JaxbHbmManyToAny>

The value of the pluralDiscriminatedAssociations property.

getTransientsback to summary
public List<JaxbTransient> getTransients()

Implements org.hibernate.boot.jaxb.mapping.AttributesContainer.getTransients.

Gets the value of the transients 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 transients property.

For example, to add a new item, do as follows:

   getTransients().add(newItem);

Objects of the following type(s) are allowed in the list JaxbTransient

Returns:List<JaxbTransient>

The value of the transients property.