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">
       <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"/>
           </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" />
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • 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:

            getAttributeOverride().add(newItem);
         

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

        Returns:
        The value of the attributeOverride property.