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

public Class JaxbAttributes

extends Object
implements Serializable, AttributesContainer
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.jaxb.mapping.spi.AttributesContainer, java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:attributes
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
propOrder:description, id, embeddedId, basic, version, manyToOne, oneToMany, oneToOne, manyToMany, elementCollection, embedded, _transient
Imports
java.io.Serializable, java.util.ArrayList, .List, javax.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlElement, .XmlType

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://xmlns.jcp.org/xml/ns/persistence/orm}id" maxOccurs="unbounded" minOccurs="0"/>
          <element name="embedded-id" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}embedded-id" minOccurs="0"/>
        </choice>
        <element name="basic" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}basic" maxOccurs="unbounded" minOccurs="0"/>
        <element name="version" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}version" 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>

Field Summary

Modifier and TypeField and Description
protected List<JaxbTransient>
protected List<JaxbBasic>
protected String
protected List<JaxbElementCollection>
protected List<JaxbEmbedded>
protected JaxbEmbeddedId
protected List<JaxbId>
protected List<JaxbManyToMany>
protected List<JaxbManyToOne>
protected List<JaxbOneToMany>
protected List<JaxbOneToOne>
protected List<JaxbVersion>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<JaxbBasic>
getBasic()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.getBasic.

Gets the value of the basic property.
public String

Returns:

possible object is String
getDescription
()

Gets the value of the description property.

public List<JaxbElementCollection>
getElementCollection()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.getElementCollection.

Gets the value of the elementCollection property.
public List<JaxbEmbedded>
getEmbedded()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.getEmbedded.

Gets the value of the embedded property.
public JaxbEmbeddedId

Returns:

possible object is JaxbEmbeddedId
getEmbeddedId
()

Gets the value of the embeddedId property.

public List<JaxbId>
getId()

Gets the value of the id property.

public List<JaxbManyToMany>
getManyToMany()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.getManyToMany.

Gets the value of the manyToMany property.
public List<JaxbManyToOne>
getManyToOne()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.getManyToOne.

Gets the value of the manyToOne property.
public List<JaxbOneToMany>
getOneToMany()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.getOneToMany.

Gets the value of the oneToMany property.
public List<JaxbOneToOne>
getOneToOne()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.getOneToOne.

Gets the value of the oneToOne property.
public List<JaxbTransient>
getTransient()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.getTransient.

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

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_transientback to summary
protected List<JaxbTransient> _transient
Annotations
@XmlElement
name:transient
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
basicback to summary
protected List<JaxbBasic> basic
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
descriptionback to summary
protected String description
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
elementCollectionback to summary
protected List<JaxbElementCollection> elementCollection
Annotations
@XmlElement
name:element-collection
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
embeddedback to summary
protected List<JaxbEmbedded> embedded
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
embeddedIdback to summary
protected JaxbEmbeddedId embeddedId
Annotations
@XmlElement
name:embedded-id
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
idback to summary
protected List<JaxbId> id
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
manyToManyback to summary
protected List<JaxbManyToMany> manyToMany
Annotations
@XmlElement
name:many-to-many
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
manyToOneback to summary
protected List<JaxbManyToOne> manyToOne
Annotations
@XmlElement
name:many-to-one
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
oneToManyback to summary
protected List<JaxbOneToMany> oneToMany
Annotations
@XmlElement
name:one-to-many
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
oneToOneback to summary
protected List<JaxbOneToOne> oneToOne
Annotations
@XmlElement
name:one-to-one
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
versionback to summary
protected List<JaxbVersion> version
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm

Constructor Detail

JaxbAttributesback to summary
public JaxbAttributes()

Method Detail

getBasicback to summary
public List<JaxbBasic> getBasic()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.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

getDescriptionback to summary
public String getDescription()

Gets the value of the description property.

Returns:String

possible object is String

getElementCollectionback to summary
public List<JaxbElementCollection> getElementCollection()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.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

getEmbeddedback to summary
public List<JaxbEmbedded> getEmbedded()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.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

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 JAXB 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

getManyToManyback to summary
public List<JaxbManyToMany> getManyToMany()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.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

getManyToOneback to summary
public List<JaxbManyToOne> getManyToOne()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.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

getOneToManyback to summary
public List<JaxbOneToMany> getOneToMany()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.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

getOneToOneback to summary
public List<JaxbOneToOne> getOneToOne()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.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

getTransientback to summary
public List<JaxbTransient> getTransient()

Implements org.hibernate.boot.jaxb.mapping.spi.AttributesContainer.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

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 JAXB 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

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