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

public Class JaxbEmbedded

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

See `@jakarta.persistence.Embedded` See `@org.hibernate.annotations.AttributeAccessor` See `@org.hibernate.annotations.OptimisticLock`

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://www.hibernate.org/xsd/orm/mapping}attribute-override" maxOccurs="unbounded" minOccurs="0"/>
        <element name="association-override" type="{http://www.hibernate.org/xsd/orm/mapping}association-override" maxOccurs="unbounded" minOccurs="0"/>
        <element name="convert" type="{http://www.hibernate.org/xsd/orm/mapping}convert" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
      <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="access" type="{http://www.hibernate.org/xsd/orm/mapping}access-type" />
      <attribute name="attribute-accessor" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
    </restriction>
  </complexContent>
</complexType>

Field Summary

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

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.PersistentAttribute.getAccess.

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

Returns:

The value of the associationOverride property.
getAssociationOverride
()

Gets the value of the associationOverride property.

public String

Returns:

possible object is String
getAttributeAccessor
()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getAttributeAccessor.

Gets the value of the attributeAccessor property.
public List<JaxbAttributeOverride>

Returns:

The value of the attributeOverride property.
getAttributeOverride
()

Gets the value of the attributeOverride property.

public List<JaxbConvert>

Returns:

The value of the convert property.
getConvert
()

Gets the value of the convert property.

public String

Returns:

possible object is String
getName
()

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

Gets the value of the name property.
public boolean

Returns:

possible object is Boolean
isOptimisticLock
()

Gets the value of the optimisticLock property.

public void
setAccess(AccessType
allowed object is String
value
)

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

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

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setAttributeAccessor.

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

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setName.

Sets the value of the name property.
public void
setOptimisticLock(Boolean
allowed object is Boolean
value
)

Sets the value of the optimisticLock 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://www.hibernate.org/xsd/orm/mapping
attributeAccessorback to summary
protected String attributeAccessor
Annotations
@XmlAttribute
name:attribute-accessor
attributeOverrideback to summary
protected List<JaxbAttributeOverride> attributeOverride
Annotations
@XmlElement
name:attribute-override
namespace:http://www.hibernate.org/xsd/orm/mapping
convertback to summary
protected List<JaxbConvert> convert
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
required:true
optimisticLockback to summary
protected Boolean optimisticLock
Annotations
@XmlAttribute
name:optimistic-lock

Constructor Detail

JaxbEmbeddedback to summary
public JaxbEmbedded()

Method Detail

getAccessback to summary
public AccessType getAccess()

Implements org.hibernate.boot.jaxb.mapping.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 Jakarta XML Binding 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

Returns:List<JaxbAssociationOverride>

The value of the associationOverride property.

getAttributeAccessorback to summary
public String getAttributeAccessor()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getAttributeAccessor.

Gets the value of the attributeAccessor property.

Returns:String

possible object is String

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 Jakarta XML Binding 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

Returns:List<JaxbAttributeOverride>

The value of the attributeOverride property.

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 Jakarta XML Binding 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

Returns:List<JaxbConvert>

The value of the convert property.

getNameback to summary
public String getName()

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

Gets the value of the name property.

Returns:String

possible object is String

isOptimisticLockback to summary
public boolean isOptimisticLock()

Gets the value of the optimisticLock property.

Returns:boolean

possible object is Boolean

setAccessback to summary
public void setAccess(AccessType value)

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

Sets the value of the access property.

Parameters
value:AccessType

allowed object is String

setAttributeAccessorback to summary
public void setAttributeAccessor(String value)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setAttributeAccessor.

Sets the value of the attributeAccessor property.

Parameters
value:String

allowed object is String

setNameback to summary
public void setName(String value)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setName.

Sets the value of the name property.

Parameters
value:String

allowed object is String

setOptimisticLockback to summary
public void setOptimisticLock(Boolean value)

Sets the value of the optimisticLock property.

Parameters
value:Boolean

allowed object is Boolean