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

public Class JaxbAttributes

extends Object
implements Serializable, AttributesContainer
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.jaxb.mapping.AttributesContainer, java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:attributes
namespace:http://www.hibernate.org/xsd/orm/mapping
propOrder:description, id, embeddedId, naturalId, basicAttributes, version, 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

Entity-defined attributes This element contains the entity field or property mappings. It may be sparsely populated to include only a subset of the fields or properties. If metadata-complete for the entity is true then the remainder of the attributes will be defaulted according to the default rules.

Java class for attributes complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="attributes">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
        <choice>
          <element name="id" type="{http://www.hibernate.org/xsd/orm/mapping}id" maxOccurs="unbounded" minOccurs="0"/>
          <element name="embedded-id" type="{http://www.hibernate.org/xsd/orm/mapping}embedded-id" minOccurs="0"/>
        </choice>
        <element name="natural-id" type="{http://www.hibernate.org/xsd/orm/mapping}natural-id" minOccurs="0"/>
        <element name="basic" type="{http://www.hibernate.org/xsd/orm/mapping}basic" maxOccurs="unbounded" minOccurs="0"/>
        <element name="version" type="{http://www.hibernate.org/xsd/orm/mapping}version" 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 String
protected List<JaxbHbmAnyMapping>
protected List<JaxbElementCollection>
protected List<JaxbEmbedded>
protected JaxbEmbeddedId
protected List<JaxbId>
protected List<JaxbManyToMany>
protected List<JaxbManyToOne>
protected JaxbNaturalId
protected List<JaxbOneToMany>
protected List<JaxbOneToOne>
protected List<JaxbHbmManyToAny>
protected List<JaxbTransient>
protected List<JaxbVersion>

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 String

Returns:

possible object is String
getDescription
()

Gets the value of the description 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 JaxbEmbeddedId

Returns:

possible object is JaxbEmbeddedId
getEmbeddedId
()

Gets the value of the embeddedId property.

public List<JaxbId>

Returns:

The value of the id property.
getId
()

Gets the value of the id 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 JaxbNaturalId

Returns:

possible object is JaxbNaturalId
getNaturalId
()

Gets the value of the naturalId 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.
public List<JaxbVersion>

Returns:

The value of the version property.
getVersion
()

Gets the value of the version property.

public void
setDescription(String
allowed object is String
value
)

Sets the value of the description property.

public void
setEmbeddedId(JaxbEmbeddedId
allowed object is JaxbEmbeddedId
value
)

Sets the value of the embeddedId property.

public void
setNaturalId(JaxbNaturalId
allowed object is JaxbNaturalId
value
)

Sets the value of the naturalId 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
descriptionback to summary
protected String description
Annotations
@XmlElement
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
embeddedIdback to summary
protected JaxbEmbeddedId embeddedId
Annotations
@XmlElement
name:embedded-id
namespace:http://www.hibernate.org/xsd/orm/mapping
idback to summary
protected List<JaxbId> id
Annotations
@XmlElement
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
naturalIdback to summary
protected JaxbNaturalId naturalId
Annotations
@XmlElement
name:natural-id
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
versionback to summary
protected List<JaxbVersion> version
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping

Constructor Detail

JaxbAttributesback to summary
public JaxbAttributes()

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.

getDescriptionback to summary
public String getDescription()

Gets the value of the description property.

Returns:String

possible object is String

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.

getEmbeddedIdback to summary
public JaxbEmbeddedId getEmbeddedId()

Gets the value of the embeddedId property.

Returns:JaxbEmbeddedId

possible object is JaxbEmbeddedId

getIdback to summary
public List<JaxbId> getId()

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

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

   getId().add(newItem);

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

Returns:List<JaxbId>

The value of the id 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.

getNaturalIdback to summary
public JaxbNaturalId getNaturalId()

Gets the value of the naturalId property.

Returns:JaxbNaturalId

possible object is JaxbNaturalId

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.

getVersionback to summary
public List<JaxbVersion> getVersion()

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

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

   getVersion().add(newItem);

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

Returns:List<JaxbVersion>

The value of the version property.

setDescriptionback to summary
public void setDescription(String value)

Sets the value of the description property.

Parameters
value:String

allowed object is String

setEmbeddedIdback to summary
public void setEmbeddedId(JaxbEmbeddedId value)

Sets the value of the embeddedId property.

Parameters
value:JaxbEmbeddedId

allowed object is JaxbEmbeddedId

setNaturalIdback to summary
public void setNaturalId(JaxbNaturalId value)

Sets the value of the naturalId property.

Parameters
value:JaxbNaturalId

allowed object is JaxbNaturalId