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

public Class JaxbEmbedded

extends Object
implements Serializable, PersistentAttribute
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.jaxb.mapping.spi.PersistentAttribute, java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:embedded
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
propOrder:attributeOverride, associationOverride, convert
Imports
java.io.Serializable, java.util.ArrayList, .List, javax.persistence.AccessType, javax.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlType, javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter

@Target({METHOD, FIELD}) @Retention(RUNTIME) public @interface Embedded {}

Java class for embedded complex type.

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

<complexType name="embedded">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="attribute-override" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}attribute-override" maxOccurs="unbounded" minOccurs="0"/>
        <element name="association-override" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}association-override" maxOccurs="unbounded" minOccurs="0"/>
        <element name="convert" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}convert" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
      <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="access" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}access-type" />
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected AccessType
protected List<JaxbAssociationOverride>
protected List<JaxbAttributeOverride>
protected List<JaxbConvert>
protected String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AccessType

Returns:

possible object is String
getAccess
()

Implements org.hibernate.boot.jaxb.mapping.spi.PersistentAttribute.getAccess.

Gets the value of the access property.
public List<JaxbAssociationOverride>
getAssociationOverride()

Gets the value of the associationOverride property.

public List<JaxbAttributeOverride>
getAttributeOverride()

Gets the value of the attributeOverride property.

public List<JaxbConvert>
getConvert()

Gets the value of the convert property.

public String

Returns:

possible object is String
getName
()

Implements org.hibernate.boot.jaxb.mapping.spi.PersistentAttribute.getName.

Gets the value of the name property.
public void
setAccess(AccessType
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.spi.PersistentAttribute.setAccess.

Sets the value of the access property.
public void
setName(String
allowed object is String
value
)

Sets the value of the name property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

accessback to summary
protected AccessType access
Annotations
@XmlAttribute
name:access
@XmlJavaTypeAdapter:Adapter1
associationOverrideback to summary
protected List<JaxbAssociationOverride> associationOverride
Annotations
@XmlElement
name:association-override
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
attributeOverrideback to summary
protected List<JaxbAttributeOverride> attributeOverride
Annotations
@XmlElement
name:attribute-override
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
convertback to summary
protected List<JaxbConvert> convert
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
required:true

Constructor Detail

JaxbEmbeddedback to summary
public JaxbEmbedded()

Method Detail

getAccessback to summary
public AccessType getAccess()

Implements org.hibernate.boot.jaxb.mapping.spi.PersistentAttribute.getAccess.

Gets the value of the access property.

Returns:AccessType

possible object is String

getAssociationOverrideback to summary
public List<JaxbAssociationOverride> getAssociationOverride()

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

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

   getAssociationOverride().add(newItem);

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

getAttributeOverrideback to summary
public List<JaxbAttributeOverride> getAttributeOverride()

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

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

   getAttributeOverride().add(newItem);

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

getConvertback to summary
public List<JaxbConvert> getConvert()

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

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

   getConvert().add(newItem);

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

getNameback to summary
public String getName()

Implements org.hibernate.boot.jaxb.mapping.spi.PersistentAttribute.getName.

Gets the value of the name property.

Returns:String

possible object is String

setAccessback to summary
public void setAccess(AccessType value)

Implements org.hibernate.boot.jaxb.mapping.spi.PersistentAttribute.setAccess.

Sets the value of the access property.

Parameters
value:AccessType

allowed object is String

setNameback to summary
public void setName(String value)

Sets the value of the name property.

Parameters
value:String

allowed object is String