Class JaxbEmbeddedId

  • All Implemented Interfaces:
    Serializable, PersistentAttribute

    public class JaxbEmbeddedId
    extends Object
    implements Serializable, PersistentAttribute
    See `@jakarta.persistence.EmbeddedId` See `@org.hibernate.annotations.AttributeAccessor`

    Java class for embedded-id complex type.

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

     <complexType name="embedded-id">
         <restriction base="{}anyType">
             <element name="attribute-override" type="{}attribute-override" maxOccurs="unbounded" minOccurs="0"/>
           <attribute name="name" use="required" type="{}string" />
           <attribute name="access" type="{}access-type" />
           <attribute name="attribute-accessor" type="{}string" />
    See Also:
    Serialized Form
    • Field Detail

      • access

        protected jakarta.persistence.AccessType access
      • attributeAccessor

        protected String attributeAccessor
    • Constructor Detail

      • JaxbEmbeddedId

        public JaxbEmbeddedId()
    • Method Detail

      • getAttributeOverride

        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:


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

      • getAccess

        public jakarta.persistence.AccessType getAccess()
        Gets the value of the access property.
        Specified by:
        getAccess in interface PersistentAttribute
        possible object is String
      • setAccess

        public void setAccess​(jakarta.persistence.AccessType value)
        Sets the value of the access property.
        Specified by:
        setAccess in interface PersistentAttribute
        value - allowed object is String